So I’ve created the profile fields. How do I go about creating a directory template with a custom members loop that checks for the blog fields and displays them?
1 solution: Add profile fields for them to enter their blog details, create your directory template with a custom members loop that checks for the blog fields and displays them. This may be inefficient for a sparse databse with lots of members
Oh, that explains the trouble. Any idea where I can get that code? I’m just a beginner at this and don’t know much about coding yet, but I’m eager to learn.
I had the same problem, but as Roger Coathup explained that the profile view was supposed to show in a separate tab I realized something was wrong with our site. We are using the default theme, and I can’t seem to figure out what we might have been doing wrong to prevent the profile tab from showing up. I have included a link to a screenshot of the problem: http://lumosnorge.no/wp-content/uploads/2010/09/screenshot-buddypress.png
Hope someone will be able to help me, as I would vert much like to have the profiles show up on our site.
It’s just spammers isn’t it! When bots sign up, they have to or think they have to fill any form fields they find so they simply place random characters. Are these actual users or spammers?
@mercime, I am with WP 3.01 BP1.252
there are 2 fields, Primary Language(text box) shows something like “O4hDNZAiV” or “7rj462jpc”, and About me(text Area) shows something like “s2MtUZWWDRJYlj” or “jJxbfMDAPTIJK4r”
This only happens on newly registered members. For old members, even input new information in profile the first time, it still works normal.
It turns out that it was running 32M or memory, so I created a .htaccess that increased that to 64M
Now the WP works, but the database is generating errors that the table it is looking for doesnt exist.
Here is the error from the log. Note, I am hosting this in Rackspace Cloud (CloudSites):
[22-Sep-2010 09:15:23] WordPress database error Table ***********.wp_bp_xprofile_groups’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_groups WHERE id = 1 made by require_once, require, do_action, call_user_func_array, xprofile_add_admin_menu, xprofile_install
[22-Sep-2010 09:15:23] WordPress database error Table ***********.wp_bp_xprofile_fields’ doesn’t exist for query SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require, do_action, call_user_func_array, xprofile_add_admin_menu, xprofile_install
Which was based on the previous post I mentioned above. I have been testing the ‘add_post_model’ to see if I could get just one to work.
Lastly I changed the global.js like this.
`/* Default POST values */
var object = ”;
var item_id = jq(“#whats-new-post-in”).val();
var content = jq(“textarea#whats-new”).val();
var title = jq(“input#add_post_title”).val();
var make = jq(“input#add_post_make”).val();
var model = jq(“input#add_post_model”).val();
var price = jq(“input#add_post_price”).val();
var location = jq(“input#add_post_location”).val();
/* Set object for non-profile posts */
if ( item_id > 0 ) {
object = jq(“#whats-new-post-object”).val();
}
I do not get any errors but I cannot get any data to show up. The holder for the meta tags shows up but it doesn’t contain any data. I’m not entirely sure where I am going wrong. Is this the best solution for my problem or is there something else I am missing?
The default theme shows the profile on a separate tab when you visit the member’s page. If you want to move the view profile content onto the activity tab you can look at copying the content from members/single/profile.php into members/single/activity.php (do this in a child theme of course).
If you want something more sophisticated, take a look at the custom loop examples under Support …. Docs on this site
Hi there, I wonder if anyone knows how I can edit each members page to show their profile as well as theiir activity stream? I did this using the old theme structure but for the life of me can’t figure how to do it now.
@Modemlooper- Thanks for the reply.
Do you know if that works for editing the fields, or just for displaying them? I tried uncommenting that using one of my field names, and it crashed my page. I will continue to play around with it.
I am working on my BP child theme and I would like to modify the profile edit.php file. My project requires more extensive formatting of the profile edit page, so rather than using the profile loop, I was hoping to call profile fields individually, along with additional markup (More titles, divs, etc)
Clearly I am a php novice- Could someone give me a hint on how I would call an individual field for the profile edit page?
Also, any opinions on whether or not this is the best way to get to my goal of having more formatting on the profile edit screen? Any other ideas?
I want to do this on the header of profile page—
if user ID is 1 or 2, display
ABC
instead of
“last update’, “mention this user”….
if user is anybody else, display item-meta as normal.
How to do this?
in members-header.php, can comment out a line to display some fields, but that changes for all. I want to change for only several member’s profile page.
To create a directory of services for a specific community.
The registered WP/BP users would be service providers which should be able to register and fill in some special fields (i.e. name, description, services they provide, locations where they work); the end users would be their consumers, which should be able to list those providers i.e. by service and location.
All the categorization stuff can be accomplished through taxonomies, it’s kinda easy and I can use multiple filtering criteria, even mix taxonomies with search keywords. It would work great if service providers where a custom post type, but since I need every one of them to log in and update their own data, I think user profiles are the best choice… except that none of this stuff applies to profiles.
Extending profiles with extra fields isn’t the problem, I don’t even need BuddyPress for that. But taxonomizing them… I can’t work it out :S
#1 look at the /members/single/member-header.php file in there you will see a commented out line of code that will enable display of extra profile fields, if you have created them – exact positioning of that data is down to where you decide to output it in the theme.
#2 undoubtedly yes, but it’s a slightly big subject to give a simple explanation of. In a nutshell: given that we can check the displayed member id then in theory you could use that to run a conditional to render different markup depending on the member profile being viewed.
i just want to check how many fields user filled or how many left blank ….for making profile completeness bar..can anyone help me out for getting count of field values from buddypress extra fields..
thanks in advance ..
Author
Search Results
Viewing 25 results - 4,501 through 4,525 (of 5,701 total)