Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,051 through 2,075 (of 31,071 total)
  • Author
    Search Results
  • #304215
    prasadd1989
    Participant

    Hello,

    I am working on one of my website, using buddy press installed on localhost with wordpress latest version 5.1.1, but the register page of the buddy press is not working, after submitting sign up form nothing happens, and redirects to home page. I am troubleshooting and searching the solution in the forum too. But didn’t get any fix.
    I have tried new fresh installation of wordpress with buddy press installation, no other plugin activated instead of buddypress and the twenty seventeen theme activated, but still facing same issue.

    Please help me with the solution.

    Thanks in advance.

    #304211
    Venutius
    Moderator

    Typically the way to do this would be to overload the members page (buddypress/bp-template/bp-theme/members/members-loop.php) and at your code to display the field excerpt.

    #304209

    In reply to: Wrong template display

    beat sk
    Participant

    Hello again. I want to know if there a chance to make site with buddypress in shortcodes? I saw, buddypress working standalone, but theme creator not answering and the only way to solve this, is by using shortcodes in wpbakery page builder.

    #304097
    Venutius
    Moderator

    First of all, I got the filename wrong, it’s home.php you need to edit.

    This should be about the easiest bit of php you can get. But you will need to get ftp access to your site then create a buddypress/members/single directory in your themes/childtheme directory. Then take a copy of the source home.php file.

    Home.php creates the basic content for the profile page and if you open it up you will see a section as follows:

    		<?php if ( ! bp_nouveau_is_object_nav_in_sidebar() ) : ?>
    
    			<?php bp_get_template_part( 'members/single/parts/item-nav' ); ?>
    
    		<?php endif; ?>

    This is what calls the navigation, at the moment it’s the second item being loaded, you want it to be the first, so you just need to move it as follows:

    ?>
    		<?php if ( ! bp_nouveau_is_object_nav_in_sidebar() ) : ?>
    
    			<?php bp_get_template_part( 'members/single/parts/item-nav' ); ?>
    
    		<?php endif; ?>
    
    	<?php bp_nouveau_member_hook( 'before', 'home_content' ); ?>
    
    	<div id="item-header" role="complementary" data-bp-item-id="<?php echo esc_attr( bp_displayed_user_id() ); ?>" data-bp-item-component="members" class="users-header single-headers">
    
    		<?php bp_nouveau_member_header_template_part(); ?>
    
    	</div><!-- #item-header -->
    
    	<div class="bp-wrap">
    
    		<div id="item-body" class="item-body">
    
    			<?php bp_nouveau_member_template_part(); ?>
    
    		</div><!-- #item-body -->
    	</div><!-- // .bp-wrap -->
    
    	<?php bp_nouveau_member_hook( 'after', 'home_content' ); ?>
    

    Once you’ve done that use ftp to copy your updated file to themes/child-theme/buddypress/members/single/home.php and test. that should do it.

    #304096
    Venutius
    Moderator

    Did the theme create a number members page or is it using the default BP page? If it’s using the BP page then you could probably overload the members page to remove those items. However the members count is part of the page pagination.

    mspiggie
    Participant

    Hello, I purchase a plugin theme but the included support has now expired so I am stuck.

    I would like to know how to:

    (1) remove the “total members number count” that is included in the members directory page
    (2) remove the default search bar in the members directory page

    thanks

    #304087
    Venutius
    Moderator

    You should be able to do that by overloading plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/single/profile.php, you can place your modified copy in themes/child-theme/buddypress/members/single/profile.php.

    #304082
    account39
    Participant

    I’m using 5.1.1 in WordPress and latest Buddypress version (Nouveau template). It is currently in a subdomain (sandbox) for now. I’m also using a child theme to make adjustments. I would like to move the navigation on all pages to ABOVE the the cover image/avatar. Or just move the coverimage/avatar to below the navigation. Is this an easy adjustment?

    forgot the link – https://testing.leveledproduction.com/

    Side note – Buddypress is impressive.

    #304078

    In reply to: Sub-menu orientation

    Venutius
    Moderator

    You should ask the theme developer to support BP Nouveau

    Venutius
    Moderator

    you can add the following to your child themes functions.php file:

    add_filter( 'bp_get_group_join_button', 'venutius_restrict_group_join', 10, 2 );
    
    function venutius_restrict_group_join( $button, $group ) {
    	global $bp;
    	if ( current_user_can( 'manage_options' ) || $group->is_member ) {
    		return $button;
    	}
    	
    	$membership_total = count( BP_Groups_Member::get_membership_ids_for_user( $bp->loggedin_user->id ) );
    	
    	if ( $membership_total >= 1 ) {
    		return false;
    	}
    	
    	return $button;
    }
    Raakesh
    Participant

    Hello @Venutius,

    I’ve checked Buddypress options it shows Buddypress Legacy template.

    Please find below the snap shot.

    Bptheme

    #304071

    In reply to: Sub-menu orientation

    jennifersanchez
    Participant

    Hello! In the theme that I have installed I can only use Legacy Buddypress, is there any code where I can modify it? or css?
    Thank you very much for the response!

    Venutius
    Moderator

    You can see which BP Theme you are using by going to Settings>>BuddyPress>>Options

    #304066

    In reply to: Sub-menu orientation

    Venutius
    Moderator

    Have you looked at the BP Nouveau theme (Settings>>BuddyPress>>Options ) this allows you to set up vertical menus in Customizer.

    Achim
    Participant

    Ok, this works for me, thank you.

    But still in single group, in the group header, the group description will be shortened so oddly!
    Is there also a way to change that?

    I´m using bp nouveau and 2015 theme.

    Raakesh
    Participant

    Good day Venutius,

    Much appreciated, Please look my website Thinkbox I’ve used Astra WordPress theme and Youzer plugin for rich look.

    Thanks,
    Raakesh V.

    #304055
    Venutius
    Moderator

    Hi andhi,

    Are you able to crop with just BuddyPress loaded and with a default theme such as 2017?

    Venutius
    Moderator

    Hi Raakesh, glad it’s working for you, could you let me know which BP Theme you are using and Ill see if I can write some code to restrict joining to only one group?

    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');
Viewing 25 results - 2,051 through 2,075 (of 31,071 total)
Skip to toolbar