I’ve just updated my currently in development website from the latest 1.8 BuddyPress to the lates 1.9 and I can’t seem to find the default BP theme anymore. Is this suppose to happen? Please help!
Wordpress 3.8;
BuddyPress 1.9;
http://rostream.tk
It seems that those spamming my site are using wordpress’ default way of creating an account and not registering through buddypress. When I go to the users admin, all of the users that used buddypress were given the default forum role of “participant”. The spammers don’t have this role.
Because of my current setup, I installed the Members plugin and created a new role. Then I made the buddypress form show up only for those that I have confirmed. I would recommend that this be added to future buddypress installs as an option.
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.
Apologies if this topic is repeated, my other message just vanished into the virtual space somewhere…
Weird thing happening with my BP widgets. I have the latest version of wordpress, I was waiting for BuddyPress 1.9 to be released and I just installed and activated it yesterday.
I’m working on a bilingual website (english and portuguese, english being the primary language) and surprise, surprise, I noticed that the widget members was in english while groups was in portuguese. At first I thought they would adjust to my selected languages and it would be really cool to switch language pages and see the BP widgets do that… but no, “members” is always in english, “grupos” in portuguese (no matter which language page I’m on).
Other problems with the widgets and pages are that links on widgets don’t work and the pages just show the title but no activity, no profile. The only page functioning better is the groups page, because I was able to create 3 groups, although I can’t edit them on the page. I did create a new page for each component, they have no main parent page, they’re following the Weaver II theme layout I chose for them …
The only thing (which is a big thing) is that content and links and languages don’t working. I think it might be easy to solve and I will feel like an idiot… but I’m new, I need help, can anyone give me some light on this, please? Thanks in advance!
BuddyPress uses the version of jQuery that comes with WordPress. You’re best to search for how to make WordPress do this change, then BuddyPress will use it.
@ecoportaluk Did you install https://wordpress.org/plugins/genesis-connect-for-buddypress/ or have you checked out StudioPress forums re BP customizations?
@juggledad
Thanks for explaining in more detail. If you feel this is a bug, you can submit a ticket on Trac
Trac is the best place to follow the development process and submit bug reports.
the ‘my-members’ / ‘my members’ was a typo – it is the same WordPress page
<?php echo 'is_page()='.is_page().'<br>'; ?> – why are you doing this?
why, to demonstrate the issue. this is something you can do in 5 minutes to reproduce an issue I am seeing in a theme. Instead of pointing to the theme in question, I’ve shown the ‘bug’ in twentytwelve so anyone can reproduce it.
It was probably a theme issue. The easel theme hasn’t been updated in a few months and could have broken with current version of WordPress.
Instead of posting alarmist warnings it is better to post the issues incase others encounter the same thing.
Fortunately I got into the habit of backing up just prior to any plugin update, and this time it payed off big time.
I lost all my membership, group & activity pages when I upgraded (perhaps other things but I didn’t mess around with it). Prior to that, everything was functioning perfectly.
I have the following pluggins installed, and am using the Easel Theme by Philip M. Hofer (Frumph).
Plugins: (web site is http//nfltrashtalk.com)
Are You a Human
bbPress
BuddyPress
Google Analytics
s2Member Framework
Social Sharing Buttons By AddShoppers
TinyMCE Advanced
UpdraftPlus – Backup/Restore
Welcome to WordPress
WordPress SEO
WP Super Cache
Downloaded my back up files and I’m back in business! I did like the sounds of what this update was suposed to do, but I suppose the old addage “don’t fix it if it ain’t broke” holds true in this case.
I disabled group forums and now the link to my groups still have /forum on the Group’s URL. If you remove the /forum you can get to the group page.
Where do I change how the Group URL’s are generated? Thanks in advance.
Wordpress v3.8
Buddypress v1.9 (Had the same issue before 1.8, not an upgrade issue)
http://petspagetest.com
I add the coode in post 1 to twentytwelve
I create a page in WordPress and call it ‘my-members’
I view the page
is_page() returns ‘1’
I install and activate buddypress
I ‘Associate a WordPress Page with each BuddyPress component directory.’ and set members pointing at ‘my members’
I view the page
is_page() now returns null
I don’t know about you, but to me this seems like a bug in buddypress
PHP Warning: Missing argument 2 for wpdb::prepare()
Take a look at this post which will give you some background as to why WP throws that warning at you.
The best solution is to phase out bp-default from your sites or ask your theme developer to convert their bp-default derived theme to a WordPress theme.
So you’re creating an additional Members page ?
If not, you don’t need an override.
If you are, you need to change this hook in that override
do_action( 'bp_before_directory_members' )
And call the new hook in the example below.
You need to know the id of the xprofile field that stores gender.
You need to know the value that is stored for Males.
Then you can tweak this code and put it in your theme functions.php or bp-custom.php
http://wordpress.stackexchange.com/questions/125754/buddypress-conditionally-filter-directory-based-on-xprofile-field/126553#126553
The terminology is important here. WordPress ‘pages’ shouldn’t be confused with the more loosely termed web ‘page’. Although BP ‘pages’ are webpages, they aren’t WordPress pages so is_page() isn’t going to work *most of the time*. The exception is register, activate etc.
For a list of template tags you can use with BP ‘pages’ take a look at:
Template Tag Reference
Hello i have searched around But not really got a any successful solution. I am looking for a plugin that will permit meto modify the admin bar of my site to have icons and notifications like that of facebook. Or if anyone knows how to do this with codes.
Any ideas are welcome?
Hi thank you for replying,
No I have other plugins as well mostly BBPress,WooCommerce, and a couple of slider plugins,also WordPress SEO.
Its a premium theme and has support for BBPress but not buddypress hes working on it now.
I believe my permalinks are not default.
My structure is set at: /%category%/%postname%/
My base is set to: /shop/%product_cat%
I believe when I installed the theme the instructions were to change them to that so the permalinks would look good.
Hey,
I have just updated to the latest WordPress and Buddypress 1.9 and I cant seem to figure out why my Members page is not showing. I have gone to Settings>BuddyPress>Pages and configured all pages. In my Pages section in the Dashboard it is saying that the author of the Members page is another admin besides me, which is wrong. So basically my other Admin (author) is supposed to be the author of my articles page and it is saying that I am the author of the Articles page. It is switched around. Does that even make sense? Anything else I can try to get my Members page showing again?
Thank You
J
’m really not sure… but it *would be* really cool if those functions were integrated in such a way that nothing more would be required other than to install WordPress, Buddypress, then a theme… and call it a day. Not that I’ve had a problem with needing to copy the templates over to other themes in the past, but it’d be really awesome to see this worked out
This is the whole point of BP theme compatibility and has now been in existence since BP 1.7, you need to keep abreast of development changes on the BP blog and/or the codex documentation.
Hi
I having a difficult problem trying to get Buddypress to work.
None of the links/pages work. When I go to the top toolbar and select Profile > View for example, it brings me to a blank page with the title bar of “Members” and shows my member name. When I click it just redirects me to the same page.
Also how do you get that toolbar for non admins ect? Ive made a dummy account but that wordpress toolbar at the top doesnt show up so I cant even access my account profile unless I post in the forums and click on my own name but then the same problem above happens.
Ive tried deleting Buddypress and re installing to no avail.
Im using WordPress 3.8 now and Buddypress 1.9. Any help would be greatly appreciated. I also dont really know how to write code or look into php files ect, so please try to dumb it down for me thank you.
Right on.
So… after this update (the fixed version), will anything need to be copied to the ‘theme in use’ before it’ll pick up Buddypress’ template-pages, such as Activity, Groups, Members, and so on?
I may be misunderstanding here… I’m really not sure… but it *would be* really cool if those functions were integrated in such a way that nothing more would be required other than to install WordPress, Buddypress, then a theme… and call it a day. Not that I’ve had a problem with needing to copy the templates over to other themes in the past, but it’d be really awesome to see this worked out so that regardless of what theme was applied that the Buddypress template pages would simply be available and work correctly with no further configuration required to get those things working. For myself, as I say, it’s no problem… but for some of the locals that I host for… wow man… they need help! 🙂
[background: I’ve worked with Linux since 1997, Apache since 1998, and WordPress for about 5 or 6 years now… I’ve lost track of how long it’s been, actually.]
In my case I had to investigate thoroughly as possible, because the site I was building out when I noticed this problem is a site that is only available via Tor (with a .onion address). Building OnionNet sites using a nailed down Apache, WordPress, and Buddypress can be very tricky at times, if you’ve never done it before. But once the differences are learned, it’s pretty easy… not really any more difficult than any other wordpress site… it’s just a matter of a slightly different configuration, and email is worthless in these instances, so things must be done to eliminate the need for a valid email address during signup, but it’s do-able using some of the plugins that are available.
Anyways, you guys keep up the great work! 🙂
And…
Thanks for your help!
Same problem here.
I thought at first that it might be the security plugin I had installed today, but after removing that and finding the problem still existent, I began searching around and found your post and a few others like it.
So, from an SSH connection to the server, I dropped down into my wordpress-plugins folder, and ran “wget https://downloads.wordpress.org/plugin/buddypress.1.8.zip”, then renamed the old folder, extracted v1.8, verified that it was working after the reversion, and then deleted the 1.9 folder.
Maybe it’s just a conflicting plugin, but from what I’ve gathered so far, the problem appears to be an issue with a template file that should have been included with 1.9, but wasn’t. At the same time, there’s talk of EOL-ing the bp-default theme, which… ok… I can understand that, provided there’s something to take the place of it or at least a clear and concise way to provide the needed templates to other themes now that it seems the Buddypress Template Pack is no longer available (I certainly couldn’t find it, if it *is* still available).
Either way, this is an aggravating problem, especially considering that I run a large number of WordPress+Buddypress sites.