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: 25312
    Brajesh Singh on in reply to: [Resolved] BP Ajax registration – Ajax Login #17709

    Hi David,
    Thank you.

    1. I will update the nonce to use unique ids.
    2. Thank you for catching it. It’s a mistake.

    The signup avatar won’t work with it but there is another plugin by a 3rd party developer(ajax upload avatar) which I am planning to look into and update. That should work with it.

    The update will be available by early tomorrow.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] Link Page to Groups #17707

    Hi Chris,
    You can use

    http://example.com/members/admin/groups/

    Replace example.com with your site and it will redirect to logged in user’s groups page.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: Make one page public on site #17705

    You are welcome.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312

    Hi Miles,
    Welcome to BuddyDev forums.

    We do have a plugin to allwow creating unique tabs/sub tabs per group.

    Please download it from here.

    https://buddydev.com/downloads/buddypress-dynamic-group-tab-content/versions/buddypress-dynamic-group-tab-content-1-0-0.zip

    We don’t have proper documentation for it but it is exactly same as Dynamic Profile tab
    https://buddydev.com/create-dynamic-user-profile-tabs-for-buddypress/

    For now, Please follow the Profile tab guide and let me know if you are able to use it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: [Resolved] Report Popup not completely visible #17698

    Hi Carsten,
    1.0.6 is available now.

    1. It fixes the position. Thank you for contributing.
    2. The buttons can be generated with any markup now.

    I am sharing two snippets(Please only use only of them)

    Example 1:- Change the button markup to use “li” instead of div everywhere.

    
    /**
     * Modify the button args for BuddyPress Moderation Tools.
     *
     * @param array $args args.
     *
     * @return array
     */
    function buddydev_modify_bpmts_button_args( $args ) {
    	$args['wrapper_tag'] = 'li'; /* make the button like <li ...><a href=...>Report</a></li>*/
    
    	return $args;
    }
    
    add_filter( 'bpmts_report_button_args', 'buddydev_modify_bpmts_button_args' );
    
    

    Example 2:- Change only the markup for the User profile header Report button to use li. In this case, we check for context.

    
    
    /**
     * Modify the User profile button args for BuddyPress Moderation Tools.
     *
     * @param array $args args.
     *
     * @return array
     */
    function buddydev_modify_bpmts_button_args_for_user_profile( $args ) {
    
    	// On User profile header button, use li tags.
    	if ( 'bp_user_header' === $args['context'] ) {
    		$args['wrapper_tag'] = 'li'; /* make the button like <li ...><a href=...>Report</a></li>*/
    	}
    
    	return $args;
    }
    
    add_filter( 'bpmts_report_button_args', 'buddydev_modify_bpmts_button_args_for_user_profile' );
    
    

    Please let me know if that works for you or not?

    Regards
    Brajesh

    PS:- The support for post type will be available next week’s release.

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: How to make custom follow button load with ajax #17697

    Hi Tosin,
    I am sorry, I don’t use that theme. If they have provide a way to add custom js, it will be fine. Or you can create a custom js file and add some code in functions.php to load the file.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: Make one page public on site #17691

    Hi Chris,
    Yes, you can certainly protect it. It is doable.

    I don’t think the code is the problem, others will have similar approach. I did not say that specific code is bottleneck. I said, this approach of serving media using php may become a bottleneck. But if there is a regulation that needs it, You may use their code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25312
    Brajesh Singh on in reply to: Make one page public on site #17689
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25312

    Hi Andi,

    Thank you for the kind words.

    1. I am still not sure as I have never found this issue. Try using 2 or 3 and see what happens.

    2. That’s good.

    3. I am sorry but the function ‘bp_core_new_nav_default’ is broken in BuddyPress 3.x . It is not working with 3.2 too and I have seen a ticket where it seems it will be available in 3.3. We will have to wait for it to use it again.

    Regards
    Brajesh