Skip Navigation

[Resolved] Let users view custom content from their own profile page on the front-end

This support ticket is created 8 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 8 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#360266

Hi,

I need to add the following functionality to a site:

There will be ~4000k users added to this site.
Each user's profile will have fields to store 6 PDF files. Every month one of these PDFs will be replaced with a newer one. One per month.
The users will log in and be immediately redirected to a page that will show links to download his PDF files ordered by name.
The users shouldn't be allowed to have access to the backend so he can't edit his own profile.
When logging off the user should be redirected back to the homepage.

A user with a privileged role (other than admin) should have access to all users profiles in order to replace their PDFs every month. (Could this also be done from the front-end? Just wondering)

#360459

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We have CRED User forms using which you can edit existing CRED users related info.

Using Types create User field for PDF to upload:
=> https://toolset.com/documentation/user-guides/user-fields/

Using CRED User form you can add/edit user infos. You should go through following link:
=> https://toolset.com/documentation/user-guides/cred-user-forms/

#360468

Thank you Minesh for you reply.
But my main doubt relates to a user, after logging in, being redirected to a page containing his own profile data (links to download his PDF files). Normal users should have access only to his profile information.

Another issue: It would be good if an admin user could have access to a page listing all users and be able to edit them from there if possible.
Concerning CRED, I couldn't find a way for an admin user to use CRED forms to edit other users' data. As far as I have seen CRED user forms can only edit data belonging to the user logged in. Is that right?

#360481

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

But my main doubt relates to a user, after logging in, being redirected to a page containing his own profile data (links to download his PDF files). Normal users should have access only to his profile information.
=> You should try to use following plugin - you can search there are many more available:
https://wordpress.org/plugins/redirect-after-login/
OR
=> You may use "login_redirect" filter to redirect user on specific page.
https://codex.wordpress.org/Plugin_API/Filter_Reference/login_redirect

Another issue: It would be good if an admin user could have access to a page listing all users and be able to edit them from there if possible. Concerning CRED, I couldn't find a way for an admin user to use CRED forms to edit other users' data. As far as I have seen CRED user forms can only edit data belonging to the user logged in. Is that right?
=> I think admin user will be able to edit any user data from User -> All Users -> edit any user.
=> With CRED User Forms allow the registering of new users and the editing of existing users from front-end forms.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.