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: 25394
    Brajesh Singh on in reply to: [Resolved] BP Friends Suggest Widget #14266

    🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Khol,
    Thank you for the details.

    I am glad you resolved it.

    I was stumped and was wondering about the reason. Yes, I too have learned the new reason for mail not being sent by BuddyPress 🙂

    Marking it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Julia,
    Thank you.

    4. I am a bit worried about applying the per page setitngs but here we go with teh modified version.

    
    
    /**
     * Only show recent 100 users.
     *
     * @param array $args query args.
     *
     * @return array
     */
    function buddydev_limit_last_100_members( $args ) {
    	if ( bp_is_directory() ) {
    		$args['max']      = 100;
    		$args['per_page'] = 100;
    	}
    
    	return $args;
    }
    add_action( 'bp_after_has_members_parse_args', 'buddydev_limit_last_100_members' );
    

    Please remove the previous code and use this. It may affect widgets in the directory sidebar too(Earlier code did too).

    5. Please open bp-ajax-register.js and change the value ‘1000’ to some other value. The 1000 means 1 second(It is in ms). So, if you want it for 1.5 second, you can put there 1500. Please do note that the changes will be lost in next update.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Khol,
    Thank you for clarifying.

    Let us start from the beginning again:-

    1. How did you insert the code(from where did you do that.

    If you have put it in bp-custom.php, it must be in wp-content/plugins directory. Otherwise, it will not be loaded.

    is there any chance that you put the code in theme’s functions.php?

    I am sorry but my options are limited. Unless I know where have you put the change, I am unable to assist.

    Please let me know as much detail as possible.

    Thank you
    Brajesh.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Also,
    Uninstalling BuddyPress will not remove any data. They will remain safe and will be available when you reinstall it.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Khol,
    The Mail logging plugin can help you troubleshoot if the mail is a problem on the MTA level or the sender program level.

    Before you uninstall and reinstall, You need to know if it is really BddyPress or any extra code doing it or it is server.

    If the mail logging shows the mail but the user does not receive it, You will need to contact the server admins for the same.

    I have seen this issue that mail sent by WP not being recieved on users from same domain on so many hosts. It happens dues to security policies.

    So, I will suggest you to first isolate the issue and then a solution can be found.

    Also, enabling WP_DEBUG can give you more understanding too(But it will show all errors and not suggested for a live site)

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] An icon to a new tab #14249

    Hi Josef,
    Sorry for the trouble. Yes, It’s a bit laborious to add icons if you have many tabs.

    I am glad you did it already.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Dime,
    For the 1,2 can you please tell me which plugin are you using for membership?

    For the image part, can you please provide a little more details.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Khol,
    If the file is not in the wp-content/plugins directory then it won’t be loaded by BuddyPress. So, the code won’t apply in that case.

    I will suggest installing a mail logging plugin and check in the admin if the mails were sent. That will give you a better idea of what is going on.

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] BP Friends Suggest Widget #14244

    Hi George,
    Please upgrade the plugin.

    It seems you are using an older version of plugin. We did update for it in 2015.

    Please check and let me know.

    Regards
    Brajesh