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: 25485
    Brajesh Singh on in reply to: [Resolved] Group name of field #26200

    Please share complete code. registration page has some restrictions and without seeing your complete code, I am unable to assist.

    PS:- Please use pastebin to share the code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Frank,
    Thank you for the question.

    We do not use WPUF and since the issue starts when you try to accommodate for wpuf, Please ask their support for suggestions.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Gregg,
    It seems your upgrade has failed. Please delete and reinstall the plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Holly,
    Thank you for using MediaPress.

    you may put the code in your theme’s functions.php

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: Buddypress and ULike notifications: not working? #26186

    Hi Siyah,
    I am sorry. At the moment, we are unable to help with this 3rd party plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] Group name of field #26185

    Hi,
    Welcome to BuddyDev.

    Please take a look at this file
    https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php

    It should give you the idea how to show the group name.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] BuddyPress Group Type Generator #26178

    Hi Hans,
    The code is from our legacy based template. It works as nav tabs. I do not use nouveau currently, Will need a few days before I can check it on nouveau.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Thank you for sharing your thoughts Mike.

  • Keymaster
    (BuddyDev Team)
    Posts: 25485

    Hi Mike,
    The reason it is not recommended is it allows you to separate non group forums with normal forums. I do not see any other reason.

    1. Please try using this code and let me know if it works or not?

    
    
    /**
     * Grant permission to all for group create topic/replies.
     *
     * @param bool $can can?
     *
     * @return bool
     */
    function buddydev_allow_all_members_forum_permission( $can = false ) {
    
    	if ( is_user_logged_in() && bp_is_group() ) {
    		$can = true;
    	}
    
    	return $can;
    }
    
    add_filter( 'bbp_current_user_can_access_create_topic_form', 'buddydev_allow_all_members_forum_permission', 11 );
    add_filter( 'bbp_current_user_can_access_create_reply_form', 'buddydev_allow_all_members_forum_permission', 11 );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25485
    Brajesh Singh on in reply to: [Resolved] WordPress User Login Notifier #26175

    Hi Mike,
    Thank you for using the plugin.
    1. Please add following code to your bp-custom.php

    
    
    /**
     * Append User email to the admin notifications messages by the WordPress user login Notifier.
     *
     * @param string  $message message.
     * @param WP_User $user user object.
     *
     * @return string
     */
    function wpul_custom_append_user_email_to_message( $message, $user ) {
    	return $message . '\n Email:' . $user->user_email . '\n';
    }
    
    add_filter( 'wpuln_failed_login_admin_email_message', 'wpul_custom_append_user_email_to_message', 10, 2 );
    add_filter( 'wpuln_successful_login_admin_email_message', 'wpul_custom_append_user_email_to_message', 10, 2 );
    
    

    That will add email to the message.

    2. Thank you for the suggestion. At the moment, we do not store the log at all. It may be a helpful feature in future.

    Regards
    Brajesh