Search Results for 'change buddypress menu'
-
AuthorSearch Results
-
March 26, 2011 at 9:01 am #108781
In reply to: bp_adminbar_notifications_menu
Boone GorgesKeymasterAdding bp_adminbar_notifications_menu() in your header will probably work (as long as it’s nested inside of a `
- ` element), but you will need to modify the styles. You can go in one of two directions.
One, you can try to bring over the styles from bp-default/_inc/css/adminbar.css. You can import that entire stylesheet into your child theme with this line at the top of your child theme’s style.css:
`@`import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
(See https://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/ for more info on BP child themes.) The downside of doing this is that, depending on your theme and the element in which you’re trying to nest the notifications menu, you’re going to have a really hard time getting it to look good with your theme.The other method is to skip bp_adminbar_notifications_menu() altogether. Instead, copy the entirety of that function from bp-core/bp-core-adminbar.php into functions.php of you child theme. After you’ve copied it, change the name of the copied function (to something like wwday3_adminbar_notifications_menu() – it doesn’t matter, you just have to avoid duplicate function names). Then – and here’s what will make your life easier – change the markup, and in particular the CSS selectors (classes and ids) being produced by the function, so that it matches the CSS selectors in the existing dropdown menus you’re trying to integrate with. Then, in header.php of your child theme (or wherever you’re currently trying to call bp_adminbar_notifications_menu()), make sure to call this new function instead.
March 24, 2011 at 6:32 pm #108642Boone GorgesKeymasterHi Donald,
It sounds like the plugin hasn’t been updated for WP 3.1, which introduced the new Network Admin (where the BuddyPress dropdown is now found).
Follow the instructions in this post https://buddypress.org/community/groups/buddypress-group-email-subscription/forum/topic/change-admin_menu-to-network_admin_menu-for-wp-3-1-and-bp-1-2-8/ except do it on the file buddypress-auto-group-join/php/bp-auto-group-join-init.php. That should do the trick.
March 24, 2011 at 2:27 pm #108627In reply to: Change Menu Names
danbpfrParticipantMarch 22, 2011 at 8:03 am #108405In reply to: Buddypress upgrade 1.1.2 to 1.2.8
@mercimeParticipant== Buddypress was not there nor was the section to configure it. ==
The Super/Network Admin has a separate new panel in WP 3.1. Click on Network Admin link in upper right hand corner and you’ll find the BuddyPress button in admin menu.
== OK but the site was totaly broken ==
Deactivate all plugins and change theme to default WP theme. Know that many BP plugins and themes from way back 1.1.2 are not compatible with current WP/BP versions.
== Do I need to upgrade a number of times ==
Nope. Just upload BP 1.2.8 and WP 3.1 manually i.e. via FTP or cpanel, etc. Access wp-admin, then go through the upgrade process. Btw, curious why not start from scratch?
March 13, 2011 at 12:23 pm #107680In reply to: BP plugins multisite menu fix?
ChuscastillaMember@DJPaul
So, the plugin “WELCOME PACK”, written for YOU, and not working for this reason is not well-written?
I’ve read about the solution in other forums of changing “admin_menu” to “network_admin_menu” to make reappear the plugin menu, but it’s only there. You can’t change settings.
I tried this solution changing “options.php” to “../options.php” and the error changes, WordPress says that there’s no options file.
Are you reading this?: https://buddypress.org/community/groups/welcome-pack/forum/topic/welcome-pack-not-working-after-latest-update/
@ZKWC even offered you money for the job, but you don’t give any answer.
I guess you don’t know about this change from admin_menu to network_admin_menu Or you should have told us to do it.
I’m not a programmer but I guess that you know the little change we have to do to save the settings in that options file, no?
What we have to do to get an answer from you?
Please not:
-“wait for 1.3” (that could happen in october)
-“I need money” (I need money too, but I think that offering a free plugin, and when a lot of people is using it, request for money to maintain it, it’s not a good idea. Thinkin on your reputation)
Sorry for my bad english.March 7, 2011 at 8:28 pm #107109In reply to: How do I add a menu item on the profile page?
VirtualiParticipantWait… do you mean a subnav? Like for instance, under profile, the subtabs are “Edit Profile, and Change Cignature?”
Could be done, wrap the bp_core_new_subnav_item call in a function which is hooked on xprofile_setup_nav action;
`/* Add the subnav items */
bp_core_new_subnav_item( array( ‘name’ => __( ‘My Friends’, ‘buddypress’ ), ‘slug’ => ‘my-friends’, ‘parent_url’ => $friends_link, ‘parent_slug’ => $bp->friends->slug, ‘screen_function’ => ‘friends_screen_my_friends’, ‘position’ => 10, ‘item_css_id’ => ‘friends-my-friends’ ) );
bp_core_new_subnav_item( array( ‘name’ => sprintf( __( ‘Requests (%d)‘, ‘buddypress’ ), bp_friend_get_total_requests_count() ), ‘slug’ => ‘requests’, ‘parent_url’ => $friends_link, ‘parent_slug’ => $bp->friends->slug, ‘screen_function’ => ‘friends_screen_requests’, ‘position’ => 20, ‘user_has_access’ => bp_is_my_profile() ) );if ( $bp->current_component == $bp->friends->slug ) {
if ( bp_is_my_profile() ) {
$bp->bp_options_title = __( ‘My Friends’, ‘buddypress’ );
} else {
$bp->bp_options_avatar = bp_core_fetch_avatar( array( ‘item_id’ => $bp->displayed_user->id, ‘type’ => ‘thumb’ ) );
$bp->bp_options_title = $bp->displayed_user->fullname;
}`There ya go, 2 in one!
March 7, 2011 at 6:52 pm #107097@mercimeParticipantBackup first before attempting changes – and no guarantees it will be easy
BuddyPress 1.2.8 only contains a few changes all…March 7, 2011 at 12:44 pm #107048Paul Wong-GibbsKeymasterThose plugins need to be updated for changes for WordPress 3.1. Contact the developers.
P.s. Achievements is my plugin and I’m aware
March 7, 2011 at 5:39 am #107028rcwatsonMemberThanks, mercime. But when I add in “/wordpress/” in front of “/members/…”, I still get 404.
http://xxx.xxx.xx.xxx/wordpress/ also returns a 404. But http://xxx.xxx.xx.xxx/ returns the buddypress-enabled home page, fully themed and functional, except for the fact that clicking any deeper part of the admin menus returns 404.
My apache virtualhost settings are as follows:
`
ServerAdmin webmaster @xxx.xxx.xx.xxx
DocumentRoot /data01/home/username/production/wordpress
ServerName xxx.xxx.xx.xxx
ErrorLog logs/xxx.xxx.xx.xxx-error_log
CustomLog logs/xxx.xxx.xx.xxx-access_log common
`Does anything need to change there to fix this problem?
March 2, 2011 at 5:07 am #106645In reply to: Change Menu Bar
ARHistoryHubParticipantI’m also a bit of a noob, but I’d like to recommend using the browser plug-in Firebug as a means to quickly learn css. http://getfirebug.com/
March 2, 2011 at 2:48 am #106633In reply to: Change Menu Bar
pcwriterParticipantYou seem to be having difficulty with the basics. May I suggest switching to an easier theme to customize?
I designed BuddyLite with newbies in mind (like me!) You can get a similar look and feel as your current theme, while taking full advantage of WP3 custom menus, and a bunch of basic customization options through a simple admin panel.
You can download it here: http://buddylite.com/buddylite-basic/
March 1, 2011 at 8:13 am #106565In reply to: Change Menu Bar
JamieMMMemberI opened the folder and found the original custom css which is below and also the style.css which is after the custom. I didnt see where I could find the nav menu?
body {
width: 1000px;
}#leftSidebar {
width: 182px;
float: left;
padding: 20px 5px 20px 20px;
background: url( images/sidebar_back.gif ) top left repeat-x;
margin-top: 1px;
overflow: hidden;
border-right: 1px solid #e4e4e4;
}#leftSidebar .widget {
margin-bottom: 20px;
}#leftSidebar h3.widgettitle {
background: #eaeaea;
padding: 5px 15px;
font-size: 12px;
clear: left;
margin: 10px -4px 10px -20px;
}#wp-admin-bar div.padder {
width: 1000px !important;
}#content div.padder {
float: left;
width: 525px;
border-left: 1px solid #e4e4e4;
margin-right: 226px;
border-right: 0px solid #e4e4e4;
-moz-border-radius-topleft: 0px;
-webkit-border-top-left-radius: 0px;
-moz-border-radius-bottomleft: 0px;
-webkit-border-bottom-left-radius: 0px;
margin-left: -1px;
}div.post div.post-content, div.comment-content {
margin-left: 0px;
}THIS IS THE STYLE.CSS
/*
Theme Name: BP Columns
Theme URI: http://buddypress.org
Description: A 3 Column Buddypress theme.
Version: 1.2
Author: modemlooper
Author URI: http://twitter.com/modemlooper
Template: bp-default
Tags: buddypress, three-columns
*//* Inherit the default theme styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );
/* Inherit the default theme adminbar styles */
@import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );
/* Custom styles */
@import url( custom.css );
February 25, 2011 at 10:18 pm #106321In reply to: WordPress 3.1
zkwcParticipant@chouf1 try uploading a picture. It doesn’t work. Where is the settings options on the BP drop down menu in the plug-in list? Not there! He is aware and was on my website testing it. It broke their plug-in and many others. And the other change only makes sense if you want an hour tacked onto your administrative duties. Do you get at least 50 slogs and spammers a day? Good luck clicking around trying to delete them in the minute it used to take. UGH! I don’t know why you insist upon arguing about that. Unless you have a vested interest. I just feel sorry for all the plug-in developers who are frantically trying to make their stuff work. And now my site is broken. I’m screwed. Tried downgrading. Sucked. Didn’t work.
@ewebber I wish I had waited. You are making a wise decision!
February 18, 2011 at 2:01 am #105672In reply to: [Resolved] Change site name in admin bar
acesParticipantHopefully the following link might help? https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/add-a-welcome-message-to-admin-bar-instead-of-website-name/#post-87017 ?
I use a version of it though the admin menu bar is only seen by those logged in….
February 9, 2011 at 5:31 pm #105026In reply to: hiding dashboard
David CarsonParticipantLook for the `bp_adminbar_thisblog_menu` function in `bp-core/bp-core-adminbar.php`. It’s around line 151 (BP Version 1.2.7).
There is an `if` statement with `current_user_can( ‘edit_posts’ )`. Replace `edit_posts` with whatever role you want to check it for. https://codex.wordpress.org/Roles_and_Capabilities
And you might already know this, but you should try to make your changes to the function using `bp-custom.php`. https://codex.buddypress.org/extending-buddypress/bp-custom-php/
February 2, 2011 at 6:49 pm #104447In reply to: BuddyPress/WordPress Menu Issues
bopydMemberI am having a similar issue. The menu bar link shows
http://siteURL/press/members/admin/activity/ which gives me an error. If I change it to
http://siteURL/press/index.php/members/admin/activity/ Then it works fine.
I am on Windows hosting IIS 6.0.Any suggestions?
January 27, 2011 at 9:23 pm #104059In reply to: WP 3.0.4 Multisite Breaks BP Forum
@mercimeParticipant=== Do I need to make any changes to my bb-config.php file to run multisite? ===
Just to be clear, you had a single WP install with BuddyPress and created internal bbPress forums i.e. via BuddyPress forums set up, before upgrading to WP 3.0.4 and then creating a network/going multisite? Try to re-run Forum Setup. Backup database and server files, then go to dashboard > BuddyPress menu > Forums Setup > Use an existing bbPress installation – and in next panel point to your bb-config.php then click on “Complete Installation”
January 17, 2011 at 8:06 pm #103167zkwcParticipantThat happened to me once. I know that I had to change back to admin. But I don’t remember the steps as it was over a year ago with the old buddy.
January 10, 2011 at 1:06 pm #102464In reply to: PLEASE HELP!!! no group creation option in groups
Hugo AshmoreParticipantYou are using a custom theme as soon as you do that you enter a new realm and need to know what you are doing, this particular theme Suffusion uses a custom menu of some description and BP directory menu items will not be included by default. BP hard codes these menus links in header.php (soon to change to WP nav menus)
You! have to do a little manual work in getting things to work and need to understand how both Suffusion and BP work, this act of trying to get BP to use any old WP theme is not a natural one.
In all honesty you have simply asked this question in entirely the wrong place – and perhaps I should have said this much earlier – The correct place to have addressed these issues would have been to the theme home, Suffusion has it’s own support and if you had asked there would probably have had this wrapped up and solved in no time. Strictly speaking this site supports BP and BP default theme it can’t be expected to support digressions and third party implementations – other than the plugins that have a group support home on the site.
I looked through suffusion support for you and quickly got an impression of what may be wrong however this is not something I ought to be doing for anyone
http://www.aquoid.com/forum/search.php?st=0&sk=t&sd=d&sr=posts&keywords=buddypress
December 29, 2010 at 2:46 pm #101477In reply to: Why using pages for BP sections is a bad idea
Boone GorgesKeymasterI also have found myself torn about using pages for BP directories. In the end, though, I think it’s a compromise that works out for the better in the short- to medium-run, and does not have awful long-term consequences.
In my view, it is a gross overstatement to say that this move ‘ruins’ BP. However, there are a few things about it that are unappealing:
1) It forces the creation of what are, essentially, dummy pages – whatever content you might add to the page through the normal WP editor is totally ignored
2) Related – It uses part of the WP page infrastructure (URLs) without using others (in particular, WP page templates)Problem (1) is unappealing, but it is mitigated by a couple of points. First, the current system is not a whole lot better. Instead of having ‘dummy’ pages that you can see in the admin (like BP trunk has), the current version of BP has ‘phantom’ pages, so that when BP detects a URL like example.com/groups, it essentially hijacks the page load in order to do its own stuff. This is a bit jarring, and not at all transparent. So there is a trade-off, but it’s not all bad. Second, while the idea that ‘Pages in WordPress are supposed to be static content’ seems right to me in broad strokes, it doesn’t seem to me to be a hard-and-fast rule. Many plugins (gallery plugins, ecommerce plugins, etc) display their content by means of a shortcode that is manually inserted on a page or post, with pages being used for their pretty URLs.
On the other hand, there are some real benefits to directories-as-pages:
A) Easier URLs (as @driz has noted)
Integration into WP 3.0-type menus (this is the big one IMO)How important are things like (A) and (? For sites maintained by folks with some PHP chops (and organizations with money to pay people with PHP chops), they could be fairly easily accomplished with BP_GROUPS_SLUG, etc, and with some other finagling. But – and this is just a guess – this profile does not match most of the users of BP. Nor should it, necessarily. To the extent that BP can be easy to use and install for people with little technical knowledge, without at the same time making it less flexible from a developer’s point of view, it should be. This change is good for end users, and is no more difficult for developers than the current technique, so it seems like a net win.
Another more theoretical argument for the directories-as-pages move (especially as compared to the new admin panel @driz suggests for changing slugs) is that BP shouldn’t reproduce functionality that WP could provide, unless there is a convincing reason for doing so. Using WP pages for BP directories is a step toward greater BP-WP integration. It’s not perfect (see my problem (2) above) but it is a start.
As for custom post types: It’s likely that at least some of BP’s components will be refactored to use custom post types in the future. When that happens, part of the upgrade script will probably involve removing the dummy pages at issue here. So from the user’s point of view, the transition will be seamless.
I should say that I am in agreement with a lot of the sentiment in this thread about making BP a bit more lightweight, framework-y, and disjointed than the sometimes hulking behemoth it is now. However, that kind of transition can and probably should be gradual (at least more gradual than the 1.3 release).
December 24, 2010 at 9:46 pm #101248alcoonMemberIs there an update for this fix? 1.2.7 broke this solution on our site and I can’t find an alternative so far.
Really, it’s extremely annoying that BuddyPress keeps making changes to the themes in minor updates. Every update (1.2.7 also saw us gain an unwanted admin bar menu item with links to the WordPress backend) sees us having to chase down the little changes they made which break our layout.
December 14, 2010 at 10:56 pm #100495In reply to: Ban and Kick User is Broken
r-a-yKeymasterNo need to bump the topic multiple times.
If you are not sure how to patch and you feel a little adventurous, make the changes manually:
https://trac.buddypress.org/attachment/ticket/2661/2661.002.patchIf you have access to edit plugins, login to your WP dashboard and navigate to “Plugins > Editor” and select BuddyPress in the dropdown menu located near the top right corner, then edit the files mentioned in the patch.
Otherwise, open up your FTP program and make the edits mentioned in the patch.
**Be sure to make a backup of the files you are attempting to edit before you make any changes**
Green lines mean they are code additions; red lines mean delete.
November 22, 2010 at 4:29 pm #98885In reply to: How to change the title on the browser tabs?
imjscnParticipant@r-a-y , in my child them header.php, I removed all bp nav menus already. I use custom menu in widget. So, there’s no way to figure out where the slugs comes from.
my buddypress is running on root blog, network activated, but not enable bp functions on multisite.
The permarlinks are correct, only the browser tabs shows inproper site name. for example, if you create a sub–blog under buddypress, and open the page “About”, the browser tab shows “BuddyPress.org | About” , I prefer it shows “other blog | About”
Where can I go to edit this?November 16, 2010 at 2:52 pm #98403In reply to: "Auto Group Join" plugin added
David LewisParticipantHow to make it work with WordPress Single Blog:
Step 1
—-
Go into the plugin folder and open the bp-auto-group-join.php file. Line 67 should be:
`add_submenu_page( ‘wpmu-admin.php’, __(“Link Auto Join Groups”, ‘buddypress’), __(“Auto Join Groups”, ‘buddypress’), 1, __FILE__, “auto_group_join_plugin_options” );`change it to this:
`add_submenu_page( ‘options-general.php’, __(“Link Auto Join Groups”, ‘buddypress’), __(“Auto Join Groups”, ‘buddypress’), 1, __FILE__, “auto_group_join_plugin_options” );`That first argument just tells the action hook `add_submenu_page()` where your plugin menu item should go based on page slug. The options-general.php slug corresponds to the “Settings” menu. So you’ll get a link for the plugin settings under the Settings menu. I couldn’t figure out how to add the link to the BuddyPress menu since that menu works a little differently.
Step 2
—-
Go to line 147:
`add_action( ‘wpmu_new_user’, ‘update_auto_join_status’, 12, 2);`Add add this new line below it:
`add_action( ‘user_register’, ‘update_auto_join_status’, 12, 2);`I figured the wpmu_new_user action hook wouldn’t work with single WP. I was right. I tested with the additional user_register hook and it works. Joy
November 7, 2010 at 9:38 pm #97671In reply to: Theme designers: contribute to core
Hugo AshmoreParticipant@DJPaul what are you after Paul? I think everyone might be a little lost as to what actually needs doing? is it just the styles that need sorting, As for my earlier question regarding changes to nav menus for 3.1 and as much as it may be irrelevant? I managed to track down a ticket correcting the issue of not being able to remove parent ul elements which is helpful but couldn’t spot anything dealing with child pages and nesting thereof
-
AuthorSearch Results