New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

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

    Thank you for posting.

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    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: 25509
    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: 25509
    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: 25509
    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: 25509
    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: 25509

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Contact Form update broke site #15050

    Please upgrade to member types pro 1.1.6 and then everything should work.

    The member types pro was using an older version of our settings framework and causing it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Top Visitors widget #15049

    1. The BuddyPress popular widget is not based on views and does not uses count as a metric. Our’s uses the visit count to profile as a metric. I don’t see it as a bug. It is a n option available and you may user or not use it.

    If you are looking for listing the visitors, you can use the shortcode.

    2. yes, it will. The more queries you save, the better.

    Regards
    Brajesh