Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: Can't choose the slug name of User Tab. #31695

    Hi Peter,
    Thank you for the details.

    The plugin removes the tab and its functionality. so, you can not simply remove it from one menu and keep it in another. Even if the other link is not removed, they will not work(give 404).

    In situations, where you simply want to hide link and not remove the screen, the best option is to use css for hiding the tab.

    Certificates / Documents tab = I want to show Documents with the label “Certificates” on the frontend:-

    Do you have a shortcode for listing documents? If yes, please use the shortcode inside tab content.

    The tab let you control availability and visibility. If Tutor is a role, you can make the tab availability to them only.

    PS:- tried checking site but seems to be protected. If you can provide me a guest acocunt, I can help with the css.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: buddyboss, repeater fields, user profile, Xp #31690

    Thank you. I look forward to the feedback.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: Can't choose the slug name of User Tab. #31689

    Hi Peter,
    I am sorry for the inconvenience.

    Please enable it from screen options as shown below
    https://buddydev.com/docs/buddypress-user-profile-tabs-creator-pro/enable-slug-option-profile-tabs-editing/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Hi Mikel,
    Thank you for sharing.

    I am glad it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: How can I echo this code in header #31681

    Hi,
    Thank you.

    There is no standard hook to inject into your site header(using wp_head will put it in meta).

    I can help you put this in the footer though.

    
    
    add_action( 'wp_footer', function () {
    
    	if ( is_user_logged_in() ) {
    		echo "Reg Number: " . get_user_meta( get_current_user_id(), 'random_number', true );
    	}
    } );
    
    

    You can either use this or if your theme provides some action for injecting in header, you may use that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Thank you for confirming.

    I am glad it is resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: hiding upload options in Activity Plus Reloaded #31677

    Hi Rick,
    Thank you for the suggestion. I will add it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358
    Brajesh Singh on in reply to: [Resolved] Custom Recent visitor code #31676

    Hi Carsten,

    Thank you for the question. You need to put it where you want to use it.

    In my opinion, you should try to use our shortcode instead of this code. They do the same thing.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Hi,
    In that case, you should look at the code to implement on your own. We will not spend time replicating our own effort.

    Also, as far as our plugins are concerned, they do not slow down the sites. This has been our priority. Please feel free to load test.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25358

    Hi Mikel,
    I am sorry but I do not understand the last question.

    1. Can you pleasde tell me what is happening(current behaviour)
    2. What is expected behaviour and how is it different from current behaviour. I can assist then.

    Regards
    Brajesh