Search Results for 'profile fields'
-
Search Results
-
hello, I added the states of my country manually in a “drop down select box” profile field, they were 27, now I want to add the cities, I could of course leave that for members to write, but I wanted it to be written in the same way and language for every user to have better search, so is there any way to copy the list of cities each in a line and it can added as profile field somehow? is there a plugin or some way to do that? this can come in handy at adding many others lists like colleges or universities in the whole country with just the list of their names.
Hello, I’m new to BuddyPress but have plenty of WordPress experience. I’m running WordPress 3.5.1 and BuddyPress 1.7.1, making use of theme compat.
I have created a page called ‘Members Directory’ which is associated with the Members component directory. I’ve added some profile fields using bp_member_profile_data( ‘field=XXX’ ); and am adding them into a custom sidebar which displays user information.
Everything is displaying perfectly when I’m inside the members directory but when I am on other pages the BuddyPress profile data does not display – presumably because this is outside of the scope of the members component.
I’d like to find a way of displaying this information outside of the Members component directory. I know there is a new BP_User_Query function, which sounds like it may be similar to WP_Query, and I’m wondering if I could use this. Unfortunately I can’t seem to find any documentation or info around the web on this.
Any help would be very much appreciated! Thank you
Topic: Profile groups
I am using the code here http://pastebin.com/RLreXE7X which was in another post to display all profile groups during registration. But I can’t figure out how to get the ID (or name) of the current profile group in the loop, is this possible? Psuedo code something like this
<?php /***** Extra Profile Details ******/ ?> <?php if ( bp_is_active( 'xprofile' ) ) : ?> <div class="register-section" id="profile-details-section"> <h4><?php _e( 'Profile Details', 'buddypress' ) ?></h4> <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> <?php if ( function_exists( 'bp_has_profile' ) ) : if ( bp_has_profile( ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?> if (profile group ID = x) SOME CONDITIONAL STUFF <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> ....Hi All
I would like to modify the Buddypress Registration Page to a certain look.
Ideally, I would like to have it set up as a single column with certain fields in a certain order, rather than having two columns as it is setup. So I would like to have it setup as:
1. Name
2. City
3. Province/State
4. Country
5. Email Address
6. Username
7. Password
8. Repeat PasswordRight now I am only able to modify the right column of fields as under Dashboard – Users – Profile Fields.
Can I modify without mucking around with PHP Code or is there another registration plugin I can use that will be compatible with Buddypress?
Thanks!
Hello,
Just letting you know we’ve found some “sketchy” code in BP that could be improved. Probably won’t affect 80% of users, but here it is…
Version: 1.7.1
File: bp-core/admin/bp-core-schema.php
Lines: 308-309`
if ( !$wpdb->get_var( “SELECT id FROM {$bp_prefix}bp_xprofile_fields WHERE id = 1” ) )
$insert_sql[] = “INSERT INTO {$bp_prefix}bp_xprofile_fields ( group_id, parent_id, type, name, description, is_required, can_delete ) VALUES ( 1, 0, ‘textbox’, ” . $wpdb->prepare( ‘%s’, stripslashes( bp_get_option( ‘bp-xprofile-fullname-field-name’ ) ) ) . “, ”, 1, 0 );”;
`Symptoms:
When we first installed BuddyPress, we removed the “name” field in favour of using a combination of FirstName/LastName. Now, any time we do a major upgrade, BP creates a new required “Name” field in the database.The Problem:
You are searching for a field with “id=1” but when you create it, you don’t give it an ID of 1. This code makes the assumption that it is running on a new install, and therefore the database table must be empty. In our situation above, it is creating a new “Name” field but uses the auto-increment ID so the field never does have ID = 1. A similar problem appears to exist in the preceding lines as well when creating the group.The Solution:
Many possible solutions exist. One might be to create the field with an ID of 1 hardcoded. Another might be to test for the existence of a field where name = ‘Name’.Thanks,
JamesEDIT: typo.
Topic: Fixing The Profile CSS
Hello,
I am not exactly a “noob” to code editing but nowhere near “experienced” either. I have installed BuddyPress 1.7 on my WordPress 3.5.1 but the pages look dull with my theme colors. I was hoping someone could help me do the followng:
1. Add a white box behind all of the profile info. It looks bad on the tan background. (See Sample 1)
2. Make the Tabs at the top actually look like tabs. I will be earasing a few so they’ll fit on one line. (See Sample 1)
3. Close the gaps in my profile fields. As you can see they are too spaced out and I don’t understand it. It look terrible on the registration page as well. (See Sample 2 & 3)
4. Change the grey font color to black as I cannot find where the CSS for this font color is located! (See Sample 2)If you can help with ANY of these 4 issues, I’d GREATLY appreciate it! I believe they are issues that would be simple to fix. Thanks!
Sample 1: http://i1201.photobucket.com/albums/bb354/FlashyTees/Sample1_zpscc6c4f4a.png
Sample 2: http://i1201.photobucket.com/albums/bb354/FlashyTees/Sample2_zps9010516f.png
Sample 3: http://i1201.photobucket.com/albums/bb354/FlashyTees/Sample3_zpsc0b69739.pnghello, I’m making a community for college students and I want to use the automatic profile fields in search but not just with one field only, I want to mix grade with faculty or with level and so on, will make a separate page and link to different keywords, for example that is how it show in single field when clicked:
http://example.com/members/?s=keyword1
I wanted to put a link mixing another keyword to refine search, by adding the plus sign like that:
http://example.com/members/?s=keyword1+keyword2
unluckily this didn’t work, so is there any other way to do this, I just want to know how to achieve this in terms of links if it can be?
Hello. For some reason I posted here before but I cannot find my messages…
Anyway…
1.) I have a custom wordpress theme and I installed BuddyPress. I also installed the theme pack for BuddyPress and I would like to customise it to my own needs.
I was wondering, the files for this rely on the theme or on the plugin itself? On one of the previous versions, I thought I saw it on one of the plugin folders. I would like to apply my own style (I just want to change the colors TBH) but I want it to reside on my own theme folder. Do I need to copy any files?
2.) I want to use profile pictures from elsewhere on my user profiles. I also made some custom fields and would like to feed them from data taken externally.
How can I modify the profile icon and the custom fields externally? How are they created on the database, so I can fill those fields in manually?
Thank you for your time!!
How do I get BP extended profile fields to show up on user page in WP admin?
Thanks,
John
Hi everyone
i am using buddypress plugins and theme. it is quite easy and fine. but i want to create a slambook website where user can create, manage their slambook fields like “what is your Favorite book”. And also user go to another user profile and fill his slambook just like orkut scrapbook where user go to another user scrapbook and fill something.i am finding a lots of plugins but nothing sufficient found yet.
Please help me. i need a direction. suggest me plugin or method for this.
Thanks in advance
Topic: Dynamic profile fields
Has anyone come across a solution to dynamic profile fields?
For example, I display a profile input field “Qualifications” on the edit profile screen. The field is currently a one line text input. This is great if the member has 1 qualification. What if they have 2 qualifications, or three, or more?
I’d like the member to be able to click on an “add more” button which creates a new text input which they can use to add a second qualification. Clicking on “add more” again will add a third text input and so on.
Your thoughts and ideas are appreciated…
Topic: Remove profile links
BuddyPress is automatically turns custom fields into links on profile pages. I’ve tried turning off this feature with the code below, but it doesn’t work. Any suggestions? Thanks.
`
function remove_xprofile_links() {
remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
}
add_action( ‘bp_init’, ‘remove_xprofile_links’ );
`