Some display bugs with shortcodes – UserPro Forums https://forum.userproplugin.com/forums/topic/some-display-bugs-with-shortcodes/feed/ Sun, 19 May 2024 22:35:24 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/some-display-bugs-with-shortcodes/#post-25193 <![CDATA[Some display bugs with shortcodes]]> https://forum.userproplugin.com/forums/topic/some-display-bugs-with-shortcodes/#post-25193 Sat, 08 Mar 2014 17:23:11 +0000 Nexnivis Hi there,

I’m using Ubermenu for my main navigation menu as you can see here : http://blizzheart.com

At the right of the menu you can see “Connexion”, but if you are logged in you will see your display name.

I obtains this using the following shortcodes :

[userpro_loggedout]<a href="/profil/login/"><font color="#00ADEF">Connexion</font></a>[/userpro_loggedout][userpro_loggedin]<a href="/profile/"><font color="#00ADEF">[display_name]</font></a>[/userpro_loggedin]

Works like a charm, but sometimes, the display name disappears as you can see on this screenshot :

This occurs when for example I come from the memberlist page to a profile page, or from a profile page to another profile page, or from a followings page to a followers page, etc… But if I come from a blog page to a UserPro page and vice versa, there is no problem ! And this problem is the same with [username] or [first_name] etc…

I don’t know if it’s a Ubermenu issue !

Nobody has already seen this issue ?

]]>
https://forum.userproplugin.com/forums/topic/some-display-bugs-with-shortcodes/#post-25195 <![CDATA[Reply To: Some display bugs with shortcodes]]> https://forum.userproplugin.com/forums/topic/some-display-bugs-with-shortcodes/#post-25195 Sat, 08 Mar 2014 17:30:06 +0000 Nexnivis It seems that the shortcode [userpro_loggedin] don’t work properly. I’m using it for my submenu too (the two first links) and there is what occuring :

I don’t have this issue with [userpro_loggedout]

]]>