Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1035766
    Dadparvar
    Participant

    Hi,

    How it is possible to have a “Login/Register” link on Ubermenu, in a ways that if the user was logged in, then it shows the User’s avatar + Hello + its first name?

    I added a link that is just displaying to logged out users. (so, the first part is done)

    And I created another menu item that has an image + text that is just being displayed to logged in users. But how can I set that image to be the user’s avatar and the text to be Hello + user’s first name?

    Thanks

    #1035788
    Dadparvar
    Participant
    This reply has been marked as private.
    #1036371
    Rad
    Moderator
    This reply has been marked as private.
    #1036470
    Dadparvar
    Participant

    Thanks
    But its not what I need. I have ability to put conditionals to show menu items in special situations.
    What I asked for is to show the name of legged in user + his/her avatar as text and image of menu item.

    #1036925
    Rad
    Moderator
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1035766 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>