I’m also having the problem with my Register page just refreshing instead of going to the Sign Up Completed page. @james_zedd I thought I was having the problem you described, but then I realized it was taking me to the home page because I was already logged in to my site. Make sure you are logged out when you’re testing the Register page.
@RehaugeW hope your problem is resolved and that the solution helps me out.
hello,
i work on a bilingual website with buddypress and i’m looking for a simple solution to sort my directory by custom field : “country” in the members-loop file or in the index file.
Can i sort the bp_the_member() ?
Can i add a select item “country” to the index file
div class=”item-list-tabs” id=”subnav” role=”navigation”>
I use the default theme of bp.
Thank you for your help and advice.
Moque
And if someone could be extra kind and create a trac ticket for this over at https://BuddyPress.trac.WordPress.org — be sure to link back to this discussion — I’ll be your BFF.
@pescholar thanks for all the information! Hopefully we can figure out a permanent fix for this.
@aces Yes, but it wasn’t obvious to me that setting the user_id to -1 would stop it matching against profle field data with user_id = 0, as I didn’t expect that situation to ever occur! 
Two problems here. One, this zero matching. The second is how zero user ID profle data gets put into the database. We/I can definitely look to fix the first for BuddyPress 1.6 — I’ll look into it when I finish work
Oh, and I see @RogerCoathup chimed in during my research and troubleshooting.
Thanks “buddies”
Solved…thanks @hotsitez for getting me to see that what i wanted to do was, in fact, possible and allowed me to poke around deeper.
And thanks to @boonebgorges for this post –> https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-field-adds-award/
It helped me to get the “non-echo” function for getting profile values.
have a look in the codebase at bp_the_profile_field_name() and you’ll see the ‘get’ function that it uses.
Trawling the codebase is the best way to find functions for BuddyPress (or the site phpftwr – google a function name and it will come up in the references)
In this case your function is bp_get_the_profile_field_name()
Ok, thanks @hotsitez
You pointed me in the right direction. Awesome!
I discovered that profile-loop.php is the script/template file I need to mod.
All I need to do now is figure out how to get the value from `bp_the_profile_field_name();` and assign it to a variable. I tried `$theLabel = bp_the_profile_field_name();` but the result of the function call actually displays the label and does not allow me to assign it to the var.
If you know how to do something like `$theLabel = get_this_bp_the_profile_field_name();` that would be my answer!
It’s straightforward to do in BuddyPress – @hotsitez has already pointed you to the basic function for echoing profile field values (which is also documented in member-header.php), and I’ve told you which files you need to look at.
As a PHP coder, you should be able to walk through those files to find the appropriate points in the code to hook actions in or modify your templates. You should also be able to search the BuddyPress codebase to find profile field functions you can call — start with the one @hotsitez gave you.
You can also look on the documentation (codex) area of this site for information about the profile field loop which may help you further – and point you to how base and other profile field groups are handled.
[Edit: and, if you want to learn about the action, filtering paradigm for development, you can find introductory articles on the wordpress.org codex]
Well, yes and no @hotsitez….
Here’s what I have:
I went into WordPress/BuddyPress via wp-admin — then navigated to Buddy Press > Profile Fields
On the Extended Profiles Fields page, I added a “Start Date” for our members to populate which is the date they started with our company. Then on the Base (Primary) tab on that page, I got my extended field positioned where I want it to display.
Perfect (so far).
Now what I want to do is apply some PHP to calculate how many months and years the person has been with our company and parenthetically display it next to the start date value on the member’s profile page in Buddy Press when people view a person’s profile.
How To Do That?
So where/how in member-header.php do I add that bit of PHP code? Note, I am a PHP coder, so I have no problem producing the code to make the calculation — I am not asking for that guidance. I simply need to know (a) what script/document file do I go to to add my code, (b) where in the page production stream in that script/document file do I add my code, and (c) how do I grab the start date value that is stored in the BuddyPress DB?
This maybe too complicated for Buddypress to do, but I am willing to give it a shot.
[Note: I toyed around with member-header.php per @hotsitez suggestion. The profile area that this script impacts is the upper “header’ area for a member. I am interested in getting into the flow of the Profile > Base page.]
I’m pretty sure this came up recently, and the core team had been unable to replicate — @djpaul was this something you were looking at?
I am also having a problem with registration.
Every time I go to my registration page (http://www.bodyweightexerciseblog.com/register) I am returned to the homepage of my website.
Also using s2member plug in with buddypress. In Focus theme with buddy press child theme.
> Fatal error: Call to undefined method stdClass::have_posts() in /home/…/…/wp-content/plugins/bbpress/bbp-includes/bbp-reply-template.php on line 168
Your error is coming from bbPress, not BuddyPress. Please post on the bbpress.org forums for help.
For some very odd reason, our BuddyPress registration page has a pre-populated value in the Full Name field (see http://www.pescholar.com/register/).
I can’t figure out if this is a BP issue or a theme-related issue, but has anyone got any idea how I can make this stop please?
Many thanks.
I am using:
Wordpress Version 3.4.1
bbPress Version 2.1
BuddyPress Version 1.5.6
Tersus Theme Version 1.3 (http://themeforest.net/item/tersus-responsive-wordpress-theme/2343187)
I created additional forums via Forums > New Forums (http://screencast.com/t/rmxkQejuuaM) Then I proceeded to create a new topic to test it out. It seemed fine. Went back to open the topic, and this is where the error is being thrown.
Here is a screenshot of what’s happening http://screencast.com/t/ZU0ohu061o4Q
Error says:
Fatal error: Call to undefined method stdClass::have_posts() in /home/…/…/wp-content/plugins/bbpress/bbp-includes/bbp-reply-template.php on line 168
Notice also, that the page title being displayed is from one of the WordPress posts that came with auto-importing dummy data for the theme.
I know a link to the site would help, but I am working with a client who’s not comfortable getting the link out before site-live time. So, sorry about that.
I asked for help from WordPress Forum support, and was told that this was most probably a theme compatibility issue. So I went to the theme’s support forum.
Last night, the theme’s author/s were helpful enough to guide me through what I assume are the usual stuff in troubleshooting this kind of stuff.
Here are the things I’ve done so far:
1. Disabled all plugins apart from bbPress – this resulted to the forum giving me a 404
2. Enabled BuddyPress – this brought back the forums, but with the same issue
3. Emptied all sidebar widgets that have to do with the theme.
4. Used the other theme package (bbPress Twenty Ten).
5. Deleted the function referenced in the error. Led to some new error. This was a desperate, illogical attempt on my part so i undid that.
6. Deleted the wordpress post being shown in the page title. It just displayed the title of the next wordpress post in line.
Note: every time i check to see if that fixed it, i do a clear-cache-reload, just so i’m sure nothing in cache was giving me this headache.
I really hope someone could help out.. Has anyone seen this kind of error ever been documented elsewhere?
@natetheaverage –
an outline solution (there are lots of areas where you’d have to work to implement it):
When a group is created, you could write a hook that creates a corresponding xprofile field group (remember to hook on delete group as well to remove the profile field group)
In the member’s profile screens, you would hide that xprofile field group if the member is not a member of the group
In a hook on Join Group, you’d want to display an additional screen that prompts for the user fields, and when that is submitted use the xprofile API to write the data to the user’s profile
I guess finally, you’d also want to modify the members loop inside the group to show that information
There’s a lot of code for you to trawl through
Nope. But when BP 1.6, you can use bbPress 2 for both group and site wide forums, and it comes with backend admin panels.
Thanks @Paul Gibbs,
You mean to say that we need to use the respective actions & filters over there and change the functionality (Customize to our wish) ?
I’ve added BuddyPress and bbPress as well as the Suffusion BuddyPress Pack and the new bbPress Pack. I’m really excited about how everything looks and works.
I am having one problem. Something seems to be conflicting with the Register page. When I fill it out and click “Complete Sign Up” It just refreshes the page.
I tried switching the theme over to the BuddyPress theme to see if that solved the problem, and it did. It took me to a page that said “Sign Up Complete” and to check my email for an activation code. Based on that, I think there is something in my Suffusion Child theme that is conflicting with BuddyPress. I don’t know where to go from here.
http://dev.weeklyscrapper.com/register
I have the most recent WordPress, and BuddyPress Plugin.
Any help would be very much appreciated!
Thank you,
Lacey
class wpdev_compose sounds like its not part of BuddyPress Core and is from a 3rd party plugin. This site only offers support for 3rd party plugins if another user helps you or the 3rd party plugin developer offers you support.
This site is mainly to help with the base install of BuddyPress.
I understand my friend and I am sorry for being a maniac but I am aggressively passionate about buddypress and just learning it and believe me I understand you guys are doing the best you could but I am just so frustrated with two problems one is that I want to set up portals for my users not site wide level access and two I have this error on my page and was just wondering to know what is this?
can you please if you got time, can you please help me out? Thanks buddy.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘wpdev_compose’ does not have a method ‘wp_footer’ in /home/content/53/9386553/html/wp-includes/plugin.php on line 403
@raminjan know that we are all unpaid volunteers helping out here, living in different time zones and have lives outside of BP and WP.
You have created many number of topics, some of which I answered and other topics were answered by others. And private messaging is turned off because others have abused it already.
BuddyPress is an opensource software, i.e., free and we try to help out as many people as we can, not just one. And when I was still a student, I recall doing my own research (Google et al) when I didn’t know the answers. So be patient and stay cool.