BuddyDev

Search

I need a menu item for Recent Profile Visitors

  • Participant
    Level: Initiated
    Posts: 11
    Fmd530 on #35733

    Hi.

    I’m using the recent profile visitors plug-in ( https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/ ). Thanks, it’s working great.

    1) I am not sure how to word it but what I need is to make this tab accessible through a menu item. For example, when I create a menu item for the user messages, I need to place

    bp-menu bp-bp-messages

    in the CSS menu box so that it links correctly to each user messages.

    I need that information for the Recent Visitors plug-in so I can place it in a user menu.

    2) I also need the same information for the “Change Avatar” menu item. I am not sure how to make Change Avatar a menu item. So far every CSS I have tried has not worked. Could you help me find that too?

    I am not sure if I was clear enough, let me know.
    Thank you very much.

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #35734

    Hi,
    BuddyPress provide you a custom link to reach logged in user’s profile.

    In the WordPress menu, if you add a link like this

    
    http://yoursite.com/members/me/
    

    It will be converted to the logged user’s profile. For example, if a user with ‘admin’ username is logged, it will point to

    
    http://yoursite.com/members/admin/
    
    

    You will need to replace http://yoursite.com/members with the members directory url.

    You can use the above link for the other urls too. Just replace the url up to member’s profile the above dynamic slug.

    For Recent Visitor, Please open the recent visitors tab and look for the url in the location bar. Now, replace the part until member’s username with the above and use it in the custom link option.
    You can repeat the same for any link.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Fmd530 on #35751
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #35765
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 11
    Fmd530 on #35772
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #35773
    This reply has been marked as private.

You must be logged in to reply to this topic.

This topic is: not resolved