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

    Hi Kyle,
    Welcome to BuddyDev.
    Yes, We use forums to provide support.

    Now, about the issue:-
    1. Installation:- Please install it as any normal WordPress plugin.
    https://buddydev.com/docs/guides/guides/wordpress-guides/installing-plugins/

    2. The plugin will work out of the box for default WordPress/BuddyPress registration links. If you want to trigger the form with a custom link, Please see
    https://buddydev.com/plugins/bp-ajax-registration/documentation/

    For making it work with the WordPress custom nav link:-
    https://buddydev.com/docs/guides/plugins/buddypress-plugins/buddypress-ajax-registration/using-wordpress-menu-link-buddypress-ajax-registration/

    3. Customizing form:-
    If you are looking for fields:- It uses the BuddyPress profile fields. BuddyPress allows showing fields from the Base group on registration form.

    You can copy ‘ajax-register-form.php’ from the plugin to your theme and modify it. It will be loaded from your theme.

    Hope that helps.

    If you are looking for something specific, Please point me to your site and I will be able to assist.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: [Resolved] Redirect user if not member type #10089

    You are welcome!

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Hi Thorsten,
    Thank you for posting about it. I have been debating about whether to have it or not for a long time?

    The problem I see:-
    If we allow selecting privacy on the activity post, we will not only need to manage it for the gallery(or media) but also for the involved privacy.
    BuddyPress supports very limited privacy either All or just me(only the poster). Implementing a custom privacy like friends only/followers only etc is not very efficient(specially on a medium,large size sites).

    BuddyPress does not have a roadmap for activity privacy, that makes this issue even more troublesome. What if we implement the privacy for activity and then BuddyPress team decides to add their own? What will happen to the existing updates in that case.

    If we don’t take the activity privacy in account and just allow for media privacy, It will be a half baked solution.

    I will not want to have a functionality in core for which we can not guarantee the interoperability in future.

    I do understand that it is a need of the time for now so I am proposing to have it as a free addon that bridges it between BuddyPress Activity and MediaPress. Will that be ok with you?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Hi Kristin,
    Welcome to BuddyDev.

    Please use this snippet instead

    
    
    /**
     * Add @gallery-creator-username after the title
     */
    function mpp_custom_show_author_user_name_with_gallery() {
    	$gallery = mpp_get_gallery();
    
    	if ( ! $gallery ) {
    		return ;
    	}
    
    	echo '@' . bp_core_get_username( $gallery->user_id );
    }
    add_action( 'mpp_before_gallery_actions', 'mpp_custom_show_author_user_name_with_gallery' );
    

    You may modify it to suit your need.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: [Resolved] Redirect user if not member type #10082

    Hi Ahmed,
    Please try this then.

    
    
    function yoostart_restriction() {
    
    	if ( ! is_page('devenir-vendeur') ) {
    		return ;
    	}
    
    	// we are sure we are on that page.
    	// Is user logged in?
    	if ( ! is_user_logged_in() ) {
    		bp_core_redirect( home_url( '/test') );
    	}
    
    	$member_type = bp_get_member_type( bp_loggedin_user_id() );
    
    	if ( empty( $member_type )  || 'particulier' === $member_type ) {
    		bp_core_redirect( home_url( '/test') );
    	}
    }
    add_action( 'bp_template_redirect', 'yoostart_restriction' );
    

    Let me know if it works as expected or not?

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: [Resolved] Redirect user if not member type #10080

    Is ‘particulier’ the only member type you want to redirect for? If yes, We can merge the last two conditions. Please let me know and I will post an update. Also, a better optimisation will be to check if ! is_page(‘page-name’) and return.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Thank you.

    That helped a lot.

    I will push another update today then and will message back.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Hi Thorsten,
    Thank you
    1,2. Yes, I am aware.
    1. is theme specific and that’s why I had mentioned that I will update the css on site after your upgrade.
    2. Reordering:- Good idea, the button must be reordered. The sperator is again css but I can add that in plugin css.

    3. Confirmation message, is that when the testimonial is approved and the other user gets it? Sorry, I am not able to read the text.

    Please let me know about the 3rd point and I will push an update again today.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471

    Hi Thorstein,
    Hope you are doing well.

    Please upgrade to 1.1.2. It removes the new testimonial tab. Please let me know after the update as I will need to add some css on the site.

    https://buddydev.com/plugins/bp-user-testimonials/

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25471
    Brajesh Singh on in reply to: Ajax Registration – manual approval? #10071

    Hi Diana,
    Thank you. I am doing well and hope the same for you.

    It’s good to know that the the Eonet Manual User Approve is working with it. we have our own Admin power tools coming in next two weeks that will have these functionality too.

    Thank you for the details on the caldera forms. I am not much familiar with it. I will certainly look at it in next 2-3 days and will let you know if I will be able to provide an addon for it(Need to check the market for it).

    Thank you
    Brajesh