Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'change buddypress menu'

Viewing 25 results - 151 through 175 (of 578 total)
  • Author
    Search Results
  • richlublu
    Participant

    Hi all

    There is something I can’t get my head around.

    I installed the paid membership pro and buddypress plugin. I added 3 membership levels; free, gold, platinum.

    In Buddypress I associated the register page with the page called register (I am sure it’s the paid membership pro one).

    In the main menu I added Register and it points to the membership levels page of paid membership pro and then it goes to my membership level pages; so far so good.

    In posts I added a ppost that I linked to a category; the category is only for gold and platinum members. Paid membership pro does a good job when I click that post as a visitor, it shows me the message it is content for gold and platinum. But…

    Beneath this message are 2 buttons; login and register. They both point to the default login and register page in WordPress. I want this to point to membership levels page so visitors can sign up.

    How can I solve this? Maybe i am overlooking something, but after 6 hours of puzzling with WordPress i may have overlooked something

    danbp
    Participant

    Merci @imath !

    The old way

    The following syntax to change the tab order is deprecated since 2.6 and will throw an error notice:

    function rt_change_profile_tab_order() {
    global $bp;
    $bp->bp_nav['profile']['position'] = 10;
    $bp->bp_nav['activity']['position'] = 20;
    }
    add_action( 'bp_setup_nav', 'rt_change_profile_tab_order', 999 );

    The new way

    Now the correct syntax to use for modifying – since 2.6 – the tabs position on the buddybar when you’re on a profile.

    This example list all BP related items who appear by default on a profile nav, in order of appearance and include also the forum tab (if you use bbPress for group forums).
    By default, activity tab comes as 1st. The snippet will move it to 4th position.

    To modify a position you simply change the numeric value.
    If you want to move only one item, you remove or comment (add // at begin of the line) the ones you don’t want to move.

    function bpex_primary_nav_tabs_position() {
    	buddypress()->members->nav->edit_nav( array( 'position' => 4,	), 'activity' 		);
    	buddypress()->members->nav->edit_nav( array( 'position' => 5, 	), 'profile' 		); 
    	buddypress()->members->nav->edit_nav( array( 'position' => 7, 	), 'notifications'	); 
    	buddypress()->members->nav->edit_nav( array( 'position' => 9,	), 'messages' 	  	);
    	buddypress()->members->nav->edit_nav( array( 'position' => 2,	), 'friends' 	  	);
    	buddypress()->members->nav->edit_nav( array( 'position' => 6,	), 'groups' 		);
    	buddypress()->members->nav->edit_nav( array( 'position' => 3, 	), 'forums' 		);
    	buddypress()->members->nav->edit_nav( array( 'position' => 1, 	), 'settings' 		);
    }
    add_action( 'bp_setup_nav', 'bpex_primary_nav_tabs_position', 999 );

    That’s it for the buddybar nav menu order on profile.

    #255255
    danbp
    Participant

    Nav items names can be changed via the language file.

    Which language do you use on your site ?
    Which language is used with BuddyPress ? (if turkish, get in touch with one of the editors here and ask for update)
    Is your theme fully translated to that language ?

    To move the User Menu sub-menu, read here.

    Check also your theme support forum, perhaps you’ll find some related topics to this WP core menu.

    #255141
    econowill
    Participant

    i experienced exactly same issue with writer.
    only activation mail not work, others do. password change, etc…

    try to this
    admin panel – setup – buddypress
    setup is including permal link menu. i dont know exactly what it in english.

    and click restore email setup. and i solved.
    good luck!

    nasocal
    Participant

    WordPress 4.2.2 running Vantage Premium theme

    BuddyPress Version 2.5.3

    Website is WaxUnion.com

    I haven’t been able to get buddypress to work now for awhile.

    Everything was working great and just one day it stopped working.

    I’m pretty sure I didn’t make any updates or anything that caused the change.

    The links are under the social link in the menu.

    I cant access profiles, members, activity stream, or the register page it all just loops back to the homepage with page title at the top of screen. If i turn off buddypress then the register page works fine.

    Since the problem I have updated buddypress, turned off all other plugins to check conflict, and double checked all settings… nothing has seemed to help.

    I have read that possibly there is a database / file problem maybe where maybe certain files are not in the right spot in the control panel / database and that could case this problem, but I’m not sure.

    I could really use some help or maybe pointed in the right direction … Thanks

    Ben Riga
    Participant

    I’ve been trying to customize the member pages for the site I’m working on by removing the member nav menu on the left. I was able to do that by removing the <div id=”item-nav”> from bp-templates\bp-legacy\buddypress\members\single\home.php

    The works fine to remove the left hand menu but then leaves a 1px border-left on the item-body div (looks like it’s on a media query for when the width is over 783). I’m currently using the Twenty Fourteen theme.

    I was able to customize by copying the entire css file over and removing that style but doesn’t seem right. If other styles are changed in future BP updates I’ll never see those updates, right? Isn’t there a way to customize by overriding just that one style?

    This is the style that was causing me issues:

    /*  Remove the line from the left hand side of the Member Navigation Menu  */	
    /*	#buddypress #item-body {
    		border-left: 1px solid #bebebe;
    	}  */

    I’d appreciate any help or nudge in the right direction.

    Thanks,
    Ben

    kalico
    Participant

    Note: All plugins and WP are up to date as of this writing. The site can be found at http://nrocnetwork.org/community. However, that is the only part of the site that is public. There are several sites in the multisite that are in development.

    I have a multisite with BuddyPress (network activated, but rooted in a subsite by a define in wp-config) and I have Commons in a Box (CBOX), which includes bbPress. Unfortunately, I have made the mistake of activating and deactivating CBOX, and I think that some settings got changed in between. I’m seeing some very odd behavior.

    My first clue to this problem was a “disappearing” forum. Someone made a private group, associated a forum with it, posted in it….then it disappeared. Any member of the group (including admin, mod, and participant) would see a message saying “This group does not have a forum.”

    As superadmin I could visit the group, click on the forum link, and it would display just fine. But no one else could. This made me think it was a permissions problem, but all efforts in that direction failed to resolve the issue.

    So I looked around more, and eventually discovered a lot of weird behavior (will explain below), in particular, the forum would not “stick” to the group through any means of association. This only happens with private groups/forums.

    I ran all the forum-fixing tools in Tools >> Forums (individually, not at once), but to no avail. In fact, the one for reassociating groups and forums says “0 forums, 0 groups” etc. even though there should be 11+ groups and like 15 forums.

    The forum/group association in the dropdown menu in admin does not show all the possible forums I should see. i.e., if I go to Network Admin >> Groups >> Some Private Group, and check for an associated forum, the “Yes, I want a forum” box is checked, but the forum that should be associated either is not associated, OR it’s not even in the list at all. If I make a private forum public, it will reappear in the dropdown menu.

    However, I was unable to make the association “stick” when setting the forum from the admin side. Eventually I did it from the front end, on the Group >> Settings >> Forum page, where there is a dropdown to select which forum to associate with the group. But it should have it’s own private forum from when it was created….it should not have to be a public forum.

    Some older private groups have lost their connection with their forums in the same way — their members cannot see the forum, they just see “This group does not have a forum.” And the other abnormalities exist as well.

    I noticed that several subsites have similar lists of forums/topics/replies, but the actual count of items varies for each subsite.

    Forum URLs (permalinks) vary, depending on which subsite I am on when viewing the Forums. Some have a /forums/ slug in them, some do not. Some share a slug with the subsite I am viewing, while others have the slug of the site where they *should* live.

    I’m confused and frustrated. :[

    Ideally, all forums/topics/replies should live on one subsite (the same one where BuddyPress is rooted). Private forums should be associated with their private groups, and private groups’ forums should be visible to their members. Y’know….obvious stuff like that.

    I really suspect that my sites/forums/groups and their associations have gotten whacked out by something I did, but I have no idea how to fix it. I feel like if bbPress were active in just the subsite where BuddyPress is rooted, it might work right….but I don’t know how to get there from here (without breaking everything, or losing posts). CBOX is a network-only plugin, and that may be partly responsible for this mess….it was active a few months ago, then I disabled it for a while, then re-enabled it. I suspect some groups/forums may have been made in the intervening time, and did not properly associate.

    I am open to any suggestions for how I can get this all back to how it should be — with or without CBOX. I only want one site to have forums and groups. They don’t need to be everywhere.

    CBOX as a plugin manager can be eliminated — I am not married to the additional functionality it provides. In fact, I already have the CBOX plugins “freed up” for administrative maintenance outside of the CBOX gui by a define in wp-config, so I am not locked in there.

    Any help would be greatly appreciated! 🙂

    cesasol
    Participant

    Hi, I’m working on a project where I have to populate the contents of a page using custom post types and taxonomies with members of buddypress.
    Members fill out a field check boxes that match the terms of taxonomy to be used, then I have to fill posts with members that meet at least one match box checked with taxonomy term and then add the user to post.

    Navigation would be:
    User enters the “services” in the menu.
    Then see a list of services in card format
    Clicking has to display the “post” service with a short description and down members offering such services with a link to their profiles buddypress.

    Members will have the following experience:
    After registering as a special type of user they are activated the profile field “Professionals”, which, along with other fields will be the field of “treatments” that will check boxes. As save their changes, for example, they marked the “facial radiofrequency” box, your profile will appear in the services that have the taxonomy term “facial radiofrequency”

    It can be done in each post or maybe making a specific template with one using variables, and enter the custom loop within the loop the post after <php the_content (); ?> And before endwhile.

    The problem is that the loop is not done, and after searching I found I was developing #5839 but I could find no documentation.

    Thanks in advance.
    Cesasol

    dipankarbanerjee
    Participant

    I am using a sliding/drawer div, where I have displayed the standard navigation items of BuddyPress, with the following

    <?php bp_get_displayed_user_nav(); ?>
    <?php do_action( ‘bp_member_options_nav’ ); ?>

    When a member select ‘Group’ and then clicks on a specific group name, I would like to change my default menu items to a standard Group navigation items, which we usually get on a default theme.

    My slide/drawer menu has been declared on header.php

    Any suggestion/advise would be highly appreciated.

    Thanks!

    #253644
    ykaldes
    Participant

    Hi,
    I’m trying to find out how I can change the page title “members”. I tried to do it in pages, menu, and buddyPress settings but no success. Thanks.

    jl3nz
    Participant

    I am having an issue with my Buddypress Notification Settings not saving. When you change any options from “Yes” to “No” and click the “Save” button at the bottom of the page, the page reloads but the changed options don’t save.

    WP version 4.4.1
    Theme PageLines Framework 2.4.6
    PHP version 5.4.13
    bbPress version 2.5.8-5815
    site url http://www.wpfilm.com
    Active Plugins Name and Version
    – p1 Gravity Forms 1.9.15
    – p2 Add Shortcodes Actions And Filters 2.0.3
    – p3 Akismet 3.1.8
    – p4 BAW Multipass for Protected Pages 1.4
    – p5 bbP Toolkit 1.0.6
    – p6 bbPress 2.5.8
    – p7 Better Notifications for WordPress 1.3.9.5
    – p8 BuddyPress Username Changer 1.1
    – p9 BuddyPress 2.4.3
    – p10 CloudFlare 1.3.20
    – p11 Display Categories Widget 2.0
    – p12 Disqus Comment System 2.84
    – p13 Gravity Forms ActiveCampaign Add-On 1.3.1
    – p14 Gravity Forms Authorize.Net Add-On 2.1.1
    – p15 Gravity Forms MailChimp Add-On 3.7.1
    – p16 Gravity Forms PayPal Standard Add-On 2.6
    – p17 Gravity Forms Survey Add-On 2.6
    – p18 Like Button Voting & Rating 2.1.9
    – p19 MemberPress Active Campaign 1.0.4
    – p20 MemberPress AWS 1.2.5
    – p21 MemberPress Developer Tools 1.0.2
    – p22 MemberPress Importer 1.2.3
    – p23 MemberPress to VHX.tv 1.0
    – p24 MemberPress WP Films Addons 1.0
    – p25 MemberPress Developer Edition 1.2.7
    – p26 Nav Menu Roles 1.7.7
    – p27 Open Graph Metabox 1.4
    – p28 bbPress for PageLines 2.0.2
    – p29 Recent Posts Widget Extended 0.9.9.5
    – p30 Shortcodes in Menus 3.1
    – p31 Stream 3.0.5
    – p32 Update Control 1.5
    – p33 UpdraftPlus – Backup/Restore 1.11.28
    – p34 WP Better Emails 0.3

    #252899
    bogski
    Participant

    Hello!

    I have a WordPress website running BuddyPress and BBPress and they are working great. However I have one small question.

    Currently, when my users log in they are taken to their profile page and presented with the ‘Forums’ tab as default. Now from what I can tell, this will display all forums that they have posted in or are subscribed to.

    What I would like to do when they land on this page is display a list of all forums they have access too. Like the default forums page (mysite.com/forums) and not their most recent activity.

    The reason for this is the forums are all private or hidden depending on a users group. So I would like to present them the forums listing first, without having to put a link in my main Nav Menu to the forums.

    Is this possible? I thought it might be possible with something like define('BP_DEFAULT_COMPONENT'); and i’ve found a way to change the groups and members landing page to display forums as a default using similar code.

    EDIT:

    Also, is there a document that contains all the usable functions/hooks that I can download such a spreadsheet or something? just to save time trying to find stuff again. If not I will just add the them into one myself as I go along.

    Mike
    Participant

    I got this working in the end… I had to change the first letter of ‘Primary’ menu to lowercase! Is there code I can add to not display ‘0’ after messages, for instance if there are no new messages, then ‘0’ is not displayed?

    I’ve got another plugin for Buddypress called ‘Compliments’ which also has a notification counter, is there a way to clear the reset counter of those notifications, once a person has viewed that particular page?

    Many thanks.

    #251532
    jrytesting
    Participant

    Hello, I had this same problem and this is how I fixed it. It was mentioned in this thread
    (https://buddypress.org/support/topic/bad-link-to-profile-edit/)
    that there may be a problem in the database table “wp_bp_xprofile_groups”. For some reason the first item id there is not “1” but something else. As you change the id to 1, everything works. Then it also shows the Profile details side Name field (required) in the registration page.

    Also there was a problem to edit profile, it went to “Page not found”. This gets fixed also now, now you can edit the fields.

    This seems to be some kind of bug in the installing process in some circumstances. I tested this by removing the BuddyPress and also deleting the BuddyPress database tables. They must be deleted manually, they wont get out by deleting the plugin.

    New installation put the first id number to “3” to “wp_bp_xprofile_groups” table. Even the group_id in the table “wp_bp_xprofile_fields” was “1” (after I activated some components in BuddyPress menu, before that the tables were empty) for the first field item. So now the field item and the group item never matched.

    Hopefully this helps someone. It seems that there are a lot of discussion of this problem, and this is a very annoying problem if you are really using BuddyPress.

    Basically the registering had a workaround for example by using plugin “Theme my login”. The registering also looks simpler as there is not that “extra” name field. It is however unknown how BuddyPress works without that name field. Well, but perhaps that is an another story.

    #251450
    simbaclaws
    Participant

    Hey everyone,
    I’m trying to adjust the admin bar for logged out users so that there is no register and login button and that the anonymous user profile shows up with register, logout, password etc.

    I’ve been searching for a while now and haven’t been able to find out how to do it.
    I’ve tried doing it through my functions.php by using $wp_admin_bar->remove_menu and $wp_admin_bar->add_menu. I’ve even put a script in to check what the node ID’s were of my menu’s in order to be able to remove or add them.

    I’ve seen previous posts where people said that this had something to do with either your theme or your plugins, so I disabled all plugins except buddypress and enabled twenty fifteen theme to see if it changed anything. Which it did not.
    I’m using wordpress 4.4.2 with buddypress 2.5.1 on my localhost machine.

    I’ve also looked at the following page:

    Modifying the Toolbar

    But it seems like this is a deprecated-guide?
    Does anyone know of the current way to make this work?
    I basically want the same wp-admin-bar-my-account to work for logged out users. Which is displayed as node ID: my-account.

    I have already set my site to allow users to register and I have also made sure that logged out users are capable of seeing the bar in my buddypress settings. Which works because I can see the bar with a login and register button on it but not with the my-account profile on it. And I can also use the registration form for new users.

    Does anyone have any ideas on how I can make this work?

    #251228
    richdal
    Participant

    WordPress 4.4.2
    BuddyPress 2.5.1

    Not sure how to change up the form where users would update their extended profile.

    I was able to setup a custom registration page by copying the source file to here and making my changes…

    /wp-content/themes/genbu-child/buddypress/members/register.php

    On the user Profile – Edit page I’m seeing the different fields I wanted to include, but wanted to add some extra description to the three birth date menus that show up. Is there a file similar to register.php I could copy to my child theme and fix up the HTML how I want it?

    #250340
    Sebastian
    Participant

    @shanebp: ok,
    i changed “bp_moderate” to “create_users” at line 29 in compose.php
    as I set this for the trainer role too:

    <?php if ( bp_current_user_can( 'create_users' ) ) : ?>
    		<p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?></label></p>
    	<?php endif; ?>

    The changes works and the option field “send a notice to all users” displays also for trainers with capability “create_users”.

    BUT they can’t send notices at all/ still miss the capability and also don’t have the “notices” menu in the buddypress profil.
    An Error Message appears when they try to send message as site wide notice: “Notice was not created. Please try again.”

    What else do I have to change? I looked at other php files around there but didn’t find a solution. Can you help me out? Thx!

    #249079
    ch1n3s3b0y
    Participant

    This is what I changed in functions.php. It was do to with adding subnav items, removing subnav items and renaming some of them:

    /* BP Add subnavigation on profile */
    
    add_action('bp_setup_nav', 'bp_profile_submenu_profile' );
    function bp_profile_submenu_profile() {
    	global $bp;
    	if(!is_user_logged_in()) return '';
    	bp_core_new_subnav_item( array( 
    		'name' => 'Seminar Bookings',
    		'slug' => 'seminar-bookings', 
    		'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav['profile']['slug'] . '/' ,
    		'parent_slug' => $bp->bp_nav['profile']['slug'],
    		'position' => 20,
    		'screen_function' => 'seminar_bookings'
    		) 
    	); 
    }
    function seminar_bookings() {
        add_action( 'bp_template_content', 'seminar_bookings_screen' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function seminar_bookings_screen() { 
        locate_template( array( 'buddypress/members/single/profile/seminar-bookings.php' ), true );
    }
    
    /* BP Remove unneeded subnav items */
    function remove_bp_subnav_items() {
    	global $bp;
    	bp_core_remove_subnav_item('profile','change-avatar');
    	bp_core_remove_subnav_item('profile','change-cover-image');
    }
    
    add_action( 'bp_setup_nav', 'remove_bp_subnav_items');
    
    /* BP Rename subnav items */
    function rename_bp_subnav_items(){
    	global $bp;
    	$bp->bp_options_nav['profile']['edit']['name'] = 'Edit Profile';
    	$bp->bp_options_nav['profile']['public']['name'] = 'View Profile';
    }
    add_action('bp_setup_nav', 'rename_bp_subnav_items', 201);

    The only time I had mentioned ‘position’ was when setting up a new subnav item.

    #247934

    In reply to: bp-custom.php bp nav

    codyt
    Participant

    It’s working now but the priority didn’t change anything. I’m not sure why it’s working now. I did figured out how to turn some of the tabs off courtesy of this site. However I still can’t find a way to add my own tab named “characters”. Maybe I just have to make a copy of a tab, change the name and then link it to the the page I want. If I find out how, I will let you know.

    Thanks Henry!

    #245915

    In reply to: Problems with TopBar

    flopfeil
    Participant

    is here anybody who knows where buddypress established the topmenu?
    if i check the to different sites with my inspector tool, i can see he loads the mainmenu and not the topmenu. So i want to know in which php.file buddypress establish the topmenu.

    on the sites where it shows up the right topbar it looks like…

    <div class=”social-header header-color”>
    <div class=”container”>
    <div class=”top-bar”>
    <div id=”top-social” class=”col-sm-12 col-md-5 no-padd”> </div>
    <div class=”top-menu col-sm-12 col-md-7 no-padd”>
    <ul id=”menu-topmenu” class=””>

    and on the other sites, where i have the wrong menu….

    <div class=”social-header header-color”>
    <div class=”container”>
    <div class=”top-bar”>
    <div id=”top-social” class=”col-sm-12 col-md-5 no-padd”> </div>
    <div class=”top-menu col-sm-12 col-md-7 no-padd”>
    <ul id=”menu-mainmenu” class=””>

    so there must be any code from buddpypress which put here the mainmenu.

    Did anyone know where i can change that part of code?

    #245836

    In reply to: Problems with TopBar

    flopfeil
    Participant

    Thanks for your help, but its not the solution.

    My TopMenu got the content you see on that screen.

    http://www.pic-upload.de/view-28637544/Top_normal.jpg.html

    I try to explain my problem better.

    The TopMenu works when the Buddypress Plugin is deactivated. Its on all Sites that Menu I want to have.
    After I activate the Plugin on some of the sites(Buddypress specific sites) changes the TopMenu and show the content from the NavigationBar.

    So I think there is a piece of code in any PHP-File which overwrites my TopMenu.

    Any ideas???

    #245310
    Philosopher Rex
    Participant

    Note that this doesn’t just change tabs in groups, but in the profile as well. I had some issues ‘fitting’ in some words without making the text too small or resorting to wrapping the word (another CSS rule); so instead I used poedit to change the menu text.

    You can read about how to do that here: https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    #244987

    In reply to: Profile Tabs

    shanebp
    Moderator
    #244207
    danbp
    Participant

    hi,

    first snipppet removes the mention tab.
    Second remove the mention item from the top right usermenu below howdy.

    Condition is set to site admin. If you use custom capabilities, change that to your need.
    Code goes to bp-custom.php

    function bpfr_hide_mention_nav() {
    	//if ( bp_current_user_can( 'bp_moderate' ) )
    	if ( is_super_admin() ) {
    		return;
    	} 
    	bp_core_remove_subnav_item( 'activity', 'mentions' ); 
    }
    add_action( 'bp_ready', 'bpfr_hide_mention_nav' );
    
    function bpfr_admin_bar_remove_activity_mentions(){
    global $wp_admin_bar;
    	if ( is_super_admin() ) {
    		return;
    	}
    	$wp_admin_bar->remove_node('my-account-activity-mentions');
    }
    add_action('wp_before_admin_bar_render','bpfr_admin_bar_remove_activity_mentions');
    

    An alternate (IMO better) solution, is this premium plugin: http://www.philopress.com/products/buddynotes/

    #244065
    AilyRoot
    Participant

    Hi guys
    we are looking for solution to get buddypress notifications work on our theme, we know it will be shown on wordpress’s default top tool bar but we want it to show somewhere else.

    We are using WP 4.3 with buddypress 2.3.3, we have added these to theme’s functions.php

    
    function bpfr_add_notification_to_page_title( $title, $original_title, $sep  ) {
    	
    	//do not change if the user is not logged in
    	if( ! is_user_logged_in() )
    		return $title;
    	
    	$user_id = get_current_user_id();//logged in user's id
    	
    	$count = bp_notifications_get_unread_notification_count( $user_id );
    	
    	if( $count > 0 )
    		$title = sprintf( "You Have %d New Notification(s) - ", $count );
    	
    	return $title;
    	
    	
    }
    add_filter( 'wp_title', 'bpfr_add_notification_to_page_title', 100, 3 );
    

    then we add these to theme ‘s menu location

    
    <?php echo bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ); ?>
    

    but it is showing nothing, what is the correct steps to make this work please?

    thanks

Viewing 25 results - 151 through 175 (of 578 total)
Skip to toolbar