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: 25299

    Hi Daniel,
    Are you using a custom plugin that allows you to index/no index profile.

    BuddyPress doe not have this functionality.

    Still, It is easy to do that.
    All you need to do is add a meta tag like this

    
    <meta name="robots" content="noindex, nofollow">
    

    I don’t see any existing plugin giving an option to the user though.

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: Member Type not saving on Register Page #15093

    Hi Marie ,

    Are you using any other plugin/code that works/modifies the registration process or the member types?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299

    Hi Daniel,
    1.

    
    <?php elseif ( bp_is_my_profile() && buddyblog_user_can_post( get_current_user_id() ) ): ?>
        <p> <?php _e( "You haven't posted anything yet.", 'buddyblog' );?> </p>
    
    <?php endif; ?>
    

    2. Yes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299

    Thank you for posting.

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Ajax Registration #15089

    Hi Daniel,
    I am sorry I have been way from forums for last few days.

    It is possible that the ajax registration may prevent normal registration emails from being sent in the auto activation mode.

    I am not sure why the users are registering from normal register page(they have direct link?), but there is a solution to it

    
    
    /**
     * Only enable hook filtering if doing ajax.
     * 
     * @param $do
     *
     * @return bool
     */
    function buddydev_only_hook_on_ajax_register( $do ) {
    	return defined( 'DOING_AJAX' );
    }
    add_filter( 'bpajaxr_is_auto_activation_mode', 'buddydev_only_hook_on_ajax_register' );
    
    

    If we add this line to our bp-custom.php, the ajax registration will only be enabled when handling ajax request and won’t cause any issue with the normal flow.

    Please put this in the bp-custom.php and then check.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: Buddyblog Pemalink #15058

    Hi Clyn,
    Please translate it. You can use poedit to translate the label.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Redirect to /all-activity #15057

    Please post the code on https://pastebin.com and link me. I might be able to help you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: URGENT ! Can't logout, my client complain #15056

    Can you please disable the branded login and check if your login/logout is working normal for the user? I am assuming that the problem is neither branded login nor the above code, It is something else.

    Please check and let me know.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25299
    Brajesh Singh on in reply to: [Resolved] Redirect to /all-activity #15053

    Hi Julia,
    I am not sure what you are doing with code but changing this

    
    
    bp_loggedin_user_domain() . 'all-activity/
    
    

    to

    
    "domain.com/activity"
    
    

    will work.

  • Keymaster
    (BuddyDev Team)
    Posts: 25299

    Sorry, That would need js and I will not recommend it doing here. I don’t think checking by default does any good too and the time spent on providing code is not justified.

    Regards
    Brajesh