Search Results for 'buddypress'
-
AuthorSearch Results
-
August 3, 2010 at 2:03 am #87802
In reply to: Adding menu items to the admin bar
pcwriter
ParticipantThe code I’ve posted is actually quite simple when you get right down to it. Simple yet powerful. It does everything you want a dropdown menu to do, and it does it all automatically behind the scenes.
It starts by identifying what links belong to dynamically generated BP directories and adds those to the adminbar in a Community dropdown. To that same dropdown, It then adds all BP directories that are created by any BP plugins you may have installed.
It then identifies all WP pages and adds them to the adminbar also. The really cool part is no matter how you’ve set up your WP page hierarchy and page order in your dashboard, that will be preserved in hierarchical dropdowns like the following example:
Parent page 1
– Child page 1
— Grand-child page 1
– Child page 2
– Child page 3…Go ahead, give it a whirl. Copy the code to bp-custom.php and upload to your plugins folder. No need to activate anything; Buddypress will recognize and execute the code.
Take a look at my homepage: http://nowrecovery.com/
The first dropdown is all Buddypress. The ones after it are all WP. If you create an account and login, you’ll see all the adminbar goodies appear to the left and bump everything else to the right.
August 2, 2010 at 10:48 pm #87788In reply to: Adding menu items to the admin bar
pcwriter
ParticipantYup, I’m there… and here: https://codex.wordpress.org/Writing_a_Plugin
August 2, 2010 at 10:45 pm #87787In reply to: Adding menu items to the admin bar
rickkumar
ParticipantMay be this can help:
Creating a Custom BuddyPress Component
https://codex.buddypress.org/how-to-guides/creating-a-custom-buddypress-component/August 2, 2010 at 10:36 pm #87785In reply to: Adding menu items to the admin bar
pcwriter
ParticipantGreat idea! Hmm… my first REAL contribution. Cool

There’s gotta be a “How to Build a Plugin” tutorial around here somewhere…August 2, 2010 at 9:54 pm #87784In reply to: Buddypress and jquery incompatability
jenyus
Memberwell, i have been trying to get a content slider working on my site for some time now. I have tried many plugins and even made my own using jquery but no matter what, whenever buddypress is enabled, just about all jquery functions in anything other than buddypress is broken.
August 2, 2010 at 9:52 pm #87783In reply to: Adding menu items to the admin bar
August 2, 2010 at 9:44 pm #87782In reply to: Adding menu items to the admin bar
pcwriter
Participant@Jens Wedin @alanchrishughes
I was looking for a way to include all navigation links in one navbar. Jens’ code snippet is brilliantly simple. Thanks!
The only drawback is you have to add links manually to get them to appear in the adminbar.I’ve modified the code (borrowing inspiration from a snippet previously written by @David Lewis) so that:
1 – all “standard” BP Directory links appear automatically in their own dropdown;
2 – all BP plugin directories (Links, Gallery, etc) are automatically added to that dropdown;
3 – all WP pages are added automatically to the adminbar;
4 – all added WP pages respect whatever page order is set in the WP-Dashboard.The code is here: http://pastebin.com/8FJmcgRF
To ensure that unwanted pages DON’T show up in the adminbar navigation (password-protected, Thank You pages, etc), install the Exclude Pages plugin:
https://wordpress.org/extend/plugins/exclude-pages/August 2, 2010 at 8:39 pm #87781In reply to: Facebook Connect for BuddyPress
marcmus
MemberForgot to mention, I am using the Facebook Open Graph plugin by Sociable.
August 2, 2010 at 7:56 pm #87778Paul Wong-Gibbs
KeymasterYou’ll need to add CSS to your theme to make it work. If you switch back to the BP-Default theme, I bet it works properly?
August 2, 2010 at 7:39 pm #87777In reply to: Buddypress Hosting
Hugo Ashmore
ParticipantWord of caution I have already dropped a note to the bluehost affiliate manager about your last 12 spam posts on this forum, I wouldn’t advise you make any further ones!
August 2, 2010 at 6:52 pm #87775In reply to: Adding menu items to the admin bar
alanchrishughes
Participant@mercime thanks! I’ve been trying to figure that out for a while now. Is there a way to add a link without the drop down arrow? I don’t see any class or id added to it so I don’t know how it is picking it up.
August 2, 2010 at 6:44 pm #87773In reply to: Facebook Connect for BuddyPress
marcmus
MemberAddition: If fb has a username set as Ben ohnson it will force that display. I think BP is looking for
/members/Ben Johnson/ when it creates those links.
But since the url can”t have a space in it, BP will never find the member page. Does anyone know which template I should change to possibly correct this? Or does anyone know that I’m flat out wrong and could use a new direction?
August 2, 2010 at 6:40 pm #87772In reply to: Buddypress Template Pack Bug?
alanchrishughes
ParticipantAlright, that fixed it. I was worried I was missing some child theme conversion stuff.
August 2, 2010 at 6:24 pm #87771In reply to: Buddypress Template Pack Bug?
Paul Wong-Gibbs
KeymasterNot sure if it’s an oversight without running it through myself, but you just need to add “buddypress” to the “Tags” section in your style.css
August 2, 2010 at 6:17 pm #87770In reply to: bettercodes.org
Anton
ParticipantThanks @gottowik – works 100%
One more thing…What country drop down are you using on your register page?
August 2, 2010 at 5:43 pm #87766In reply to: Seperate HOMEPAGE for users
JPS Bhullar
ParticipantMy plugin is available on WordPress.org and Buddypress.org. Here is wordpress link — https://wordpress.org/extend/plugins/bp-profile-as-homepage/
August 2, 2010 at 4:44 pm #87757gregfielding
ParticipantGreat @warut !
Looking forward to it.
August 2, 2010 at 12:28 pm #87748In reply to: “My Favorites” Plugin
justbishop
Member@danhay: I’d love to use your code for how many people have favorited a post, but I’m not sure if the BP forum has mangled it or if it really is supposed to start with “=”?
Also, anyone have widget code or anything that would return a list of the top X most favorited posts for display in my main site’s sidebar?
August 2, 2010 at 12:03 pm #87750In reply to: ClothUnderground.com – ”Launching” Tomorrow
justbishop
Member@shifra: thanks so much! I appreciate any traffic I can get right now
August 2, 2010 at 12:02 pm #87749In reply to: I Could Kiss You.
justbishop
Member@hnla: Oh, I figured the CSS out on my own, thanks

My issue now is trying to exclude certain groups from display. Grrr.
August 2, 2010 at 11:42 am #87743In reply to: WordCampTV video about BuddyPresss
Paul Wong-Gibbs
KeymasterYup, it’s not a bad introduction
August 2, 2010 at 11:38 am #87742In reply to: Pages not found
Paul Wong-Gibbs
KeymasterAre you running BuddyPress on the non-root site? If so:
https://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/
define ( ‘BP_ROOT_BLOG’, 117 );
Will run on site ID 117.
August 2, 2010 at 11:14 am #87738In reply to: bp_page_title() doesn’t return correct title
Alexander
Participant@jonacb: Is this a solution? Would you please paste it in a pastebin and say which line or function we should replace with this.
August 2, 2010 at 11:03 am #87736ri-kun
Participantfor everyone reading this topic to properly understand my problem. Here is the actual stuff in my admin area:
DIRECT LINK: http://i630.photobucket.com/albums/uu22/s2ne1/myblogsremove.png
August 2, 2010 at 7:52 am #87726In reply to: BuddyPress 1.2 and multilanguage
Proglot
Member+1 really need multilingual support.
-
AuthorSearch Results