I wanted to create a mechanism to post information on the site from the front end and charge according to the posting period.
Example) If the posting period is one week, 10,000 yen will be charged.
To satisfy the above, I used toolset post form and toolset access.
Please tell me what to do to find my own post information from many posts and edit my own information.
I think I should use the toolset user form, but I don't think it can be used at the same time as the toolset post form.
Thank you.
Hello,
Q1) find my own post information from many posts
You can setup a post view:
- Query posts
- Filter by:
post's author is same as logged-in user:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
Q2) edit my own information
You can setup an editing user form to edit current logged-in user information, see our document:
https://toolset.com/course-lesson/using-forms-to-create-an-edit-your-profile-page/
Dear Luo Yang,
Thank you for your answer.
I think I couldn't get my question to you well.
I would like to give you more details, so please refer to the attached figure.
The information posted from the front end is job information.
Job information is posted by the recruiting company.
Job information will be charged according to the posting period.
Many companies will post job listings.
Many companies can edit or delete posted information.
I think it will be necessary to set it with the toolset post form to enable the above.
My understanding is as follows.
In the attached figure
Above figure (TOOLSET postform, access, woocommerce)
The posted information will be charged according to the period.
The figure below (TOOLSET Userform)
Membership registration and posted information are linked.
However, the documentation should say that TOOLSET Postform and Userform cannot be used at the same time.
What I want to achieve is
1. Charge for each posting period,
2. The posted information can be reliably and instantly found by the posting company.
3. The information found is edited or deleted
that's all.
Thank you,
Regards,
Yoshihiko
First, Toolset Forms can handle only one post/user at the same time, you can not edit an user and a post with one form.
In your case, it needs a custom post type "Job".
1) Charge for each posting period,
You can follow our document to setup a post form for creating new "job" post, and charge user when they submit this form:
https://toolset.com/course-lesson/charge-users-for-submitting-content/
2) The posted information can be reliably and instantly found by the posting company.
You can create a new page, for example "My jobs", in this page, display a post view as I mentioned above:
You can setup a post view:
- Query posts
- Filter by:
post's author is same as logged-in user:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/
3) The information found is edited or deleted
- In above view's loop, you can display the delete "Job" post link and edit "Job" post form link:
https://toolset.com/course-lesson/front-end-forms-for-editing-content/
https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred-delete-post
Dear Luo Yang,
Thank you for your very polite answer.
There is something I don't understand about Form.
Let me ask you one question.
Suppose you have created a custom post type "job".
My understanding is as follows.
[POST FORMS]
Create 1week job / Edit 1week job
Create 2week job / Edit 2week job
[USER FORMS]
Create 1week job for Account / Edit 1week job for Account
Create 2week job for Account / Edit 2week job for Account
Is my basic idea correct?
Regards,
Yoshihiko
It should like this:
In the "My jobs", display two sections:
section A, My jobs:
- 1week job (Edit link, delete link)
- 2week job (Edit link, delete link)
section B, Add job:
Here display the post form for creating new jobs.
More help:
https://toolset.com/course-lesson/creating-a-my-account-page/
I will continue the production as it is.
If my understanding does not continue, I would like you to see the actual production.
Thank you for your continued support.