Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'change buddypress menu'

Viewing 25 results - 651 through 675 (of 845 total)
  • Author
    Search Results
  • #16254
    emailaya
    Member

    hi
    wp301 bp126
    when i solve 1 problem, another problem comes in, instead, amazing.

    now the blog itself seems to work ok but when i click on members/groups/forums etc in the menu i get error 404.

    same with permalinks: now im using the default /p=? and it works but buddypress tells me to change it to something “prettier” so if i change to /%categoryname%/%postname%/ i get 404 error.

    all the above is without .htaccess file. ONLY i change the permalinks, it tells me to put a certain .htaccess file but if i do, i get internal error 500

    please advice
    thanks

    Krektor
    Participant

    Hi all.

    I am using WP 3.0.1 and Buddypress 1.2.6 along with bbpress installed from the Buddypress menu.

    All is working great. I have ironed a few issues out along the way, mainly with usernames as I am also using the WP-FB-AutoConnect plugin for Facebook user registrations and logins.

    To solve my problems, I added the following to my wp-config.php file.

    `define( ‘BP_ENABLE_USERNAME_COMPATIBILITY_MODE’, true );`

    This removed any symbols, spaces, etc ported over from Facebook registrations great and all links seem to work, apart from one:

    Links to a user on the main forum thread pages (both via their avatar and username) are incorrect! On this page, the usernames that have been changed by the above mod are showing with symbols in them, and therefore do not work when clicked!

    This only happens on the actual thread page, and not on the group forums page under the ‘Latest poster’ column.

    Can anyone point me in the right direction as to how to fix this at all? Or where to look?

    Just to add, I have also noticed that when on the forum thread page, that any links in the ‘Recently Active Member Avatars’ widget also shows the incorrect username in the URL, however if you navigate away from the page, it then goes pack to the correct one.

    It’s as though the bit of code is having an affect everywhere except this one place.

    Thanks for any help!

    #96469
    emailaya
    Member

    seems like all my links in the blog are broken
    http://www.emailaya.com/blog/
    on any click i get that the url does not exists on the server, for example:
    /blog/members/admin/
    or when i hover a post title, the url is: http://www.emailaya.com/blog/http:/www.emailaya.com/blog

    the same happens when i choose an option in my account/notifications at the top menu.
    also i didnt find where can i change the settings for buddypress

    thanks

    #16128
    KT
    Participant

    Hi,
    I just installed this and seem to be having a strange problem with all the links. The blog links are working fine, however any of the links in the menu added by BuddyPress show up as 404 Page not found unless I add in index.php in the middle of the URL.
    e.g. The default Activity link in the menu is http://www.trashthestage.com/activity/ but it won’t work unless I manually change it to http://www.trashthestage.com/index.php/activity/

    This happens no matter what setting I have active in permalinks.

    How can I fix this? Thanks :)

    #95499

    In reply to: how to edit menus?

    @mercime
    Participant

    The navigation menu is in the header.php starting here https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/header.php#L46
    You can change the links by creating a Child Theme so your revisions won’t be overwritten when BP is upgraded.
    You won’t find the BP menus in the Appearance > Menu unless you revise the links in navigation menu an code navigation menus function in your theme’s functions.php file and add the template tag for that in header.php – https://codex.wordpress.org/Navigation_Menus
    You can also try out this plugin – https://buddypress.org/community/groups/add-all-nav-links-to-bp-adminbar/home/

    #95091

    Alright, concrete feedback now that I’ve played with your features.
    1) Header image is too small. I would like options to have a larger image. I like 275 px
    2) Remove the search from the header. I’d like options to remove that. It’s unneeded for my site.
    3) Title. It’s currently behind the gray bar for the buddypress. Move it down?

    Now, I’m just learning PHP, been using HTML for years. New to WordPress in last year. Can I make the above changes somehow in the style.php? I hate to make changes and break it.

    I like that it uses the custom menus, so much of my information needs to be accessed in it’s categories.

    Thanx for the hard work!

    Nirok
    Participant

    Hi all i’m creating a website at the moment using buddypress as a way of shop keepers to look after there shop profiles and allows for easy addition and deletion wehn shops change… I’m just wanting to know if there is a way to add an uploading function to the custom fields to allow files to be shown in a particular part of there profile when they upload a file…. I’m wanting this to allow users to upload a dinner menu for there shop, usually a pdf file… is this possible at the moment? I’ve used custom fields to add phone numbers etc etc, would be cool if it was possible to add an uploading area here aswell….

    Any ideas would be much appreciated….

    Thanks

    #15649
    Sven Lehnert
    Participant

    Custom Community Theme is a multi columns (left, right, left and right), widget-ready Buddypress theme. It comes in a clean and simple css-design in a light or dark version. You have an admin option page to customize nearly every part of the theme. It has a community-navigation widget, is 100% WP 3.0 compatible, e.g. custom menus. Also it has a custom header to change text color or add a logo or background-image.

    Demo:
    http://www.swpc-admin.themekraft.com/

    Download:
    http://themes.trac.wordpress.org/ticket/1396

    give some feedback ;-)

    #94339
    Bowe
    Participant

    @skolbloggense: BP-Slick uses the same BuddyPress translation strings so the theme should just work fine with your Translation. The only thing that is not yet translated is the menu navigation. But that can all be found in one file, which is organized and very easy to edit. I think it will take you about 10 mins to translate it!

    I will add po/mo files to the theme pretty soon (to make upgrading easier, so you won’t lose changes) but right now it’s yet added :) The Theme is now for sale btw.. It can be purchased with 20% discount until the end of the week: http://bp-tricks.com/purchase-bp-slick/.

    Here’s the sales page with it’s features: http://bp-tricks.com/pre-order-bp-slick/. And a short video on how to get it running: http://www.youtube.com/watch?v=gMb7tXXV6Rw&feature=player_embedded

    #93915
    rayd8
    Member

    I’m going to try and add the steps for the fix again. I didn’t see the note about using backticks for code…

    1. Open the index.php, save it to your theme as posts-page.php (or whatever template name you like).
    2. Edit the newly created posts-page.php file and place the following at the top to create a page template:

    `<?php
    /*
    Template Name: Posts Page
    */
    ?> `

    3. Now scroll down in the posts-page.php to the beginning of the WordPress loop and just before the line “ add this one line of code “ Note: (5 == the number of post to show you can change this to whatever you want.)
    4. Save the posts-page.php file.
    5. In your WordPress/BuddyPress admin panel create a new page called “Blog” (or something similar) and select “Posts Page” under Template.
    6. Publish page.

    You should now be able to go to your Settings -> Reading menu and set a static page and select your Posts Page to show your blog posts.

    jose
    Participant

    siteurl: sdcityrobotics.saltbored.com

    Ok so this is my first try at buddypress, and it looks like it will work for what I need, I just can’t get it functional! Any help would be greatly appreciated. We’re a non-profit robotics team based in SD and are using (our host is Bluehost) a current version wordpress install with the buddypress plugin turned on, also with the Group Documents plugin for group collaborative storage. 4 issues:

    1. When I an account gets created, I want the default role to be “author”, I con’t find where to set this, but even if I could……

    2. when I try to create an account, I get to the “Accounted Created” screen, but never get a confirmation email, and cannot login because am never given the chance to authenticate. What do I need to do to get accounts working right?

    3. When trying to redirect our url to the site, when editing in the wordpress General Settings, when I change the “Site URL” to be our pointed url, and not the url that is the location of the wordpress install…. The site breaks. How can I get our url to point at the site correctly?

    4. The menu items at the top of the page are controlled where? It has groups, forums, the blog page, and any static parent pages by default… but I can’t figure out where to set these to display how/where they’re displayed. Is this control possible easily?

    #93027
    phos flip
    Participant

    Don’t know if this is any use to anyone and no doubt there are far better ways of doing it but just in case it is of use….

    I’ve created (hacked really) a plugin made up of 3 files, one of which is useless for now but at a future point I’d like to play around with it.

    bp-group-catdisp.php

    `<?php
    /*
    Plugin Name: Display Categories
    Plugin URI:
    Description: Displays a blog category in groups
    Author: Mas
    Version: 0.1
    License: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
    Site Wide Only: true
    */
    if ( !defined( ‘BP_GROUP_CATDISP’ ) )
    define ( ‘BP_GROUP_CATDISP’, ‘programme’ );

    function bp_group_catdisp_init() {
    bp_group_catdisp_wrapper();
    }

    if ( defined( ‘BP_VERSION’ ) )
    bp_group_catdisp_wrapper();
    else
    add_action( ‘bp_init’, ‘bp_group_catdisp_init’ );
    //above links to admin screen in backend
    require(dirname(__FILE__) . “/bp-group-catdisp-admin.php”);

    // group options
    function bp_group_catdisp_wrapper() {
    class bp_group_catdisp extends BP_Group_Extension {
    var $visibility = ‘private’;

    var $enable_create_step = false;
    var $enable_edit_item = false;
    var $has_caps = false;

    function bp_group_catdisp () {
    global $groups_template;

    // group title

    $this->name = __( ‘Programme’, ‘programe’ );
    $this->slug = BP_GROUP_CATDISP;
    $this->nav_item_position = 12;
    $this->create_step_position = 12;

    // group ID for displaying category within
    global $bp;

    $group_array = array( 17,11 );

    if ( in_array( $bp->groups->current_group->id, $group_array) )
    //group ID to display in array. Note can reverse this code ie. set it not to display in listed groups by placing !in_array( $bp etc.

    {
    $this->enable_nav_item = true;
    } else {
    $this->enable_nav_item = false;
    }

    }

    function display () {
    global $bp, $groups_template;

    include(“bp-group-catdisp-edit.php”);

    //bit above links to file that prints to tab

    }

    }
    bp_register_group_extension( ‘bp_group_catdisp’ );
    }

    ?>
    `

    bp-group-catdisp-edit.php

    `

    stories4change Y-Care Programme

    Information and modules related to the Y-Care Programme 2010/11

    <a href="” rel=”bookmark” title=”Permanent Link to “>

    Sorry, no posts matched your criteria.

    `

    bp-group-catdisp-admin.php

    `<?php

    function group_catdisp_add_admin_menu() {
    add_submenu_page( ‘bp-general-settings’, __( ‘Group Categories’, ‘bp_group_catdisp’ ), __( ‘Disp Cats’, ‘bp_group_catdisp’ ), ‘manage_options’, __FILE__, ‘group_catdisp_plugin_options’ );
    }
    add_action(‘admin_menu’, ‘group_catdisp_add_admin_menu’, 15);

    function group_catdisp_plugin_options() {
    if (!current_user_can(‘manage_options’)) {
    wp_die( __(‘You do not have sufficient permissions to access this page.’) );
    }
    $updated = false;
    //above this is php for creating admin page and below is printed onto admin page

    ?>

    <?php
    if ( !$options = get_option( ‘bp_gm_settings’ ) )
    $per_page = 10;
    else
    $per_page = $options;

    $args = array( ‘type’ => ‘alphabetical’, ‘per_page’ => $per_page );

    if ( $_GET == ‘name’ )
    $args = ‘alphabetical’;
    else if ( $_GET == ‘group_id’ )
    $args = ‘newest’;
    else if ( $_GET == ‘popular’ )
    $args = ‘popular’;

    if ( $_GET )
    $args = $_GET;
    else
    $args = 1;

    if( bp_has_groups( $args ) ) :
    global $groups_template;
    ?>

    <?php
    if ( !$group )
    $group =& $groups_template->group;
    ?>

    Category

    Categories

    You don’t have any groups to manage.

    <?php
    }
    ?>
    `

    The first two hard code a group by ID and display a selected wordpress category within that group. The last file is the useless one. I’d started hacking from one of @boonebgorges plugins with the idea of creating an admin screen from which groups could be linked to blog categories.

    I’ve run out of time for now to play with that further and so for now am just going to duplicate the first two files for another couple of groups which will work for my purposes.

    #15242
    Mike Olaski
    Participant

    Hi all,

    I am finally installing BuddyPress on my Production Server (without much testing on dev I am affraid).

    I had much success until I changed the

    id’s to get the content of the pages to fit my theme properly. But now when you are registered the admin menu is not on the top of the page, but rather it is broken and on the bottom of the page.

    Can someone please help me trouble shoot this?

    You can register at the site here:

    http://themastercleanse.org/register/

    #15128
    Chad
    Participant

    I’m not very savvy when it comes to php – I have installed buddypress and the “enable multi-user” plugin, and I just want to change the nav title “blog” to “portfolio”….The word “blog” also appears in other places in the site, like “my blog,” “create blog,” ect, as well as in the search options drop down menu….I want to change all of these to say “portfolio.” How would I go about doing this? Thanks!

    #92526
    Paul Wong-Gibbs
    Keymaster

    This site uses a customised version of the current “trunk” code, which adds support to BuddyPress to integrate into WordPress’ pages system/menus properly.

    sayze35
    Participant

    I have WP 3.1 (multisite) and latest buddypress.. i have 800 blogs on the site.
    note: BP is only on the main site blog (ie. i don’t have BP for each blog site)

    1st) i understand that the new user needs the correct Role. By default, the new user was a ‘subscriber’….
    this page is missing some roles :(
    http://codex.wordpress.org/Roles_and_Capabilities

    what is a Member Role? there are 4 others not mentioned?

    2) Also by default, after I changed new user to a ‘member role’, the main site blog was added to the new member’s profile

    3) So how can I add a specific blog to a new user? I would LOVE to make this happen:
    a) upon registration, the user selects the blog they want to be associated with and
    select a group to be associated with.
    b) that happens automatically.
    c) what would be even better —- if a visitor is on blog XYZ on my site and then decides to become member and join… by default they are associated to XYZ blog and XYZ group.

    4) can anyone shed light on the concept of using the WP control panel (login to WP) vs. using the BP control panel (or the user admin menu/options/etc)

    does a user use both?

    thanks

    mariochampion
    Participant

    just to add to this discussion, concerning what hook to link it to…this is what works for me. i didnt have luck with bp_setup_nav for some reason. i dont recall where i got this example, but think its bp-xprofile.php itself. this worked in both theme>functions.php and in my own mmc_functions.php which i “require()” in functions.php

    just to add a hint of background, we are moving these two items to the ‘settings’ tab from the profile tab. the removing is trivial, the adding is trivial, the getting all the right functions/themes/forms called, not so much. but its done and it works.

    here is the code for removing sub-tabs — aka options:

    `
    //removes in a structural way.. no change to bp-xprofile.php

    function mmc_bpsetupnav_removefromprofile(){
    global $bp;

    if ( $bp->current_component == $bp->profile->slug ) {
    bp_core_remove_subnav_item($bp->profile->slug, ‘edit’);
    bp_core_remove_subnav_item($bp->profile->slug, ‘change-avatar’);

    }//end if
    }//end function
    add_action( ‘wp’, ‘mmc_bpsetupnav_removefromprofile’, 2 );
    `

    here is my code for adding them to the settings tab

    `
    ////////////////////////////////////////////////////////////
    ////// functions for moving to Settings tab the editprofile/change avatar sub-tabs

    function mmc_bpsetupnav_forsettings(){
    global $bp;

    if ( $bp->current_component == $bp->settings->slug ) {
    //define ( ‘BP_XPROFILE_SLUG’, ‘settings’ );//didnt have desirable effects. left her for documentation

    //this is essentially a clone of xprofile-settings.php, but with tweaks to change BP_XPROFILE_SLUG references tp BP_SETTINGS_SLUG
    //that way didnt change any core files, and moved it out of the upgrade stream
    require_once( WP_PLUGIN_DIR.’/mmc_misc/functions_xprof_settings_mmc.php’);

    $profile_link = $bp->loggedin_user->domain . $bp->profile->slug . ‘/’;
    $settings_link = $bp->loggedin_user->domain . $bp->settings->slug . ‘/’;

    //EDIT PROFILE
    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Edit Profile’, ‘buddypress’ ),
    ‘slug’ => ‘edit’,
    ‘parent_url’ => $settings_link,
    //’parent_slug’ => $bp->profile->slug, //left for documentation
    ‘parent_slug’ => $bp->settings->slug,
    ‘screen_function’ => ‘xprofile_screen_edit_profile_mmc’,
    ‘position’ => 50, //magic number based on current items already there in SETTINGS tab
    ‘user_has_access’ => bp_is_my_profile() //ADDED, NOT IN ORIGINAL WHEN IN BP-XPROFILE.PHP
    ) );

    //CHANGE AVATAR
    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Change Avatar’, ‘buddypress’ ),
    ‘slug’ => ‘change-avatar’,
    ‘parent_url’ => $settings_link,
    //’parent_slug’ => $bp->profile->slug, //left for documentation
    ‘parent_slug’ => $bp->settings->slug,
    ‘screen_function’ => ‘xprofile_screen_change_avatar_mmc’,
    ‘position’ => 60, //magic number based on current items already there in SETTINGS tab
    ‘user_has_access’ => bp_is_my_profile() //ADDED, NOT IN ORIGINAL WHEN IN BP-XPROFILE.PHP
    ) );

    }//end if

    }//end function
    add_action( ‘wp’, ‘mmc_bpsetupnav_forsettings’, 2 );
    add_action( ‘admin_menu’, ‘mmc_bpsetupnav_forsettings’, 2 );
    `

    note the TWO add-actions at the end. also taken from example at bp-xprofile.php. why this and not bp_setup_nav.. i dont know!

    ggod luck
    mario

    #91556
    modemlooper
    Moderator
    #14850
    Brian
    Participant

    I’m running WordPress 3.0.1 (Multisite enabled) and BuddyPress 1.2.5.2 and I’m having difficulty with the My Blogs menu on the admin bar.

    As I understand things the situation is as follows. If I add a user to one of the blog as a subscriber that blog is not added to the My Blogs list – which is fine. However if I then go back in and change the role of the user to Author or higher the blog still doesn’t appear. To make that blog appear in the My Blog menu I either need to remove the user and read him with the higher role or disable and then re-enable BuddyPress.

    So my guess is that the data source for the admin bar is updated when you add a user (or restart BuddyPress) but not when you change the users role. I have tried looking through the code but never having looked at any of the WordPress code before I’m finding it hard to find the relevant parts. Can anyone help me with this?

    Apologies if this has come up elsewhere I know similar problems have been discussed before but I couldn’t find an answer … or at least not one I understand.

    Thanks for the help.

    #14714
    Etienne ROSENSTIEHL
    Participant

    – Why is my menu bar partially inactive when I am on buddypress.org ? I have a extremely complex password and would like to change it, it looks impossible.
    – On WP admin pages (dashboard etc), the BP menu bar works fine.
    – On my website, it was a nightmare until I found the ‘Add All Nav Links to BP Adminbar’ plugin that solves a part of my problems.

    Is there anything I miss when on buddypress.org ?

    #89810
    Hugo Ashmore
    Participant

    @helverk

    You wrote: But what I am ever going to do with it? in reference to your .htaccess file

    You don’t do anything with the file the server does. The server must be able to write to the file to make any changes required automatically.

    Have you tried going to the permalinks menu in the dashboard and set it to anything other than default, just change to day/month and save and tell us what the screen says , if there are any messages about not being able to write to the file or whether it simply kicks things into life.

    I also note that your base is not ‘/’ root but ‘/wordpress/’ which may not help matters I presume you simply installed into the MAMP? web sites directory, it would be worth reading up on how to configure vhost containers and simple host file dev domains so you can run a site as a make believe top level domain.

    #89426
    rayd8
    Member

    I found this fix and it appears to be working for me:

    1. Open the index.php, save it to your theme as posts-page.php (or whatever template name you like).
    2. Edit the newly created posts-page.php file and place the following at the top to create a page template:

    `<?php
    /*
    Template Name: Posts Page
    */
    ?> `

    3. Now scroll down in the posts-page.php to the beginning of the WordPress loop and just before the line “ add this one line of code “ Note: (5 == the number of post to show you can change this to whatever you want.)
    4. Save the posts-page.php file.
    5. In your WordPress/BuddyPress admin panel create a new page called “Blog” (or something similar) and select “Posts Page” under Template.
    6. Publish page.

    You should now be able to go to your Settings -> Reading menu and set a static page and select your Posts Page to show your blog posts.

    #89097
    Thorsten
    Participant

    Ok, I found one hint in Buddypress German Forum of WordPress, see http://forum.wordpress-deutschland.org/buddypress/73994-seite-nicht-gefunden-members-usw.html

    I post there a solution for the normal menu. The ‘index.php’ file is missing in the permanent structure, maybe there is something different between the WP English and WP German version of 3.0.1. So all of you have the URL http://www.yourdomain.com/groups/. Please change it in your Browser to http://www.yourdomain.com/index.php/groups/ and check if you’ll get a page. Change ‘yourdomain.com’ in your real domain. See my page http://www.unitedcasting.de/index.php/groups/ – it works.

    But now I’ve to search for the links under ‘MyAccount’ and ‘Notifications’. Maybe someone knows where the file is safed. Thanks.

    #88895
    pcwriter
    Participant

    @hnla

    Here’s an interesting question from a user which would render the plugin more user-friendly in a WP3.0 environment:

    “How do you change the label of the $adminbarPages 1 & 2 to default to the name of the custom menus? In other words, I don’t want to hardcode the labels into the navbar. Instead, I’d like it to display the Custom Menu names.”

    Something like this maybe (I’ve omitted the “>” and “?” simply so the code would show here…)

    $adminbarPages1 = ‘ php echo wp_nav_menu( array(‘menu’ => ‘MENU-SLUG-HERE-I-THINK’ )); ‘;

    #88622
    pcwriter
    Participant

    @hnla

    Wow, you really took this little project to heart, didn’t you? Thanks for investing so much time on it! :-)

    1. Didn’t realize the ul elements could cause problems but it works just fine without them (tested successfully on bp-default and child theme).

    2. By wrapping wp_list_pages in ul elements, all pages aggregate under a top-level “Pages” nav item, with actual WP pages as subnav items and child pages as sub-subnavs as example below:

    “Pages”
    – Page 1 – – Page 1 child 1 – – Page 1 grandchild 1
    – – – – – – – – – – – – – – – – – – – – – Page 1 grandchild 2
    – – – – – – – – Page 1 child 2
    – Page 2

    By removing the “Pages” li element and wrapping the call to wp_list_pages in li elements, WP pages appear as top level, with child pages as subnavs. Creating a new page adds it to the nav as a top-level item, unless excluded (either entering the page ID manually in the code, or with “Exclude Pages” plugin). I prefer it this way, but the modified code could be included as an option in the plugin for those who prefer having all pages listed under a common heading, with instructions on where to change the heading label.

    3. I get no errors with the new WP3.0 checks in place. I couldn’t figure out how to do that, but I see it was a rather simple if !function_exists call. Huh…

    4. I left the top link name “Pages” in the wp_nav_menu calls for now. I have not tested this code on WP3.0 so don’t know if the menus will behave as in 2.9.2

    I ran the code with modifications, both yours and mine, and it works brilliantly. Collaboration is a wonderful thing :-)

    Here’s my revision: http://pastebin.com/4U85PWrt

    No word yet from WP about my plugin submission… still waiting. Got to get to work now, thanks again!

Viewing 25 results - 651 through 675 (of 845 total)
Skip to toolbar