Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 951 through 975 (of 2,427 total)
  • @venutius

    Moderator

    BuddyPress does not include a feature to sell membership

    @venutius

    Moderator

    The next thing to check is if there is something messing with the BP pages, so deactivate all other plugins apart from BuddyPress and install a default theme such as 2016 and see if they display.

    @venutius

    Moderator

    Hi there,

    Two things to check:

    1. Have you linked the pages to BuddyPress in Settings/BuddyPress/Pages?

    2. Have you changed your permalink settings to be anything other than the WordPress Default?

    @venutius

    Moderator

    so the directory structure should look like this:

    themes/your-child-theme/buddypress/members/file.php etc. can you confirm this is what you have got?

    Would you have a plugin or theme that is redirecting the buddypress default template search?

    @venutius

    Moderator

    @venutius

    Moderator

    You’d have to do something like this:

    function venutius_start() {
         
        if( function_exists( 'bp_register_template_stack' ) ) {
            bp_register_template_stack( 'venutius_register_template_location' );
    	}
        // if viewing a member page, overload the template
        if ( bp_is_user()  ) {
            if ( bp_get_theme_package_id() == 'legacy' ) {
    			add_filter( 'bp_get_template_part', 'venutius_replace_template_legacy', 10, 3 );
    		}
            if ( bp_get_theme_package_id() == 'nouveau' ) {
    			add_filter( 'bp_get_template_part', 'venutius_replace_template_nouveau', 10, 3 );
    		}
    	}
    }
    add_action( 'bp_init', 'venutius_start' );
    
    function venutius_register_template_location() {
        return <directory>; //replace with the main directory you are putting your new template files in
    }
    
    function venutius_replace_template_nouveau( $templates, $slug, $name ) {
        switch($slug) {
    
    	case 'members/single/profile/change-avatar' :
    		if ( '<your_directory>/members/single/profile/change-avatar.php' ) ) {
    			return array( 'members/single/profile/change-avatar.php' );
    			break;
    		} else {
    			return $templates;
    			break;
    		}
    
    	}
    	return $templates;
    }
    
    function venutius_replace_template_legacy( $templates, $slug, $name ) {
        switch($slug) {
    	case 'members/single/profile/change-avatar' :
    		if ( file_exists( '<your directory>/'members/single/profile/change-avatar.php' ) ) {
    			return array( 'members/single/profile/change-avatar.php' );
    			break;
    		} else {
    			return $templates;
                            break;
    		}
    
    	}
    	return $templates;
    }
    

    Something like that should work, not tested it though but you should get the idea.

    @venutius

    Moderator

    Hi there, presumably you have changed to the BP Nouveau theme, in this case the action hook name has changed from bp_before_profile_avatar_upload_content to bp_before_member_avatar_upload_content.

    @venutius

    Moderator

    I’ve not seen such a plugin

    @venutius

    Moderator

    That would probably be best, otherwise you’d have to write your own progrmatic way of switching between the two template files depending on the theme used.

    @venutius

    Moderator

    You’d need to change the overload file to be one from the legacy template.

    @venutius

    Moderator

    That’s down to your theme, open the page in the editor and see if there’s an option to have a one column layout applied to it.

    @venutius

    Moderator

    By the looks of things you can try the following:

    add_filter( 'bp_settings_show_user_data_page', 'venutius_remove_data_page' );
    
    function venutius_remove_data_page($filter) {
        return false;
    }

    You could put this in your functions.php or bp-custom.php

    In reply to: Social Media Website

    @venutius

    Moderator

    I’d first try switching between BP Nouveau and BP Legacy in settings/BuddyPress/Options. I’d then try a default theme.

    @venutius

    Moderator

    Yes that might be easier, presumably you just need to tweak the activity_add function to make it group specific.

    I think the issue with using a nesting plugin to allow nesting on shortcode within another makes it pretty difficult to get support, it could be any of the three plugins that’s not working correctly.

    @venutius

    Moderator

    I’ve not played with Toolset so have limited knowledge of that. I take it that it’s expecting a comma delimited list of usernames. my first question is – is it looking for the WP Username and is your list returning them correctly (as opposed to the BuddyPress fullname).

    I think what I’d do first is to take the shortcode output and paste this into the Toolset shortcode manually to see if that works. If it does then it would appear the Toolset shortcode and your shortcode are not interacting properly.

    @venutius

    Moderator

    take a look at https://wordpress.org/plugins/bp-profile-shortcodes-extra/ in this plugin there’s a group members list shortcode, you should be able to pick up what you need from there.

    @venutius

    Moderator

    That sounds like you may have a JavaScript issue, try seeing if anything is reported in your browsers JavaScript console – right click on page, select inspect element and then select the console.

    @venutius

    Moderator

    Imgur allows you to upload images and provide a link to view them.

    By the sounds of things you probably have a conflict. Things I would try:

    1. Set BuddyPress theme to BP Legacy
    2. Deactivate all other plugins apart from BuddyPress
    3. Try with a default theme such as 2016.

    @venutius

    Moderator

    You can use Imgur to provide a link to the image

    @venutius

    Moderator

    Hi there, have you enabled group forums in Settings/Forums?

    In reply to: Like/Share

    @venutius

    Moderator

    You could try WPUlike and maybe BuddyPress Activity Share

    @venutius

    Moderator

    One thing about this is that since group creation is open to all users, creating a group would be a simple way to get post creation rights. You may want to look at BuddyPress Restrict Group Creation to limit who can create a group in the first place.

    @venutius

    Moderator

    Hi D4nny,

    a simple way of doing this I thought would be to hook off a groups creation completion action as follows:

    add_action( 'groups_group_create_complete', 'venutius_auto_change_role' );
    
    function venutius_auto_change_role() {
        $user = get_userdata( bp_loggedin_user_id() );
        if ( in_array( 'subscriber', $user->roles ) !! in_array( 'contributor', $user->roles ) ) {
            $user->set_role( 'author' );
        }
    }

    I’ve not tested this, it’s just off the top of my head. It should only set the roles of subscribers and contributors to author otherwise it would downgrade other user roles.

    @venutius

    Moderator

    That’s probably one for the bbPress forums then – https://bbpress.org/forums/ within each group with a forum there should be a forum menu item that links to the group forum. I’d first check there are no plugin conflicts by deactivating all other plugins except for BuddyPress and bbPress, if you still don’t get the menu item within the group then try a default theme such as 2016. BuddyPress forums are provided by bbPress, so that’s the best place to go for support.

    https://bbpress.org/forums/

    @venutius

    Moderator

    Ah you mean there’s not a forum menu item within the group itself?

Viewing 25 replies - 951 through 975 (of 2,427 total)
Skip to toolbar