Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,251 through 2,275 (of 32,182 total)
  • Author
    Search Results
  • Venutius
    Moderator

    Hi there, another plugin to help you is https://wordpress.org/plugins/buddypress-restrict-group-creation/ this will allow you to restrict members from creating more than one group.

    If I updated this to include a restriction based on the number of group membership then that would help.

    Looking at the code you’d also need to restrict the group join button showing so that it only shows for members not already in a group. How you do this depends on the BP Theme you are using, Legacy or Nouveau.

    #303930
    Venutius
    Moderator

    Hi there, here’s the steps I would take:

    Deactivate all other plugins.
    Switch to 2017 theme and test
    Check for changes to functions.php, wp-config.php, bp-custom.php ( if you have one ) basically any place where custom scripts could be hiding.
    Try recreating your emails in the Tools>>BuddyPress admin page.
    If they still don’t work
    Enable WP-DEBUG, install Query Monitor plus an error log viewer. initiate some emails and see if you get any errors at the same time.

    #303915
    Venutius
    Moderator

    All I can suggest is that you are not copying the functions.php file into the right theme directory, not likely but that could cause the new function not to be seen.

    #303876
    Venutius
    Moderator

    Hi there, I’m sorry but this would seem to be a theme issue ( the theme is adding the menu? ), you should raise this with BuddyBoss.

    manucomanuco
    Participant

    Hi, I have the social learner theme from buddyboss and i’m adding to the left menu (buddyboss panel) some pages, the problem is that when the menu is closed it appears 3 points next to the icon and it looks so bad

    #303868
    hcportos
    Participant

    Found it.
    in child theme i used file from BP 2.x
    So i’ve just replaced

    				<?php if ( bp_activity_user_can_delete() ) {
    					echo '<a href="'.bp_get_activity_comment_delete_link().'" type="button" class="button button-xs item-button bp-secondary-action delete-activity confirm" rel="nofollow"><i class="fa fa-trash-o"></i></a>';
    					
    					} ?>

    with

    <?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?>

    Solved

    #303863
    Venutius
    Moderator

    I’ve looked at the code and it turns out there’s a typo in buddypress/bp-members/classes/class-bp-members-admin.php as follows:

    Line 1277:

    if ( current_user_can( 'edit_user', $user->ID ) || bp_current_user_can( 'bp_moderate' ) ) {

    One thing to try is to change this on your copy as follows:

    if ( current_user_can( 'edit_users', $user->ID ) || bp_current_user_can( 'bp_moderate' ) ) {

    You can also see that the other check is for bp_moderate so maybe my code earlier was wrong? though tbh bp_moderate give a whole bunch of additional features that you probably don’t want to expose to your editors. This is the example code from wp.org:

    function add_theme_caps() {
        // gets the author role
        $role = get_role( 'author' );
    
        // This only works, because it accesses the class instance.
        // would allow the author to edit others' posts for current theme only
        $role->add_cap( 'edit_others_posts' ); 
    }
    add_action( 'admin_init', 'add_theme_caps');
    #303862
    hcportos
    Participant

    BP legacy – but yes, i have some changes in child theme.
    When I disable child theme, it is working…
    I’m just wondering where can be the issue…where i should focus to find the trouble…
    somewhere in buddypress/activity/ ?

    #303860
    Venutius
    Moderator

    Which bp Theme are you using?

    hcportos
    Participant

    Tried to switch theme to twenty seventeen – not helped

    Venutius
    Moderator

    Underscores is generally a theme thing, so the first thing I’d do would be to switch to a default theme such as 2017 and see if that fixed the problem, failing that I’d be looking for plugin conflicts.

    #303842
    Bodhipaksa
    Participant

    In the buddypress.org/about/groups page it says “Each group has a homepage. The group’s Activity Stream is the default Home tab for any group.” That’s not what I’m seeing. When I go to a group I’m in a “home” tab that includes an information box saying “Manage the Groups default front page” and a description of the group. Activity is a separate tab. I’d certainly like to have the home page for a group show the most recent posts there. How would I do that?

    WordPress 5.1.1 running Twenty Sixteen theme.
    Buddypress Version 4.2.0.

    #303840

    In reply to: Member Count

    Venutius
    Moderator

    Mind if you’ve got template overloads in place or a theme that’s doing it, you’ll get that effect.

    #303839

    In reply to: Member Count

    Venutius
    Moderator

    That’s a bit odd, to my knowledge both themes use the same images. You probably need to turn your error reporting on, if you haven’t already?

    #303837

    In reply to: Member Count

    Petchy
    Participant

    I switched to BP Legacy theme and that has fixed the problem.

    #303804

    In reply to: Member Count

    Venutius
    Moderator

    The BP active member count is stored in transient memory and the count you see displayed is reading this transient. When you run the tool to correct the count this transient is deleted then next time you go to read the value it detects there is no count so it does a db count of all active users and resets the transient. So the Tools option suggested by Shanebp should have worked. It not working suggested there is potentially something up with your database.

    The only other thing that affects the active user count is the excluded user id’s, these are the inactive and deleted users.

    As a next step I suggest you try switching to the BP Legacy theme and see if that works. I don’t think it will but it would help rule out a nouveau specific function involved in displaying the count.

    #303802

    In reply to: Member Count

    Venutius
    Moderator

    Hi there, it looks like you are using the BP Nouveau theme, can you confirm?

    #303791
    aussiemike
    Participant

    Thank you. I will look into the theme files. Didn’t check there.

    Venutius
    Moderator

    Hi @irahulsolanki I just tested this again with the BP Legacy theme and I got the same results as you. could you raise a support ticket for this?

    https://buddypress.trac.wordpress.org/

    #303781
    aoiu
    Participant

    Seems to be BuddyPress Create Group Types.

    The other filter on the top you see on the attachment is the filter of the theme. This filter work but not the buddypress filter by native you see on the picture (the one i try to click on it).

    #303747
    Venutius
    Moderator

    I’m not really sure what to suggest. BP in it’s raw environment does not do this, if you have no other plugins loaded and a default theme then it should work correctly.

    Venutius
    Moderator

    Here’s how to remove forums from all users profile tabs and toolbar menu, this code would need to go in your child-themes functions.php:

    function venutius_remove_forums_on_usermenu() {
    global $wp_admin_bar;
    
    	if ( bp_use_wp_admin_bar() ) {
    		$wp_admin_bar->remove_node( 'my-account-forums' );
    	}
    
    }
    add_action( 'wp_before_admin_bar_render', 'venutius_remove_forums_on_usermenu' );
    
    function venutius_remove_profile_forums_tab() {
    
    	bp_core_remove_nav_item( 'forums' );
    
    }
    add_action( 'bp_actions', 'venutius_remove_profile_forums_tab' );
    #303744
    airsid
    Participant

    “How about switching to the BP Legacy theme to see if that works?”

    That is the first action i did : i deactivated all plugins exept bbpress and buddypress and i installed TwentySixteen official wordpress theme.

    #303731
    shanebp
    Moderator

    By default, BP does not show the creation date.
    So, afaik, it’s coming from your theme or some other plugin.
    You will have find it yourself.

    Venutius
    Moderator

    Then you’d need to overload your child-themes template file for the homepage, but getting the activity on there would need quite a bit of coding.

    BP was designed to be customised with plugins, it’s not unusual for a BP site to have several tens of plugins and maybe more.

Viewing 25 results - 2,251 through 2,275 (of 32,182 total)
Skip to toolbar