Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'change buddypress menu'

Viewing 25 results - 201 through 225 (of 578 total)
  • Author
    Search Results
  • #230150

    In reply to: how to change url path

    danbp
    Participant
    #222724
    rudik123
    Participant

    I do not want add a new position in menu. I would like to add seperator “#main” in urls in buddypress menu (http://s13.postimg.org/vl0x0ghhz/Bez_nazwy_2.jpg). Seperator #main -> scroll down page, under header.

    I try this code for change url for friends:
    define ( 'BP_FRIENDS_SLUG', 'friends/#main' );
    but i see 404 page.

    Pr

    #222375
    rudik123
    Participant

    I fint that i must paste to url “#main” that i will be section “main” first. But where i can change a link in buddypress menu?
    I would like to will be that for:
    1. Message: http://forexample.com/members/admin/messages/#main
    2. Profile: http://forexample.com/members/admin/#main
    3. Notifications: http://forexample.com/members/admin/notifications/#main
    4. etc.
    5. etc.

    Where or How i can add “#main” ?

    #207002
    1a-spielwiese
    Participant

    @barchiola:

    You have to insert just that changes (i.e.: new style-definitions), which you want to make.

    E.g.: I intended to change the background color of my BuddyPress-menus. Therefore I inserted into my style.css, which is placed within my child-theme-folder:

    #buddypress div.item-list-tabs {
        background: #008080
    }
    
    #buddypress div.item-list-tabs#subnav ul li {
    	background: #DCDCDC
    }

    Doing that, the original background-color transparent is substituted – in the first case – by #008080 and in the second case by #DCDCDC.

    The result you can see there:

    http://1a-spielwiese.de/neuigkeiten/

    In the corresponding way I inserted the #008080-borders.

    1a-spielwiese
    Participant

    @r-a-y:

    “then simply edit the page title under the “Pages” menu in the WP dashboard.

    No, this does not work:

    My page titles there were – already before changing the bp-activity-loader.php and the bp-groups-loader.php – (and are there still) ‘Neuigkeiten’ and ‘Gruppen’:

    http://1a-spielwiese.de/wp-content/uploads/2014/10/WP-Seiten-Titel.jpg
    und
    http://1a-spielwiese.de/wp-content/uploads/2014/10/Neuigkeiten.jpg

    Nevertheless, in the frontend was displayed ‘Side-Wide Activities’ and ‘Groups’:

    http://1a-spielwiese.de/wp-content/uploads/2014/10/Page-Titles.jpg

    And there is displayed now ‘Gruppen’ – because I changed it inside the bp-groups-loader.php.

    And it is displayed ‘Neuigkeiten aus dem 1a-Spielwiese-Netzwerke’ (and not only ‘Neuigkeiten’) – because the bp-activity-loader.php (and not the WP Admin-Panel) is decisive.

    Therefore again:

    How can I prevent, that my changed bp-activity-loader.php and bp-group-loader.php files will be re-changed through the next BuddyPress-Update? – Would it work to place them somewhere into my child-theme-folder? And if so: Where precisely inside that folder I would have to place them?

    #201151
    1a-spielwiese
    Participant

    Follow-up:

    7th:

    Capability Manager Enhanced to define custom user roles, if you’re not satisfied with the default wordpress roles (subscriber, contributor,…).
    The first step is to create your user roles

    https://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/

    As ready implied there: I did this – and it works so far.

    8th:

    Create a xprofile field (selectbox) with the title “User Role” and name the options “Band Role” and “Fan Role” – in my case. You can call them whatever you want. Place this field in the “base” profile group, otherwise it won’t be shown during registration. Also make the field “required”. In my case the user can’t decide, if the visibility of the field can be changed.

    I did it already, when I installed and activated ‘BP Profile Search’-plugin – and it works.

    However, to choosed a dropdown menu and the categories ‘team’ and ‘fan’.

    9th:

    I modified:

    ?php
    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('User Role', $user_id));
        switch($user_role) {
            case "Band Role":
                $new_role = 'band';
                break;
            case "Fan Role":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    into:

    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('Mitglieder-Kategorie (Team oder Fan?)', $user_id));
        switch($user_role) {
            case "Team":
                $new_role = team';
                break;
            case "Fan":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    (I omitted <?php, because I created not a new bp-costum.php, rather inserted the code into my yet existing bp-costum.php. I inserted the modified code above the line ?>.)

    I did not understand, which effect this insertion should have – but, however, – as far as I see – it causes no harm.

    Did anyone understood, for which purpose the above mentioned code is?

    10th:

    I inserted as well:

    //hide the user role select field in edit-screen to prevent changes after registration
    add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2);
    function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
    
    //only disable these fields on edit page
    if(!bp_is_profile_edit())
    return $fields;
    //please change it with the name of fields you don't want to allow editing
    $field_to_remove=array("User Role");
    $count=count($fields);
    $flds=array();
    for($i=0;$i<$count;$i++){
    if(in_array($fields[$i]->name,$field_to_remove))
    unset($fields[$i]);
    else
    $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
    }
    return $flds;
    }

    into my bp-costum.php – again above the line ?>.

    It does not work:

    — threre the user role is still changeable:

    http://kampfsportlerinnenneuwied.1a-spielwiese.de/wp-content/uploads/sites/2/2014/09/user_role_still_changeble.jpg

    http://1a-spielwiese.de/members/kampfsportlerinnenneuwied/profile/edit/group/1 causes an redirection error. – The redirection error disappears, when I’m not logged in as kampfsportlerinnenneuwied, rather as superadmin.

    #201090
    mabellaneda
    Participant

    Hello,

    I’m suffering a lot of issues too with the translation into Spanish, in such a way that I had to patch it several times after trying different configurations.

    So! To the point. It works for me now and I explain here my current configuration:

    1. I’ve downloaded the BuddyPress translation package from https://translate.wordpress.org/projects/buddypress/ and contributed with some translations (specifically for Spanish: https://translate.wordpress.org/projects/buddypress/dev/es/default)

    2. Saved the .mo and .po files in /wp-content/languages/plugins as recommended by the Moderators: https://translate.wordpress.org/projects/buddypress/dev/es/default.
    And configured the site in Spanish (particularly I tried to do it dinamically)

    3. Becuase I try to change the language dinamically according to the browser preferred language I use the xili-language plugin, which “helps” you to manage in what language you’ll display your WordPress, but I’m no sure if it is decisive for the BuddyPress translation. In this plugin there’s a configuration to mention and not enough documented. In case you use the plugn, in the tub “Settings for expert” there are rules to specify. My configuration is:
    Wordress rule –> translation in local
    BuddyPress rule –> no modification

    5. At this point the translation didn’t work correctly or I didn’t succeed in translating some strings that remained in English (like: “Members”, “Groups”, “Notifications”, “Activity” in the BuddyPress navigation menu and others). So, I edited the .po file with PoEdit and updated it with the BuddyPress catalog “buddypress.pot”:

    Customizing Labels, Messages, and URLs

    6. I updoaded the modified .po and .mo files to the mentioned folder /wp-content/languages/plugins and didn’t change a thing. I read then in forums the different issues with translations, for example:

    https://buddypress.org/support/topic/translation-fails-only-at-sitewide-activity/
    https://buddypress.trac.wordpress.org/ticket/5655
    https://buddypress.org/support/topic/buddypress-2-1-bp-language/
    https://buddypress.trac.wordpress.org/ticket/5887
    https://buddypress.org/support/topic/buddypress-2-1-known-issues/ (here there’s another workaround)

    7. And I added the following lines to the file functions.php of my child theme:

    function igf_my_child_theme_setup() {
    load_child_theme_textdomain( ‘my_child_theme’, get_stylesheet_directory() . ‘/languages’ );
    load_plugin_textdomain(‘buddypress’, false, basename( dirname( __FILE__ ) ) . ‘/languages/’ );
    }
    add_action( ‘after_setup_theme’, ‘igf_my_child_theme_setup’ );

    And it begans to translate correctly! I’m sorry I really don’t understand why. Furthermore I thought that the buddypress textdomain was set by the plugin xili-language but, as I said, I’m not clever enough or it is not well documented.

    I know there’s a lot of steps to do, I was really frustated with it, but if you try something like this

    Anyway, as this is my first post, I have to thank to the developers for the software and the great effort, of course; it has helped me a lot too.

    Regards.

    #200995
    wayne alex
    Participant

    Hi @mercime,

    I have changed to the Twenty Fourteen Theme and deactivated all plugins except buddypress, with the twenty fourteen theme everything works fine and there is no duplicate Buddypress profile menus with all plugins activated, I am using the bp-social child theme from wpmudev, even when all plugins are deactivated except buddypress the issue is still there with this customized child theme. Also when i switch to the parent theme bp-social there is also no duplicate menu with all plugins activated.

    Really need some help with this one!

    Thanks,

    Wayne,

    #197321
    1a-spielwiese
    Participant

    1st:

    Yes, I did not inserting at the beginning of the bp-custom.php:

    <?php
    // hacks and mods will go here
    ?>

    I would like to suggest to set there (and at all similar places) links from “bp-costum.php” to https://codex.buddypress.org/themes/bp-custom-php/

    2nd:

    But even after inserting the three above mentioned lines it does not work.

    3rd:

    With that code I had yesterday the same problem: It worked with inserting the code into the functions.php of my theme folder, but it works not with inserting it – as suggusted there – to bp-custom.php.

    4th:

    a) Currently the name of the file is:

    bp-custom.php

    b) It is placed within the folder wp-content/plugins (not inside the buddypress folder; rather on the same level as the buddypress folder).

    c) The entire content of the file is:

    
    <?php
    // hacks and mods will go here
    ?>
    
    function bbg_change_profile_tab_order() {
    global $bp;
    
    $bp->bp_nav['profile']['position'] = 10;
    $bp->bp_nav['activity']['position'] = 20;
    $bp->bp_nav['blogs']['position'] = 30;
    $bp->bp_nav['friends']['position'] = 40;
    $bp->bp_nav['messages']['position'] = 50;
    $bp->bp_nav['groups']['position'] = 60;
    $bp->bp_nav['settings']['position'] = 70;
    }
    add_action('bp_setup_nav', 'bbg_change_profile_tab_order', 999 );
    
    /**
     * Change BuddyPress default Members landing tab.
     */
    define('BP_DEFAULT_COMPONENT', 'profile' );

    d) I changed the wp-config.php and the functions.php back to their old versions. But it still does not work:

    The code of the bp-custom.php appears above the header of blog:

    http://1a-spielwiese.de/members/balletttaenzerinnenkrzbg36/

    and the “Activity”-Tab and it’s content is displayed at first.

    #186326
    Daneraid
    Participant

    Specs…
    WP 3.9.2
    BP 2.0.2
    I use Bluehost
    No Core Files Changed
    Also using BuddyMenu 2.2.0 to utilize shortcode for community homepage
    I am using BuddyPress with OptimizePress 2.0 and creating a community page.
    I have enabled the members to create groups

    Everything works well except for the fact that members cannot see public groups or a group directory.

    From the Groups Menu the Sub-menus are “Memberships” and “Invitations”
    In the “order by” drop down there is no way of finding anything either.

    I want new members to be able to access the group directory and join the public groups I already created with the admin account.

    Any suggestions?

    #186064
    danbp
    Participant

    Yes i meant permalinks settings.
    https://codex.wordpress.org/Settings_Permalinks_Screen
    By going on the permalink page and simply clicking on update, without doing any change, will refresh the whole site urls. This is recommanded after heavy modification on pages, posts, menus.

    You can also check the permalink format on the “member” page, just in case off. Sometimes there is a number at the end of the URL which shouldn’t be…

    Activate debug mode and see if you receive somme other error msg
    https://codex.wordpress.org/WP_DEBUG

    If nothing works, read here and provide the whole bunch of information.

    #186017

    In reply to: Create new entrance

    danbp
    Participant

    New post or a page publication is made by WordPress, not by BuddyPress.
    The only pages BP needs are those created for each activated component. The content of these page is generated dynamically, depending of the context, and in fact, these pages are only intended for internal purpose, to fit with WordPress’s fonctionnalities.
    In a few words, BP is using the wp page system, but doesn’t use a page like WP.
    https://codex.wordpress.org/Pages

    So the question is how to allow your users to publish a blog post directly from the frontend.
    https://wordpress.org/plugins/front-end-publishing/

    For pages, it’s a bit more delicate.
    WordPress pages are generally used for displaying static content. That’s why publishing pages is under the responsability of the site owner and/or an editor, but not allowed (by default) for authors or contributors. Also, accessing to pages will need some menu adjustment.

    I wouldn’t recommend to let your authors handle pages.

    #185803
    eqerhe
    Participant

    Thanks, @henrywright

    I think TML just handles redirects after logging in or out. What I’m looking for is a way to manage the redirect when someone who isn’t logged in tries to visit a page that’s only for members, or someone visits a page that their membership type doesn’t allow them access to.

    For example, I’d like anyone to be able to see the member and group directories, but only members should be able to look at individual profiles and the group pages and forums.

    That being said, I was thinking today that I’d actually like separate pages for visitors or people who aren’t logged in to be able to see those things and other info, so maybe I’ll handle it that way. I guess then what I’m actually looking for is a way to change the top menu depending on whether someone is a logged in member or not.

    Sorry for a babble. This is my first swing at BuddyPress, so it’s all trial and error for me right now! Thanks for the help!

    #185093
    @mercime
    Participant

    username appearing twice on registration form


    @jaciando1
    Change the “User Name” profile field name in the “Profile Details” box -> go to admin menu
    Users > Profile Fields and click on the “edit” button under that profile field name.

    I also appear to have two different register forms???

    You can add the following to your theme’s functions.php page:

    /* If BuddyPress is active */
    if ( class_exists('BuddyPress') ) {
    	add_action('init','mme_redirect_register');
    	function mme_redirect_register(){
    		global $pagenow;
    		if( 'wp-login.php?action=register' == $pagenow ) {
    			wp_redirect('http://buddypress.dev/join-us');
    			exit();
    		}
    	}
    }

    Change http://buddypress.dev/join-us to your site’s register page.

    DarkElement1987
    Participant

    Well if i deactivate the widget, the announcement shouldn’t be there. And if i deactivate buddypress from the plugins menu the message is gone so i don’t think it’s theme related.

    Could you tell me in simple english what i can do (Step by step) cause i’m not that good a English speaker.

    If i drag the Widget to the sidebar from the admin panel the only thing i can fill in is a title for the widget. A new message is impossible, so somethings messed up, but when i apply changes the old notification is there again.

    Screenshots of how it is right now:
    http://i62.tinypic.com/2zfilbm.png
    http://i58.tinypic.com/2mwe70k.png

    #182237

    In reply to: Page Hierarchy Pain

    Mathieu Viet
    Moderator

    Hi @localiseorg

    Socialise (sitewide activity assigned to this)
    – Members (members directory assigned to this)
    – Groups (groups directory assigned to this)
    – Forums (bbPress forum root assigned to this)

    Have you tried using a wp_nav_menu instead ?

    I think, if i was in your situation, i’d make a wp_nav_menu with your different pages.. It could be “home”, “blog”, “socialise” for instance. And from the wp_nav_menu WordPress UI, i’d attach the Members/Groups and forums as submenus of Socialise.

    Then concerning the Socialise title that is “Sitewide Activity”, i’ll begin to edit the activity page changing the title from Activity to Socialise and use a little code like the following:

    function change_activity_directory_title() {
    	buddypress()->activity->directory_title = buddypress()->pages->activity->title;
    }
    add_action( 'bp_activity_setup_globals', 'change_activity_directory_title' );
    #180314

    In reply to: Display Profile

    hepar
    Participant

    Hi,

    unfortunately I still have the same problem.
    I have buddy press just uninstalled and reinstalled. It changes nothing. I have disabled all plugins and activated BuddyPress. The problem arises immediately. So it can have nothing to do with the other plugins.

    The problems:
    When I click on the navigation bar on profile, the error message 404 appears.
    In the menus, no choice point for BuddyPress appears.

    Please help me as soon as possible. The site should go online these days.

    Many thanks and best regards

    #179760
    mcpeanut
    Participant

    @matthewhout Hmm, buddypress settings are located in the settings submenu in wordpress dashboard, make sure you turn on all the options you need in there, also make sure your pages are setup in there as you want them to, also dont forget to go to settings and permalinks too, and select which permalinks you prefare, hopefully everything should be fine for you then, well if i understand correctly that the issues you where having was due to having a windows server and now you have changed to a linux server? i cant see there being any problems with a fresh install.

    #179077
    Renato Alves
    Moderator

    You can edit the code on the BuddyPress pages and change it to the left. Clearly only some of the BP pages have the Menu on top, you change in those pages and you’ll be good.

    #177578
    xjamesb
    Participant

    Dear Judith,

    see here

    http://premium.wpmudev.org/forums/topic/how-do-i-change-a-buddypress-group-avatar?replies=3#post-595293

    You can update it through the Group Admin menu in WordPress site itself but you must have upload Avatars ticked in the dashboard.

    Tim2376
    Participant

    Yes, I know you can edit all the field from the back end. However, I am trying to get it to allow you to show and edit the fields from the front end. Here were the steps I am thinking about using:

    1) Use BuddyPress Custom Profile Menu plugin to create new tabs on the profile page like, “about”
    2) make a function in function.php of my theme that would display the content for a user and allow them to edit it if it was their profile.
    3) create a shortcode function that linked to the function in step 2.
    4) Add the shortcode in the new page created with BuddyPress Custom Profile Menu plugin in step 1.

    I know how to do step 1, 3, and 4. I have an idea of how to do step 2, but I am a little fuzzy on it. Here is what I was thinking(I don’t really know php):

    function ProfileAboutPageContent(){
        if(bp_loggedin_user_id() == $GLOBALS['bp']->displayed_user->userdata->user_login)
        {
        echo "<p>'"bp_profile_field_data( 'field=User Bio' )"'</p>";
        //Allow user to edit the content(not sure how)
        } elseif {
        echo "<p>'"bp_profile_field_data( 'field=User Bio' )"'</p>";
        {
    }
    add_shortcode('AboutContent', 'ProfileAboutPageContent');

    Are there any errors in this code? I am not sure how to allow users to edit the content if they are the right user. Any ideas on how I could change this code? I am planning on putting this code in the function.php of my current theme.

    The idea is that after I get this function and short code right I can add the shortcode to the new page I can create with the BuddyPress Custom Profile Menu plugin.

    If anyone would be willing to help me figure this out I would greatly appreciate it. Thanks!

    nextstep
    Participant

    OK RESOLVED.

    Thanks NM, Yes it was the BuddyPress Album component that I had disabled while trying to sort out the group avatars and not reactivated while trying to fix this error.

    When I reactivated the BP Album plugin the error message disappeared.

    So it was specific to the theme I set that menu item on – it did go away when I changed the theme – thanks Hugo.

    And thanks again NM

    Cheers!

    brinkingyellows
    Participant

    Hi @r-a-y. Here are the plugins I am currently using on the site.

    Network Activated:

    Advanced Responsive Video Embedder
    Anti-Splog
    Are You a Human
    bbPress
    bbPress – Report Content
    bbPress Enable TinyMCE Visual Tab
    bbpress Simple View Counts
    BP Profile Search
    BuddyPress Activity Plus – (I did deactivate this after the 1.9.1 update but nothing changed)
    BuddyPress Avatar Bubble
    BuddyPress Follow
    BuddyPress Group Calendar
    BuddyPress Groups Extras
    Buddypress Social
    BuddyPress Toolbar
    BuddyPress Twitter
    Buddypress Xprofile Custom Fields Type
    GD bbPress Toolbox
    Group Forum Crumbs
    rtMedia for WordPress, BuddyPress and bbPress
    User Activity
    WP User Avatar

    —-

    Single Site Actived

    Amazon Product In a Post Plugin
    BuddyMenu
    BuddyPress Notifications Widget
    Really simple Facebook Twitter share buttons

    That’s about all the plugins that I have active that play a heavy part in Buddypress or are loosely connected to it.

    chibichiii
    Participant

    I’m also looking for a similar solution to this, it’s just so unlogical to have such a fine working BuddyBar “My Accounts” but in such a place where it simply gets burried.
    I am using mostly widgets together with the main navigation. And I would so desperately just want to add THAT menu, into my own excisting menu’s if I only knew how. Or add it to a widget I would settle for that as well. It’s too bad this isn’t a standard function from Buddypress cause I really don’t like letting people into my wordpress backend. So I would prefer to disable the Admin bar for my members. But now I can’t because then they don’t have a menu.
    I also tested the new Buddypress componants in wordpress custom menu’s this is a good step in the right direction. But you don’t have links like to someone’s forum topics, favorites, subscribed etc. Like you have in the buddybar. Or going to the Change avatar link, just too many goodies to miss to leave out the admin bar now.
    Can someone help out here?

    #175772
    Shmoo
    Participant

    It’s my theme and I code WordPress themes for like 5 years now but I don’t see myself as a Developer it’s more a hobby 🙂

    I’m solid at HTML-CSS and can read PHP when I see it happen but I can’t write PHP it out of the box.

    This error shows up when I try to hide a complete xProfile-group-ID or just an unique xProfile-field-ID from the loop.

    This is what I did.
    Inside: my-theme/buddypress/members/single/profile/profile-loop.php
    I found the start of the loop

    
    <?php if ( bp_has_profile() ) : ?>
    ....
    

    My first thought was, maybe there are default options here to control the output of which ID’s will be visible so I started the search how the bp_has_profile() was build and looked into plugins/buddypress/bp-xprofile/bp-xprofile-template.php and found this at line 150:

    
    ....
    
    $defaults = array(
    	'user_id'             => bp_displayed_user_id(),
    	'profile_group_id'    => false,
    	'hide_empty_groups'   => true,
    	'hide_empty_fields'   => $hide_empty_fields_default,
    	'fetch_fields'        => true,
    	'fetch_field_data'    => true,
    	'fetch_visibility_level' => $fetch_visibility_level_default,
    	'exclude_groups'      => false, // Comma-separated list of profile field group IDs to exclude
    	'exclude_fields'      => false  // Comma-separated list of profile field IDs to exclude
    );
    

    This looks very familiar to bbPress so my first thoughts was lets try to add one of those Array’s to the loop and overwrite the default value.
    Just like this.

    
    <?php if ( bp_has_profile( array ( 'exclude_groups' => 1 ) ) ) : ?>
    ...
    

    This works perfect, it hides all xProfile-fields from the first Base primary Tab (back-end). Just like I wanted it because I didn’t want all the fields to show up front-end, I’ve got a few xProfile-fields that I use for user-customization of the profile-page. Each user can add color-codes to change the default menu-color and add background-images to their profile-page to make each profile a little more unique.
    Those field-ID’s are just urls or color-codes and don’t have to be visable to the public, thats why I try to hide them front-end.

    buddypress member pofile tab

Viewing 25 results - 201 through 225 (of 578 total)
Skip to toolbar