5 years, 9 months ago straplessmediaParticipant
Is there a way to make the public user page different from the private user page?
I’m trying to make a “My Profile” page where users can see their latest comments, the last visited pages, etc. This will be different from the Profile page that other visitors can see.
What can I do to achieve this?5 years, 9 months ago yiannakisParticipant
I second that !5 years, 9 months ago lessoundParticipant
I want that too please!!!5 years, 9 months ago tberinParticipant
You can do this using a custom profile. This is currently undocumented.
If you want to have a custom page for comments and other data for the logged in user you can build a custom page by:
For example: Welcome to your profile [userpro_loggedin][first_name][/userpro_loggedin].
This way you could insert any information your require.
The same way you could build the public profile. You have two options:
1. Standard template
The second option will enable you to create the following:
Go to profile/username
on the page:
Welcome to the profile of: [profile_by_user][your_field][/profile_by_user]
This is an advanced feature and takes time to implement.5 years, 9 months ago straplessmediaParticipant
That looks very promising, but do you have a full list of available shortcodes somewhere? For example, the shortcode [username] doesn’t work, how can I display the current user’s username?
Also, your example “Welcome to your profile [userpro_loggedin][first_name][/userpro_loggedin]” doesn’t seem to be working. Am I doing something wrong?5 years, 9 months ago tberinParticipant
This is the code im using on my site and it works, make sure it doesnt have any styling.
You want do do something like this but use your own fields:
To put on profile page and change according to user URL.
Anywhere on your site for the currently logged in user.
[userpro_loggedin]Profession: [main_profession] [/userpro_loggedin]
The topic ‘[ Resolved ] Public user page different from private user page?’ is closed to new replies.