Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,313 total)

  • Venutius
    Moderator

    @venutius

    Hi there,

    One the Appearance>Menus page, go to Screen Options at the top of the page and select BuddyPress, this will then show you the BP menu options.


    Venutius
    Moderator

    @venutius

    Hi Reiner, I’ve got two options for you. Firstly I’ve built this into a plugin of mine – BP Messaging Control – https://wordpress.org/plugins/bp-messaging-control/

    So that’s the easy option.

    The alternative is to add this code to your functions.php file in your child theme folder:

    function venutius_user_deletion_notify( $user_id ) {
    	
    	$site_admin_email = get_option( 'admin_email' );
    	$userdata = get_userdata( $user_id );
    	$subject = __( 'User deleted', 'bp-messaging-control' ) . ': "' . $userdata->user_login . '"';
    	$message = __( 'A user has been deleted.', 'bp-messaging-control' );
    	$message .= "\r\n\r\n";
    	$message .= __( 'User Name', 'bp-messaging-control' ) . ': ' . $userdata->user_login . "\r\n";
    	$message .= __( 'User ID', 'bp-messaging-control' ) . ': ' . $user_id . "\r\n";
    	$result = wp_mail( $site_admin_email, $subject, $message );
    	
    }
    add_action( 'bp_core_pre_delete_account', 'venutius_user_deletion_notify', 10 );

    Venutius
    Moderator

    @venutius

    Hi Reiner,

    There’s a hook you could use to fire n email:

    do_action( 'bp_core_deleted_account', $user_id );


    Venutius
    Moderator

    @venutius

    I think this probably a PHP error, wp_title is not returning the title and is probably throwing an error that can be picked up. Try installing Query Monitor and see if it shows any error, also, enabling WP_DEBUG either via a plugin or by editing wp-config.php direct could spot errors missed by Query Monitor.


    Venutius
    Moderator

    @venutius

    What do you want to use it for?


    Venutius
    Moderator

    @venutius

    BuddyPress messages are loading using Javascript. You can check for any errors by looking in your Javascript console. You can check this by going to the inbox page then right clicking anywhere on the page and selecting “Inspect Element” then selecting console from the new tabs that appear.


    Venutius
    Moderator

    @venutius

    Hi Akstar,

    Existing users will become BuddyPress users, however their BP profile information will be blank, ideally you’d add some code to force them to complete any extra items you have added such as https://github.com/buddydev/bp-profile-completion.

    That’s pretty much the only difference.

    Another feature you may want to think about is if you want the BuddyPress pages to be public or only available to logged in users. For that you would need a plugin, such as https://wordpress.org/plugins/lh-private-buddypress/

    Other than that it would be case of enabling the BP features you want for your site.


    Venutius
    Moderator

    @venutius

    If it’s loading continuously then that point to a javescript error, check the js console for errors – right click on the page and choose “Inspect Element” then select “Console”, see what errors you have.


    Venutius
    Moderator

    @venutius

    I had something like this once, when landing on certain pages the user became logged out, navigating to other pages the logged in status came back. In my case I fixed the problem by deleting and recreating the menu items for the problem pages. Hope that helps.


    Venutius
    Moderator

    @venutius

    There’s quite a few BP dev’s that call in here, I’m one, only it’s not good form to advertise services here.


    Venutius
    Moderator

    @venutius

    No it’s not, maybe they were getting confused with the BuddyBoss offering?


    Venutius
    Moderator

    @venutius

    For the menu options one slight gotcha is that the BuddyPress menu options are not displayed by default; go to the menu page, select screen options (from the top right) and check BuddyPress Members, then ligin is shown in the logged out options


    Venutius
    Moderator

    @venutius


    Venutius
    Moderator

    @venutius

    Hi there, Those are not features that come with the base plugin, but you can enable them with plugins, BP Registration Options holds users pending and sends an email to the main admin, you could use this with either a group email address or a wp_mail filter to forward it to the other admins.

    There’s a range of different private membership plugins, Simple Private springs to mind, which allow you to take differing levels of privacy to your site.


    Venutius
    Moderator

    @venutius

    Buddypress just uses wp_mail, so one way would be to use on of it’s filters to exclude emails to specific users with say specific wording in the subject line. Shouldn’t be too hard to do.


    Venutius
    Moderator

    @venutius

    The BuddyPress Follow plugin already comes with personal activity page for followers and following. so you’d just need to remove the other menu options and make the followed page the default for the user profile.


    Venutius
    Moderator

    @venutius

    What you could do as a temp measure is you couldstop the redirect happening by removing this elseif clause in buddypress/bp-code/bp-core-catchuri.php line 900:

    } elseif ( bp_is_register_page() && 'register' == $front_page_component && is_user_logged_in() ) {
    
    			/**
    			 * Filters the logged in register page redirect URL.
    			 *
    			 * @since 1.5.1
    			 *
    			 * @param string $value URL to redirect logged in members to.
    			 */
    			$bp->canonical_stack['canonical_url'] = apply_filters( 'bp_loggedin_register_page_redirect_to', bp_get_members_directory_permalink() );
    		}
    

    Obviously this will be over-written when the plugin gets updated next.


    Venutius
    Moderator

    @venutius

    My favourite for this is https://seo-gold.com/display-widgets-plus-plugin/ his version seems a bit dated, I keep my version indipendently updated. This adds a hefty dialogue box in your widget settings where you can control just about any page scenario to control visibility. You’ll find the BuddyPress pages under Content Types.


    Venutius
    Moderator

    @venutius

    No idea I’m afraid


    Venutius
    Moderator

    @venutius

    I loaded up PHP 8 on my test site a couple of weeks ago and it was obvious WP is not ready for it, let alone WP plugins


    Venutius
    Moderator

    @venutius

    Hi J,

    How about this:

    BuddyPress Auto Join Groups


    Venutius
    Moderator

    @venutius

    Hi Shane,

    Think I’ve just solved my own problem, was over thinking things. And it may be that your suggestion to look at your plugin might solve a different issue that I have, thanks.


    Venutius
    Moderator

    @venutius

    The net step would be to dectivate all plugins apart from BP and see if that fixes it.

    If that does not wor, try switching to a default theme such as 2020.

    In normal circumstances one of those two actions should cause the issue to go away.


    Venutius
    Moderator

    @venutius

    One thing to check is to resave your Pernalinks, this often fixes 404 errors for BP pages


    Venutius
    Moderator

    @venutius

    It depends on the theme, I’ve been using non bp themes on some of my sites for years with very vew issues, it just means that some features you have to add yourself. However the only way to knowis for you to test it.

Viewing 25 replies - 1 through 25 (of 2,313 total)
Skip to toolbar