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

    Hi Daniel,
    1. Putting the file is child theme is fine.
    2. You are right about all except, you will be removing the code not adding anything to it.

    3. Please avoid the suggestion from @ravisharma. Even though It will work, It will be an issue in future. You can do without it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BuddyPress Members List #14988

    Hi Jim,
    Please try what Ravi suggested.

    there are 3 more possibilities

    1. the culprit code may be in wp-content/plugin/bp-custom.php
    2. Something in the current theme/child theme is affecting it

    3. The users did not login to the site and their last active time is not set. BuddyPress will not list these users(It is very less likely from your above posts).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BuddyPress Members List #14968

    Hi Jim,
    Welcome to BuddyDev.

    It seems that some plugin or code in causing the issue.

    The possible ways to find the problematic code is

    1. search for ‘bp_after_has_members_parse_args’. is some code using it. Try working around it.

    2. Look for ‘bp_pre_user_query’ and ‘bp_pre_user_query_construct’ and see if any code is using it(except BuddyPress core)

    3. search for ‘pre_user_query’ and see if anything is attached to it.

    4. Look for ‘bp_ajax_querystring’ and see if it is doing something with users.

    If any of the above is found, Please try disabling/working around it.

    There are the most probable cause of members being hidden.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Julia,
    Please add the following code to your bp-custom.php

    
    
    /**
     * Delete Read notifications.
     */
    function buddydev_clear_read_notifications() {
        if( ! bp_is_my_profile() ) {
            return ;
        }
    
        BP_Notifications_Notification::delete( array(
    		'user_id'          => get_current_user_id(),
    		'is_new'           => 0,
    	) );
    
    }
    add_action( 'bp_notifications_screen_unread', 'buddydev_clear_read_notifications' );
    
    

    That will do it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Henrique,
    I am sorry for the delayed reply.

    BuddyPress follow 1.2.2 does not support scopes query using bp_has_activities()

    If your timeline allows it, I will be happy to look at the bugs and send a pull request to the plugin repo by the weekend.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Daniel,
    Please copy the wp-content/plugins/buddyblog/template/buddyblog/posts.php to yourtheme(or child theme)/buddyblog/posts.php

    and you will note that line at the bottom. Please feel free to edit it.

    That will work with future updates of BuddyBlog too.

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] Media in comments #14964

    Thank you Ben.
    Good to know that the PC is back in action 🙂

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] rtMedia to Mediapress #14963

    Hi Nik,
    Congratulations 🙂

    Yes, your code is nice but I would have probably used chunking and some feedback. Still, I had no idea that RT Media started using post type for gallery. It’s good to know and will help us when we provide a migrator.

    Thank you for sharing .

    PS:- Anyone planning to use the code, please do note that all the galleries here are marked ‘public’. Also, you will need to change the script time by using
    set_time_limit(0); before the code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BuddyPress Activity Comment Notifier #14962

    Hi Nik,
    Thank you. I sincerely appreciate your kind words.

    yes, you are right about the notifications and I am hoping to add it now.

    Please use the code @ravisharma provided in another thread for the delete options.
    https://buddydev.com/support/forums/topic/prevent-user-from-deleting-their-activity/

    That will work for MediaPress too. It uses BuddyPress activity commenting.

    Yes, every thing is templatable. I just need to get a little bit of clarification.

    1. Are you using the Site wide gallery along with User/Groups gallery and want to have it customized.

    or it is the gallery directory or any shortcode etc? From your reply, It seems you want to modify the gallery directory layout?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: BuddyPress User Profile Tabs Creator Pro #14961

    Hi Demian,
    Thank you for purchasing the plugin.
    Yes, you can use it topreposition the tabs.

    Please see the documentation here.

    https://buddydev.com/docs/guides/plugins/buddypress-plugins/buddypress-user-profile-tabs-creator-pro/modifying-label-repositioning-existing-profile-tab/

    Here are the default values for current postions
    https://buddydev.com/docs/guides/plugins/buddypress-plugins/buddypress-user-profile-tabs-creator-pro/buddypress-tabs-positions/

    You can enter a lower value to put the tab before any other tab having larger value for order.

    Please give it a try and let me know if it works for you or not?

    Thank you
    Brajesh