Hi, I have created a login page but when a user is already successfully logged in, I would like the page to forward directly onto the member landing page (at the moment, it’s blank with no content, to logged in users). How can I achieve this?
Also, we’ve set up file downloads with member only restrictions as per the user guide, but how can create a page of all ‘pooled’ member only downloads, on one page?
Separately, I would like to create a directory of and for logged in members, could you help with this please? It could either pull data from all users (ideally - and would require help with my point below) or can be something manually entered.
Lastly, I would like to add custom fields to the sign up form (perhaps to assist with directory so that we don’t need to enter data twice) and I’m not sure how to do this!
PS Loving toolset so far, and I’d be grateful for your help.
Thanks in advance,
Anthony
Dear Anthony,
There are lots of questions in this thread, I am trying to answer them one by one:
Q1) I have created a login page but when a user is already successfully logged in, I would like the page to forward directly onto the member landing page
There isn't such a built-in feature within Toolset, you might consider custom codes, for example:
https://wordpress.stackexchange.com/questions/131879/how-to-redirect-non-logged-in-users-to-a-specific-page
If you don't want to setup custom codes, as a workaround, you can show a link to land page, for example, use Access shortcode, for example:
[toolset_access role="Guest" operator="deny"]Your land page link here[/toolset_access]
More help:
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/
Q2) Also, we’ve set up file downloads with member only restrictions as per the user guide, but how can create a page of all ‘pooled’ member only downloads, on one page?
You can setup a custom user role "pooled", and use Access plugin to setup limitation to the "downloads" posts type for user role "pooled":
https://toolset.com/documentation/user-guides/setting-access-control/
You can also create a page, setup only users who has user role "pooled" to access this page:
https://toolset.com/documentation/user-guides/limiting-read-access-specific-content/
Q3) Separately, I would like to create a directory of and for logged in members, could you help with this please? It could either pull data from all users (ideally - and would require help with my point below) or can be something manually entered.
I assume you are going to list online logged-in users.
If it is, there isn't such kind of built-in feature within Toolset, you might consider other plugins, for example:
https://wordpress.org/plugins/tags/online-users/
Q4) I would like to add custom fields to the sign up form (perhaps to assist with directory so that we don’t need to enter data twice) and I’m not sure how to do this!
What kind of custom fields do you need?
If they are custom user fields, you can create custom those custom user fields with Types plugin, and put them into the registration form:
https://toolset.com/documentation/user-guides/user-fields/
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-registering-users/
For your reference.
Thank you for this! It's been really helpful.
Q1 - Fixed, thanks!
Q2 - I've done this part, but I would like all such restricted downloads belonging to a user role to appear on one single page for easy access. Please advise the best way of how to achieve this.
Q3 - Shelved for the time being.
Q4 - Fixed - thanks! Would you recommend using the default First Name/Last Name from WordPress or creating these in Toolset? Also, how can I add a frontend red star for required fields?
One last question please regarding blog posts - how can I set up restricted members only blog posts?
Thanks in advance.
Anthony
Q2) How do you setup this:
restricted downloads belonging to a user role?
You can setup a custom radio field "belonging to role", use role name as field options, for example:
- pooled
- other roles
...
https://toolset.com/documentation/user-guides/using-custom-fields/
Edit each download post, setup field "belonging to role" value
Then create a post view, filter by:
field "belonging to role" value = pooled
https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/
Then you will get all download posts belongs to pooled.
For other new questions, please check the new thread here
https://toolset.com/forums/topic/some-other-questions/
we prefer one question one thread, that will help other users to find the answers:
Thank you for this. I think I’m close to solving the problem.
The instructions for limiting content made use of a 3rd party plugin called ‘Downloads’ (to limit access)
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/restricting-access-downloadable-files/
Do I need this as it’s not mentioned in your instructions?
Thanks
According to the document you mentioned above, I have tested that plugin in my localhost, download from:
https://wordpress.org/plugins/download-manager/
This plugin is using a hidden custom field "__wpdm_access" to store the access details, so you can try these:
1) Dashboard-> Toolset-> Settings-> Front-end Content, in section "Hidden custom fields", click button "Select custom fields", enable option "__wpdm_access"
1) Create a post view:
- Query "Downloads" posts
- filter by:
Select items with field:
__wpdm_access is a string like contributor
See screenshot wpdm_access.JPG
And put above post view into a page, and test again
My issue is resolved now. Thank you!