-
Is there any way to not display this message to my non-registered visitors:
You cannot view this content because It is available to members only. Please login or register to view this area.For example, I want to put the bookmark list on my users’ profiles, but whenever someone visits their page, this or something like it would show up. It just takes away from the aesthetic sense of the overall design. Can I just not show anything or hide the certain module if the visitor is not registered?
Which shortcode are you trying? So I can assist you with turning off the message or changing it.
[userpro_bookmark] and [userpro_bookmarklist]. I would like to hide the “you must login/register to see this” display when the visitor is not signed in.
Remove this
PHP1$output .= '<p>'.sprintf(__('You need to <a href="%s" rel="nofollow">login</a> or <a href="%s" rel="nofollow">register</a> to view and manage your bookmarks.','userpro-fav'), $userpro->permalink(0, 'login').'?redirect_to='.$this->get_permalink(), $userpro->permalink(0, 'register')).'</p>';From functions/api.php in your Bookmarks addon folder 🙂
Good day! How to make a map of the structure shortcode [userpro_loggedin] ……. [/ userpro_loggedin] and [userpro_loggedout] ……. [/ userpro_loggedout] in php code?
Hi Kristian!
Please post support threads only after you have verified your purchase. Sorry, we need to ensure a specific level of support quality to make the support process smooth.
hi! I don’t have that bookmarks folders so i haven’t been able to remove the code. can you help me please?
You must be logged in to reply to this topic.