@abarclay Strange. All menu links to BuddyPress components are working so I will guess that something changed possibly in the hierarchical structure of your other pages. To double-check, go to Appearance > Menus and Create a New Menu. Add links to the New Menu and save. Use that New Menu for your Primary Navigation and save. Check if issue is resolved.
Hey everyone, been a long time lurker but I’ve reached a snag on a current site and I can’t seem to solve it.
The site is an alumni website for a medical school. This is the first site that I’m using buddypress for and so far it’s fantastic. The issue I’m have is with customizing the member directory. My client wants alumni from each class to only be able to see the profiles of other alumni from their same graduation year. For instance, a graduate of the class of 1982, would only be able to browse through a directory of graduates from the class of 1982.
I’m using the user account type lite plugin, and I’ve managed to create a directory for each year. This process, however, creates a new menu item for each new directory, so in the end I would end up with a menu item for each year visible to all the users, which is very very impractical and not what we want.
What I need is a solution with a member directory menu item that is dynamic in that it changes based on who is logged in, and displays only the users from that graduation year. So if a graduate of the year 2004 logs in the menu button would say “2004 Alumni” and would display only a list of graduates from that year. If a graduate of 1994 is logged in the button would say “1994 Alumni” and the page would display only alumni from 1994.
Anyone have any ideas on this? I’m pretty new to php but I’m trying my best to get a grasp on it since static sites just aren’t really cutting it anymore. I was thinking something along the lines of having the code for the button call the graduation year data when the user logs in and print that on the menu item. And along the same lines, in the member directory use the same data column to bring up only users from that year, but I have no idea how do execute that.
Sorry if I rambled a bit.
Thanks
-Dan
I know it should go to bbPress or even WordPress forum, but I am posting this here as I see more chances of being it answered here, although, if mods decide I should post it there, I would.
I am developing with wp 3.5, bp 1.6.4, bbp 2.3 locally. I am using bp-default child theme (for just a few css changes, it’s essentially bp-default) with customized menu (not default buddypress menu, but one created from appearance > menu admin area). I have created a page called “community” and created pages called members, activity, group-forums etc. for buddypress as ‘sub-page’ of this ‘community’ page. This works perfectly.
I am also using bbPress for site-wide and group forums. Thus, to show my forum index, I have created a page called ‘Forums’ and I display forums with bbp-forum-index shortcode on this “Forums” page. This ‘Forums’ page is NOT a subpage of ‘Community’ (or any other) page, but I have put it under ‘community’ menu item – as it’s part of community logically/semantically.
The problem is that, if I go to the forums by clicking the forums link in communty > forums sub-menu Item, it does show the forums correctly, but the community item in the manu is not highlighted as current item, as it does for all the buddypress components. For example, even if I am on http://www.example.com/members/admin/activity/groups/, the ‘community’ menu item is highlighted. but if I am on http://www.example.com/forums/ (forum index), the community tab isn’t highlighted.
What can I do to solve this problem?
After having run buddy press with huddle theme for over 4 months without a problem I find it a little confusing as to why when i woke up yesterday and visited my site http://www.outgamed.net the navigation sub menus suddenly stopped working and for no apparent reason either. The host is slow I know but it doesnt explain the change when I havnt updated or changed anything so any help would be appreciated.
However this being said I have a scrolling content for thumbs towards the bottom of the page and I hae noticed that this has stopped scrolling as well as my promotion slides at the top of the page so maybe this will help in some way as to finding a solution?
Newest version of buddypress aand wordpress were being used
hi @diondeville,
to change the profile menu (on the top right of the ToolBar)
<code>
function my_change_profile_tab_order() {
global $bp;
$bp->bp_nav[‘settings’][‘position’] = 10;
$bp->bp_nav[‘activity’][‘position’] = 20;
$bp->bp_nav[‘friends’][‘position’] = 30;
$bp->bp_nav[‘groups’][‘position’] = 40;
$bp->bp_nav[‘blogs’][‘position’] = 50;
$bp->bp_nav[‘messages’][‘position’] = 60;
$bp->bp_nav[‘profile’][‘position’] = 70;
}
add_action( ‘bp_setup_nav’, ‘my_change_profile_tab_order’, 999 );</code>
Take care with quotes when copy/pasting from here ! š
I am buildning a social network with buddypress and i just installed Buddypress Media. It works great but i what a link in the menu that leads to the users media upload page. The url therefore needs to change depending on which user who is clicking the link. For example
http://mywebsite.com/members/%username%/media
I have tried the example but I cant make it work. Im using a custom menu, if that is of any help.
Greatfull for all answers!
Hi there! I want to remove a link from my BuddyPress (1.6.3) adminbar, or just change the URL it’s pointing. I’m using bbPress forums, not group forums, and the “Forums” menu in the adminbar points to the index page of the group forums. So I want to remove it or just change that link and the sub menu links too (“Topics started”, “favorite topics”, etc.) to the bbPress forums.
Look this image to see what I’m talking about: http://i.imgur.com/bwS7a.jpg
Thanks a lot!
All I want to do is add a new tab to the menu, the code I’m going to be using to define what is displayed I can include elsewhere. The idea is this tab literally adds a single radio option for a user to choose an option from, then saves to a table I’ve created in my database.
However, the skeleton component seems overly complicated for this, and the bp-custom.php way of doing things does nothing.
No matter which example code I try, the only way I can get a tab to display is by putting:
`bp_core_new_nav_item( array(
ānameā => __( āMedia Privacyā, ābp-media-privacyā ),
āslugā => āmedia-privacyā,
āpositionā => 80,
āshow_for_displayed_userā => false,
āscreen_functionā => ābp_media_privacyā,
ādefault_subnav_slugā => āmedia-privacyā
) );`
By putting the above code directly into an included page it displays but doesn’t go to the said page. When I put it in a function and add it using add_action( ābp_setup_navā, āmy_bp_nav_adderā, 100 ); nothing happens at all.
I’m seriously confused at this point but it is vital to have this additional tab in the front end for users to be able to change this setting. I’m using a clean install of the latest Buddypress on my wamp (not putting this on my live site until it works.)
@chouf1 and @modemlooper, could someone possibly do a pastebin of an example, working, bp-custom.php as I cannot find one? Thank you for your help before.
I figured out that the problem is with having the activity page as the static home page.
I changed the home page to a blog page and then added the activity page on the navigation menu and now I’m able to post comments.
So it looks like you can’t have the Activity page as the home page on Buddypress until the update. Is that right?
Hi @intimez,
you have 2 possibilities to use bbPress. As group forums, this is intended in buddypress standard install, or as standalone forum., aka sitewide forum, with the complete bbPress plugin. The bbPress part shipped with BP is not exactly working as the plugin.
In the first case, you may use the install wizard of BP. Activate “discussion forums” and create the appropriate page on the “pages” tab. Done ! You have to create first a group, and from ithin the group admin you can then activate a group forum.
In the second case, don’t check “discussion forums” and install the bbPress plugin. Once installed, a “forum” menu appears on the left in the dashboard. Go to the forum settings page and do your settings.
If you want to use ONLY a sitewide forum, you can let all the forum settings by default.
If you want to use the group forums AND a sitewide forum, witch is not recommended because confusing for your members probably, you have to take care to one thing.
The “forum base name” in the forum settings of the plugin. By default this name is “forums”. But this base name is also used by the group forums, so it wouldn’t work for both. In fact, this name is reserved for BP only.
So if you want both forum types, CHANGE OBLIGATORY the base name to something other as forum or forums, and that’s it !
Hey all,
I’m brand new to the Buddy Press community and i’m trying to build a little exchange website for sharing informations with friends.
I would like to adapt the Twenty Twelve template to buddy press and i have a problem with the CSS configuration.
I’ve done the steps with the plugin buddypress compatibility and my links works great.
Now I got a problem with the main warper because the rightside menu (with widget) is down after the main content (div.padder i think) and does not stand right of it.
My request is to know if somebody have already custom the twenty twelve template and if it would be possible to share it.
If not, is somebody could give me an advice for editing the css (i’ve tried but i don’t find the good combination, i’m very noob)
I think that i’ve seen a closed tiket on BP Trac about adapting the template for Bp. Do you know what has happening with this?
Best to all,
R
Hi,
I have installed buddypress on my domain but it gives me error in admin
The following active BuddyPress Components do not have associated WordPress Pages: Activity Streams, User Groups, Members, Activate, Register. Repair. When i click on repair nothing heppened.
and in front end when i click on any menu like register or activity or profile got page not found error.
pls help
domian
chk4u.com
access – EDIT- please do not include admin login info here. I suggest you change the password right away and change admin username in database. ~~~ Mercime
Thanks.
Hi,
you probably try to modify the buddypress.po file. It would be better you use the po file who comes with your genesis theme. Also don’t forget to save the modified po file with poEdit to generate the mandatory mo file
The pot file contains the translatable strings and the file names/numbers who they are.
The po file has exactly the same content + translated strings
The mo file is the compiled po file
The translation is executed by PHP’s gettext function who read the compiled mo file. Po and Pot files are human readable files and aren’t necessary to be on the server.
There are a number of plugins in the WP plugin repo which could change what shows up in the admin toolbar. For BP-specific nav links, check out https://wordpress.org/extend/plugins/buddypress-custom-profile-menu/
@seriousdon you’d need another forward slash in front of your comment before the code like so http://pastebin.com/HSpJNLyV
In order to place the dynamic profile link at the beginning of the menu change this following line from
$menu = $menu . $profilelink;
to
$menu = $profilelink . $menu;
Thanks Hugo. I do have some Basic HTML coding skills…I know how to copy/paste code, change code in a HTML editor, add images, links, and that sort of basics knowledge. I have a Graphic design Background, so I am very familiar with layout and content, and features. My Problem is “MY Template” I’ve designed my whole site in WP which is not a problem for me…but after adding the BuddyPress Sections to the TOP Menu in my template, I have drawn a blank….lol….there is NOTHING on Each Page when viewed in Preview Mode Browser. I do know, that I have to ADD widgets and other content to A Created page in WP/BuddyPress in order to get the content to DIsplay in my browser. However,….lol….I’m lost at the Which Widget, and Things to add to the BP pages (Activate, Register, Activity, Members) pages. I have added them in Apperarance>>Menus>>Top Menu>>Select (Those) Pages>>Then Add To Menu….I’ve done all of this. I just don’t know what to add from here, to get these pages and their content to show-up so that everything works in my Current theme. Do I have to pick another theme, or just NOT use buddypress, and find another WP Membership plug-in that allows PROFILES and Writing in a Blog that every member can read? Another theme is NOT an option at this time. All of the other features I described in my Original Post, can be added with a few plug-ins right? So All I REALLY Need BuddyPress for is The MEMBERSHIP, Profiles, and Members Search Features intergrated to work with The Continuum Theme. There shouls be a better way around this, and I still get the same results. ALL Of My Website Content IS CREATED!!!! I’m just adding Members access, sign-up, and create a profile. Thanks.
Hi,
I installed buddypress a couple days ago. I’m running wordpress 3.5 with buddypress 1.6.2.
I previously had the latest version of bbpress installed, then I uninstalled it and installed buddypress and reinstalled it through the buddypress setup menue. I’ve notice two issues:
1) Under WordPress : Dashboard : Users : All Users, the “Change Role To” drop down had duplicate roles:
Administrator
Editor
Author
Contributor
Subscriber
Keymaster
Spectator
Blocked
Keymaster
Moderator
Member
Inactive
Blocked
2) An the All User list, I could have sworn that I had the ability to set the WP role and the Buddpress role separately, am I remembering a bbpress feature that isn’t available on buddypress?
To be clear, when I go to my All Users list in the wordpress dashboard, I have these columns:
Username, Name, Email, Role, Posts — nothing about Buddypress Roles.
Thanks for the help!
– jp
How can I hide this menu item for users who are logged in only as it does not show up in the menus under Appearance.
@voopress The code above shows the link only for logged in users. The link won’t show up if they’re not logged in. Why would you want to “hide this menu item for users who are logged in only”?
instead of hacking the php file
There’s no hacking being done here š You’re legitimately adding a filter to include the dynamic link to the menu. You can change the markup in the code posted just so those additional class/es would match those of the IfMenu’s. I’m not aware of any menu plugin which allows you to add a dynamic link.
I am just using BPās default.css to make changes, and I dont see any of those lines in that file.
@shripad first, do not make your changes in BP’s default.css file as it would be overwritten when you upgrade your BuddyPress plugin. You should create a child theme of BP Default theme instead and just make the changes in your child theme’s stylesheet. Or use a WP theme and install the BP Template Pack plugin to make BP templates compatible with your theme. Or, wait for BP 1.7 where BP templates will automagically be included in your WP theme.
As for the responsive styles, they are not in default.css file but in the responsive.css file I linked to above. You’d find it in the same folder where default.css is located.
I am not using a child theme, I am just using BP’s default.css to make changes, and I dont see any of those lines in that file.
Then you just have to override that in your child theme. BP Default’s responsive.css https://buddypress.trac.wordpress.org/browser/tags/1.6.2/bp-themes/bp-default/_inc/css/responsive.css
See line 211 https://buddypress.trac.wordpress.org/browser/tags/1.6.2/bp-themes/bp-default/_inc/css/responsive.css#L210 where it expands #nav li to 100% of containing div. If you’re going to remove or change that, you’d need to work on for the #nav li which is set at 46% of container on line #43 of same file.