Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'change buddypress menu'

Viewing 25 results - 201 through 225 (of 845 total)
  • Author
    Search Results
  • #241198
    Quinn Goldwin
    Participant

    Thanks dan, I have the all activity on the specific page, but I wanted it in my profile. i ended up seeing this link on buddydev and it’s exactly what I need it to do http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/ , I just wish I knew how to default it to that link when clicking on the activity link.

    When i hit the activity link, it goes to my personal activity instead of the “all activity” tab. Could you direct me in how I could change the default sub menu tab in activity.

    Thanks for your help! Have a wonderful independence day!

    #240897
    CarpoA
    Participant

    Dear Community,

    I’m new to BuddyPress and by the look of it, it’s a powerful feature within my community but… When I’m signed in as a user (not admin), I’m unable to upload/update my avatar through the edit profile page. As admin I can change everyone’s avatar, but that’s far too much work. I’ve done some Google search but can’t find the solution yet. Most of the answers are like “You have to enable it in the BP options menu”, but I’ve done that (see screenshot). Other answers were that some people were missing the bp-xprofile.php file, I don’t have that file either but can’t find where to download it. And this is strange for me as well because I’ve downloaded it directly from this site and from the WordPress Plugin search engine.

    So does anybody know the answer to this matter?

    Screenshots:

    The available php files from the buddypress plugin
    The available php files from the buddypress plugin

    No overlay when I want to update avatar
    No overlay when I want to update avatar

    I got the proper options enabled
    I got the proper options enabled

    #240168

    In reply to: Group tab questions

    mrjarbenne
    Participant
    #240166
    mrjarbenne
    Participant

    Well, I just tested it and it didn’t work. Hopeful someone can come in and suggest an alternate fix. One of the issues is that the code I’ve pasted there was pulled from a source that switched to smart quotes rather than regular quotes, but that doesn’t seem to be the only issue as I’ve rectified that on my test and it didn’t help.

    Here’s the source:

    How to Add, Remove, and Change the Order Of BuddyPress Component Menu

    #240162
    mrjarbenne
    Participant

    Use, or create, the bp-custom.php file in your plugins folder: https://codex.buddypress.org/themes/bp-custom-php/

    Add this to it (make sure you add a <?php tag if you are creating a bp-custom file for the first time.

    function bbg_change_profile_tab_order() {
    global $bp;
    
    // Change Menu Order
    $bp->bp_nav[‘profile’][‘position’] = 10;
    $bp->bp_nav[‘friends’][‘position’] = 20;
    $bp->bp_nav[‘groups’][‘position’] = 30;
    $bp->bp_nav[‘blogs’][‘position’] = 40;
    $bp->bp_nav[‘messages’][‘position’] = 50;
    $bp->bp_nav[‘settings’][‘position’] = 60;
    
    // Remove a menu item
    $bp->bp_nav['activity'] = false;
    }
    add_action( ‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );

    I haven’t tested this. I hijacked it from here: http://themekraft.com/customize-profile-and-group-menus-in-buddypress/

    #240157
    mackeykevin
    Participant

    Ok since you are my godsend I hate the activity page.. How do I edit the buddypress menu to remove the page from the menu? Matter of fact how do I change the order of the items in the menu? You are the man remember that always

    #240112
    patrix87
    Participant

    Hi,

    I really like buddypress and bbpress and all the features and modules they offer.

    But I’m having a lot a problem finding accurate information about the code and how to do stuff.

    I think a good cleanup and update of your documentation to make sure it is clear and easy to navigate would be a must. I keep finding a lot of old information about old version I don’t care about. And I don’t get how that menu work…

    Another thing that bothers me is how you assume things instead of giving the webmaster more options.

    E.G. That whole mess about the name field. It is almost impossible to change it back to nickname or to first name and last name or to just remove it. I think that there should be a way to control that field and assign it to a WordPress field. E.G. First name = WordPress First name and same thing for last name. Or to use Nickname instead as the display name. I’m building a gaming community, Gamers do NOT want their real name on the internet. And it is a pain to make sure it does not happen.

    Also, It would be nice to have more control over who can see private and hidden forum. I used AAM to create 2 new user groups called Member and Admin but Buddypress and BBpress have there own permission system and I can’t make it work like I would like.

    So in short:

    – Clean up the codex / documentation
    – Stop assuming things and give more control to the webmaster
    – Custom member groups with granular permission
    – Member page made of shortcodes

    Thank you for reading my feedback

    mkamir
    Participant

    When I check my extended Admin profile, I have this message. Also, if I want to edit my profile from the buddypress menu structure it links to a 404 page.

    Where can I change this. Also, another user is checked as active but displays the same warning text.

    (sorry for my English).

    thanks

    #238464
    @mcuk
    Participant

    So what appears to be happening is that the Buddybar adopts the slug changes immediately (I’ve just removed the display:none CSS for the main nav tabs on Buddybar to check because I don’t use it).

    But the top menu (created via the Menus in WP Dashboard) is where the tabs are disappearing due to the slug changes. Tried with define ( 'BP_MESSAGES_SLUG', 'notes' ); to confirm it wasn’t an isolated effect. All is fine there now though, they just need replacing into the menu via the WP Dash once the slug has been changed and then they appear again.

    Are the slugs of subnav tabs changed using the define code too? I haven’t come across it.

    Out of interest, have I misunderstood this link where it says the various defines at the bottom are deprecated, or is it just in need of updating? :

    Changing Internal Configuration Settings

    #238454
    danbp
    Participant

    @mcuk,

    1. a slug is a human friendly URL. (as of your topic title)
    2. a tab name or a menu item is just a name, on which applies an URL. (as of your given example)

    This means that your tab or menu can be written Cow-Boy and his URL can can be completely different, for example your-site/members/mcuk/amigos/

    For consistancy and SEO logic, most prefer the same wording for both.
    Related to “friends”, open bp-friends/bp-friends-loader.php and see how it works.

    You will discover that

    // Define a slug, if necessary
       if ( !defined( 'BP_FRIENDS_SLUG' ) )
    	define( 'BP_FRIENDS_SLUG', $this->id );

    is not deprecated.

    In other words, to change the slug, you can use from within bp-custom.php
    define ( ‘BP_FRIENDS_SLUG’, ‘whatever’ ); whatever should be exclusively alpha numeric, lower case, without any special character or ponctuation.

    To modify tabs and menu items, simply use the language file.

    Customizing Labels, Messages, and URLs

    #238348
    caniwigirl
    Participant

    Hi @bewitchingfiction,

    I tried it on some of the default WordPress themes and couldn’t get it to work… and it no-longer works on the previous theme used two years ago when I first configured BuddyPress on our site.

    My suggested work-around for you until someone is able to get it going again would be to create a password-protected or private page in WordPress for your mods to chat via the comments function. If you use a plugin that allows menu items to only be shown to mods, then no one will know the page even exists.

    I use Nav Menu Roles to manage the visibility of menu items on my site. Unfortunately, it’s not compatible with my theme’s menu… so every time I want to add or change a menu item’s visibility, I have to change to another theme to use it , then change back. Clumsy, but it works! https://wordpress.org/plugins/nav-menu-roles/screenshots/

    RecDC
    Participant

    I’m using: WordPress 4.1.2, BuddyPress 2.2.3.1, SelfHelp.on.ca

    Ran into an obstacle. I am at the step of installing Group & Sitewide Forums. No. 7 of the instruction has me stuck. I stopped after adding the Forums page with the code in it to, to the menu. There is a picture to the right of the instruction depicting how step 7 should go, but I don’t ever see that screen when I try to do step 7. I even tried adding a new page called Group Forums and I don’t even see the option to change from ‘forum’ to ‘category’. See instructions below
    • Create a new Forum as the “parent forum” for all of your Group Forums.
    • Go to Forums > Add New
    • Add Title, e.g. Group Forums
    • Change Forum Attribute Type from “Forum” to “Category”

    @mcuk
    Participant

    Hi all,

    I’m trying to move the Favorites subnav tab and associated page so it appears instead underneath the Notifications nav tab. I don’t want to change what appears on the page by default, purely just move its location. I’m familiar with creating/removing new nav/subnav tabs but am unable to find the correct function to make the page appear as it does by default when its under the Activity nav tab.

    (I also want to do the same with the Mentions subnav tab/page).

    I’ve looked around for a good long while in the forums and the Buddypress files but am not making any headway apart from what I’ve pasted below. Am I calling the correct screen function & link?

    Code I have in my bp_custom.php is:

    <?php
    // Add a new subnav menu tab for Fave under Notifications tab
    function fave_subnav_tab() {
    global $bp;
    $parent_slug = ‘notifications’;

    //Add subnav item
    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Fave’ ),
    ‘slug’ => fave,
    ‘parent_url’ => $bp->loggedin_user->domain . $parent_slug.’/’,
    ‘parent_slug’ => $parent_slug,
    ‘screen_function’ => ‘bp_activity_screen_favorites’,
    ‘position’ => 30,
    ‘link’ => bp_activity_screen_favorites(),

    ) );
    }

    add_action( ‘bp_setup_nav’, ‘fave_subnav_tab’ );
    ?>

    WP Version: 4.1.1
    BP Version 2.2.2.1

    Thank you for any assistance!

    #237138
    David Bisset
    Participant

    @shanebp

    The change to ‘bp_ready’ gets past the “crapstop” but my plugin no longer shows up in the menu. Although i’ve always thought ‘bp_loaded’ was the proper hook here, for the moment i’ll take it.

    Here’s the full bit of code. Perhaps i’m not init the class properly here?


    function curgi_group_import_init() {

    if ( !function_exists('bp_forums_new_forum') ) { echo "crapstop"; exit; }

    buddypress()->curgi_group_import = new CurrikiGroupImport();

    }
    add_action( 'bp_ready', 'curgi_group_import_init', 20 );

    #237082
    @mercime
    Participant

    @mrgiblets @ihavetodothis you can change the name of Sitewide Activity when you create a New Page and name it as “Vavoom” for example (leave text area blank) and publish that page. Then you go to admin menu Settings > BuddyPress > Pages and assign “Vavoom” for example to the Activity component and save.

    #236663
    davelr1
    Participant

    Hi!

    I want to change the regular group role capabilities but I just can’t find the place where these capabilities are defined. I found where I can edit side-wide admins/mods capabilities but not for the group ones.

    By now… a group moderator can only edit replies/topics and mark as spam. I would like to give them the capability to also kick/ban members. I just want to set that because some groups have a lot of members and the admin need some extra help keeping everything clean without the need to promote others as admin.

    I already set a menu above users avatar’s generating the ban/kick link.. so.. there’s no need for group mods have the permission to access group admin page.

    Wordpress 4.1.1
    Buddypress Version 2.2.1

    Thank you for your attention! =)

    #236491

    In reply to: Scheduled Posts

    @mercime
    Participant

    @buddypresslost
    1) The default WordPress Role for all BuddyPress members is the Suscriber role. In order to allow any/some members to go to the backend to create a blog post, you need to navigate to the wp-admin menu Users > All Members and change the role of the member/s from Suscriber to either: :
    – “Contributor” – cannot publish, can only submit a post for review. The Editor or Administrator can schedule the post at future date and the post automatically gets published at the scheduled date.
    – “Author” – can set the publish date to future date and the post gets published at the scheduled date.

    2) Not sure why you need a system as the post does get published at a future date set in the “Publish” attribute within the “Publish” box in the panel.

    Xander206
    Participant

    WordPress 4.1.1 – Fresh install to a subdirectory
    BuddyPress 2.2.1 – (Awesome Plugin!)
    iBuddy Theme 1.0.2 (also posted a request in WP Theme Support page)

    When I click on my profile Settings->Profile Visibility nothing loads below the menu bar in the content area where I suspect the various profile visibility options should be.

    I have checked the various PHP files to ensure they contain the latest path and terminology changes made in the last year or so; it seemed to match the latest documentation i could find.

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

    There is not a profile.php file in …BuddyPress/Members/Single/Settings as I expected.

    I went ahead and tried downloading the latest version of that file from the default BP theme but it didn’t change the behavior.

    Any idea why the Profile Visibility link would not display any options?

    I noticed the theme I am using has not been updated since the above issue was resolved and I have requested support on the iBuddy Theme Support page but it has not been responded to in quite a while.

    Any guidance regarding what I should do next would be appreciated.

    Thank you!

    Studdlypig
    Participant

    @hugo
    Thank you for taking the time to respond. The advice on changing the name in the plugin folder allowed me to get back into the wp-admin log in. After reading what you said about I looked at the ‘Activation’ drop down and it was set to login so I think that is where I went wrong. When I change it to none buddypress informs me ‘The following active BuddyPress Components do not have associated WordPress Pages: Activate. Repair’ what kind of page so I have set for that drop down menu? Do I need an additional plug in or do I just make a new page for it? Any advice would be much appreciated.

    Thank you again!

    #235298
    danbp
    Participant

    @rosyteddy,

    snippets published on the forum are generally related to a specific topic/question. And of course, dependant of theme and/or bp version, if not php or mysql or server settings. Over the time, they stop working or can’t be used anymore because the Core changed or because of other evolutions….

    Despite having a kind of snippet store accessible by forum menu seems to be a usefull idea, it is not. Each usage case is different and can not be extended to all case. FYI information, i had the same idea a few years back, and was quickly discouraged to do so by our Core dev. I was first disapointed, but i finally had to admit they where right. And today, i’m absolutely persuaded and on the same line.

    That’s why you have Codexes. For WP, BP or bbP with general explanation of default usage and more rarely, with usage examples. If you find a snippet example in Codex, in 95% of cases, you have to adapt it to your personnal usage.

    To answer your question, as you know, BuddyPress is (only) a WordPress plugin. When installed, the site continue to work with WordPress and WP dashboard. Nothing is modified in WP Core, only that BP was added to the site. As a plugin.

    How to handle WordPress is explained and widly documented in his Codex.
    Menu management, CPT management or how to modify menu items on Toolbar or Admin bar is also documented. And the’re so many sites giving WP tips (from excellent to awfull), you can read.

    #234484
    David
    Participant

    Hi, can you please help?

    I’m setting up a site using WP 4.1 as of 02/14/2015. For some reason the Register page does not show up whether I am logged in as an Administrator or logged out and looking at the site from the visitor’s perspective. Obviously there’s something wrong but I can’t find it yet.

    There are no other pages called Register, the page was activated and saved in the BP settings, and yet it does not exist that it can be used or seen in any way. There is also no Activate page visible or possible to use and yet the page exists.

    When I keep going to the BuddyPress Settings page and then go to Pages, the Register and Activate pages do exist but I can’t set and save the changes so that BuddyPress accepts a Register and an Activate page in the settings. I’ve tried about ten times to check. The pages exist, are there, in the menu, but there is no coding in the pages and it’s impossible to save those pages in the Settings.

    Is BuddyPress no longer good with the most recent WordPress? I’ve deactivated all other plugins and logged out and looked at the site repeatedly and there’s still no way to Register or Activate a forum account. Can anyone please help with what I could be doing wrong? I’m wondering at this point if I need to just delete the site database and just try it all over again and just add WP and then BP and try again and if it doesn’t work the next time try BB Press? Also, I noticed on some BuddyPress pages there appears to be a weird white “sub menu” in the background that can’t be used or read clearly but is not on other pages.

    So I’m lost at this point. The site URL is ChubbyBunny.info if you can help. I’ll leave it off maintenance mode…………

    #234388

    In reply to: Custom Profile menu

    barodscheff
    Participant

    Thank you but your solution is outdated. I’ve found it also while searching.
    And thats the big problem with buddypress. There was an update about one year ago and everything changed. So nearly all common customizations do not work any more.

    Thats the reason why the plugin ‘buddypress custom profile menu’ also doesn’t function anymore.

    Fortunately I found the solution. It looks like this:

    function profile_new_nav_item() {
    
    		global $bp;
    
    		bp_core_new_nav_item(
    			array(
    				'name'                => 'Contact Athlete',
    				'slug'                => 'contact_athlete',
    				'default_subnav_slug' => 'extra_sub_tab',
    				'position'            => 160,
    				'screen_function'     => 'view_manage_tab_main'
    			)
    		);
    	}
    
    	add_action( 'bp_setup_nav', 'profile_new_nav_item', 10 );
    	
    	// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    
    	function view_manage_tab_main() {
    		add_action( 'bp_template_content', 'bp_template_content_main_function' );
    		bp_core_load_template( 'template_content' );
    	}
    
    	function bp_template_content_main_function() {
    		if ( ! is_user_logged_in() ) {
    			wp_login_form( array( 'echo' => true ) );
    		}
    	}
    	
    	// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    
    	function profile_new_subnav_item() {
    		
    		global $bp;
    
    		bp_core_new_subnav_item( 
    			array(
    				'name'            => 'Extra Sub Tab',
    				'slug'            => 'extra_sub_tab',
    				'parent_url'      => $bp->loggedin_user->domain . $bp->bp_nav[ 'contact_athlete' ][ 'slug' ] . '/',
    				'parent_slug'     => $bp->bp_nav[ 'contact_athlete' ][ 'slug' ],
    				'position'        => 10,
    				'screen_function' => 'view_manage_sub_tab_main'
    			) 
    		);
    	}
    	
    	// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    
    	add_action( 'bp_setup_nav', 'profile_new_subnav_item', 10 );
    
    	function view_manage_sub_tab_main() {
    		add_action( 'bp_template_content', 'bp_template_content_sub_function' );
    		bp_core_load_template( 'template_content' );
    	}
    
    	function bp_template_content_sub_function() {
    		if ( is_user_logged_in() ) {
    			bp_get_template_part('my-contact-form');
    		} else {
    			wp_login_form( array( 'echo' => true ) );
    		}
    	}

    I hope it helps anyone.

    Finally I’d like to say that I have never seen such a bad documentation in development as in buddypress. I know buddypress is free but WordPress is free too and they have a great doc.

    #234181
    revadigital
    Participant

    Hi – I changed Messages to Mail in the BuddyPress nav menu. And everything is fine except for members/[user]/messages/view/[#]/ page where the member views their messages. That tab still shows “Messages” instead of “Mail.” Below is the function that I added to bp_custom.php.

    function sb_custom_messages_menu_tabs(){
    global $bp;
    if ( bp_is_user() && bp_user_has_access() ) {
    $count = messages_get_unread_count( bp_displayed_user_id() );
    $class = ( 0 === $count ) ? ‘no-count’ : ‘count’;
    $bp->bp_nav[‘messages’][‘name’] = sprintf( __( ‘Mail<span class=”%s”>%s</span>’, ‘buddypress’ ), esc_attr( $class ), number_format_i18n( $count ) );
    }
    }
    add_action(‘bp_setup_nav’, ‘sb_custom_messages_menu_tabs’, 201);

    Any reason why this would not work for the page where members view their messages?

    #234107
    AlexTuesday
    Participant

    Alright, so I’m having a bit of a weird issue. My site went live about 24 hours ago – before then, everything was working fine. We went into a “freeze period”, no plugin or coding changes. Went live, and after a bit the members page decides to stop work.

    Mysite.com/members takes an insane amount of time to load (despite all other pages being fine). Mysite.com/members/?s=searchterm is also having the same problem. Mysite.com/members/username is fine.

    Once the page loads, its either entirely blank (just the page name and sidebar), or it loads the header (member search, order by menu, all members and my friends buttons), and one or two user listings as normal with blankness after.

    My only possible explanation is that we did somehow manage to register 3,000 non-spam accounts in 24 hours, and the page is struggling to load it (even though only 2,200 are considered active on buddypress). But all other pages are working fine (including activity, which basically never stops updating). Anybody know how to fix it?

    #234052
    Kir 2012
    Participant

    Hi there I’m looking to style all of the corners of the buddypress admin bar that drops down in the top right hand corner, so they’re rounded. Can anyone help me with the css? I’ll paste in below what I’ve got so far: I patched the below together using firebug & a paste from somewhere (the change admin bar with more effects bit which gives me a white dividing line between dropdowns although none of the rest of it seems to do anything) Can anyone help? I’m really stuck! Many thanks

     /*change admin bar color*/
    #wp-admin-bar #wp-toolbar #wpadminbar #wp-admin-bar-user-actions #wp-admin-bar-my-account #wp-admin-bar-edit-profile 
    .ab-sub-wrapper,.ab-submenu,.quicklinks,.ab-item,.menupop{
    background: #63486e !important;
    font-weight: bold !important;
        font-family: "Lato" , sans-serif !important;
        color: #ffffff !important;
        
    }
    .menupop:hover,
    .quicklinks:hover,
    .ab-item:hover{
        color: #fff200!important;
    }
     
     /*change username  color* (under display name in drop down avatar in admin bar*/
    .ab-sub-wrapper,.username {
    background: #63486e !important;
    font-weight: bold !important;
        font-family: "Lato" , sans-serif !important;
        color: #ffffff !important;
        
    }
     /*change display name in drop down avatar in admin bar so big*/
    .display-name {
    font-size: 17px !important;
    font-weight: bold !important;
      }
    
     /*change admin bar with more effects*/
    .ab-item{ 
    background: #fff url(images/black_top.png) top left repeat-x;
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#111111));
    background: -webkit-linear-gradient(top, #ffffff, #111111);
    background: -moz-linear-gradient(top, #ffffff, #111111);
    background: -ms-linear-gradient(top, #ffffff, #111111);
    background: -o-linear-gradient(top, #ffffff, #111111);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    -moz-box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1);
    }
Viewing 25 results - 201 through 225 (of 845 total)
Skip to toolbar