Search Results for 'profile fields'
-
AuthorSearch Results
-
February 5, 2010 at 8:28 am #62456
In reply to: [Resolved] Limited Checkbox Selection
Nick Watson
ParticipantDoes anyone know how to implement this into the profile fields on buddypress?
February 4, 2010 at 2:58 am #62347In reply to: BuddyPress Classifieds Component 1-beta released !
@mercime
Participant========== Continued ==========
Using 1.2 bp-default theme. Based on roles set in classified settings page, I allowed contributors upward to post classified ads.
Posting Classified Ads from BP frontend
1. Clicked on Classifieds on Main Nav.
2. In Classified Ads Directory Page – click on Create A Classified
2.1 – Classified Details – page has fields for Title and Description, then click on “Create Classified and Continue
2.2 – Classified Setttings – page has list of categories created per classified component instruction via special new blog and field box where you could add tags, and click on “Next Step”
2.3 – Classified Invites – page where you can send invites to other members re classifieds, click on “Finish”
Classified Ad Entry posted appears in Classified Ad Directory Page. The ad was also posted on the special new blog as post entry per my check. In addition, under member Profile Page, there’s now a link “My Classifieds” listing all entries posted in Classified Ads.
Posted Classified Entry from Special Blog Created for the plugin component
– Tested posting from the special blog to see if it appears in the BP-installed site. It Does.
Also, when you post the listing from the special blog, the tags show up in the Classified Directory Page and in single Classified Ad Entry page
Other Notes:
1. Classified Ad Entries do not appear in Activity Streams of Member nor Home Page
2. Site Admin should delete Hello World first post in new private blog set up for classifieds – if not configured to delete before
3, Created Blog for Classifieds plugin Settings > Privacy was set to Block Google but allow online visitors – but the special blog is showing up in Blogs Directory even when Site Admin is logged out.
4. Single page for a Classified Ad Entry – does not have navigation back to list of classifieds or have a “Reply” field box for possible interested clients.
5. Categories chosen and Tags added during set up of Classified Ad Entry, are not showing up anywhere in Classified Directory Page or single page of the Classified Entry.
6. Feature Request: ability to upload even a small single 150×150 image to go along with the classified ad entry.
Great job, Grosbouff. Thank you for continuing development on this component. Really Cool.
February 3, 2010 at 1:31 am #62262In reply to: What happened to "Add Prebuilt Field''
katemgilbert
Participant@lightcapturer – Yes, I found where to edit profile fields. Thanks much! I am wondering about pre-built fields now.
February 2, 2010 at 2:41 am #62203In reply to: What happened to "Add Prebuilt Field''
D Cartwright
ParticipantHas the db format changed that much for xprofile stuff from bp 1.0 to 1.2? I kind of got the impression that xprofile is something that has been on the back-burner for a while, what with lots of other features getting more attention (which is fine by me).
If this is the case you could try creating fields in seperate 1.0 install and then exporting the mysql + importing it into your 1.2 install.
I’m not sure if this is worse practice than install 1.0 and upgrading, but I personally don’t really like the idea of installing a very old version of BP on a system and later upgrading it. It feels ‘cleaner’ to just go straight to 1.2
February 2, 2010 at 2:15 am #62201In reply to: What happened to "Add Prebuilt Field''
r-a-y
KeymasterIt’s not in BP 1.2, and there’s no plugin I’m aware of that can add x-profile fields <i>en mass</i>.
Maybe in BP 1.3? Unless you want to use BP 1.0 and then upgrade to BP 1.2
January 31, 2010 at 6:12 pm #62092In reply to: Anyone else working on integrating Gigya?
designodyssey
ParticipantI’m looking to do something similar in having login/register on the same page. That should be simple, but not sure about the profile fields piece. I’m need to implement different registrations for different “types” of users. I can do this with different pages with hidden input fields. Not sure how to work this with different profile questions yet though. Keep us abreast of your progress.
January 31, 2010 at 4:43 am #62046In reply to: Anyone else working on integrating Gigya?
symm2112
ParticipantI have it loaded and it works for creating users but I’m debating on where and how to include the login field. I’d like to take it off and disable wp-login.php and have it added to the bp register page but I’m still not quite sure if that will work and still have them fill out their profile fields. Any suggestions? Also, if anyone knows what code needs to be put on the register template to include the same gigya login box that appears on the wp-login.php, i’d be really grateful.
January 30, 2010 at 7:18 pm #62021In reply to: Move profile fields to another field group?
peterverkooijen
ParticipantThanks Devrim. How do I “run” this? Would putting it into bp-custom.php take care of it? I know how to run a SQL query in phpMyAdmin. That’s essentially what this is, right?
Is there a reason not to try this manually in phpMyAdmin? Is the group_id field connected to/dependant on other fields that are easy to overlook?
January 30, 2010 at 5:03 pm #62017In reply to: Move profile fields to another field group?
Devrim
ParticipantHi Peter, I had the same problem, here is the code that will move everything from group_id 1 to group_id 3
Check the id of the secondary group and change the number 3.
—
require_once(‘wp-blog-header.php’);
$x = $wpdb->get_results(“SELECT * FROM wp_bp_xprofile_fields WHERE group_id=1 and is_required=0”);
foreach($x as $k=>$v){
$wpdb->update(‘wp_bp_xprofile_fields’,array(‘group_id’=>3),array(‘id’=>$v->id));
}
January 29, 2010 at 11:48 pm #61999In reply to: Custom Signup Fields
hardlyneutral
ParticipantUpdate: Looks like the field needs to exist in wp_bp_xprofile_fields. I manually added it, but it would be nice to figure out how to do it dynamically.
January 27, 2010 at 5:26 am #61797In reply to: Profile Field adds Award
Nick Watson
ParticipantBy the way, I have no idea why there are all those breaks. Ignore all the breaks in the code:
this is the real code
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( bp_get_the_profile_field_name() == 'Gender' ) {
if ( bp_get_the_profile_field_value() == 'Male' )
echo '<img src="male.jpg" alt="male" title="Male" />';
}
?>
etc etc etc
rest of the codeJanuary 27, 2010 at 2:28 am #61793In reply to: Profile Field adds Award
Nick Watson
ParticipantI trust your code works, but I think I just have no idea what I’m doing.
This is what my code looks like:
<br />
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?><br />
<?php if ( bp_get_the_profile_field_name() == 'Gender' ) {<br />
if ( bp_get_the_profile_field_value() == 'Male' )<br />
echo '<img src="male.jpg" alt="male" title="Male" />';<br />
}<br />
?><br />
etc etc etc<br />
rest of the code<br />(I’ve tried with both lowercase and uppercase fields)
I’m just using the Gender one to test this out, I’ve tested it with all these other ones but none of them are working.
What am I doing wrong.
January 27, 2010 at 1:14 am #61791In reply to: Groups vs Roles vs Custom Profile Fields
designodyssey
ParticipantFirst, is it jjj or JJJ?
Second, is there some way to use the usermeta solution for groups?
Also, I want to change the display of everything (dropdowns, menus, labels, etc.) to account for the different user types (e.g. teachers, students, parents). That would also need to be the case for groups (e.g. classrooms, schools, departments). How would you suggest going about this?
Thanks
January 26, 2010 at 11:26 pm #61785In reply to: Profile Field adds Award
Nick Watson
Participantbp_the_profile_field_value displays ALL of the values of the fields within the group, and
bp_the_profile_field_name displays ALL of the names of the fields within the group.
I tried what you said with the <?php if ( bp_the_profile_field_name() == ‘color’ ) {
but that still just continues to display ALL of the fields. (And yes I changed the ‘color’ to the proper field name)
Anyone have ideas on how to get a profile fields output to display a picture instead of the text?
January 26, 2010 at 7:40 pm #61737In reply to: Profile fields empty on registration
John James Jacoby
KeymasterNewer versions of BP along with newer templates and MU have solved this by moving those hooks and actions into the template, and BP hijacks the registration before it happens.
It’s happening because of an outdated theme arrangement. I’m going through something similar also at the moment and will be tracking this down shortly.
@wekko, the reason those fields aren’t entered right away is because a registered user isn’t an actual activated user yet. They need to click the link or be activated by the site admin in order to actually get entered into the user tables. In either case, that xprofile data is moved into the xprofile tables when the activation occurs, not when they register.
January 26, 2010 at 7:34 pm #61735In reply to: Profile fields empty on registration
wekko
ParticipantI found the answer. It’s not Buddypress, it’s WordPress MU. See: https://mu.wordpress.org/forums/topic/15324 . Apparently, wp-activate.php doesn’t load the Buddypress login including the hooks. Weird thing it doesn’t happen to everyone..
January 26, 2010 at 3:37 pm #61685In reply to: How to make all links DO Follow
Tracedef
ParticipantDo follow is also a great way to encourage users to create and fill out a profile, specifically if you create custom fields for their “websites” in their profile. Spam registrations are already a major issue ( at least for us ) so that isn’t much of a deterrent for us at least.
January 26, 2010 at 12:59 pm #61674In reply to: Profile Field adds Award
Boone Gorges
KeymasterThe code that I listed will not work as is. You have to make sure that you fill in the correct filenames for images, the correct desired values for profile fields, and the correct field names. Also it looks like I messed up and forgot at least one parenthesis. That’s why I said you’d need to tweak it. It should give you an idea of which functions to use, though.
January 26, 2010 at 10:40 am #61662In reply to: Profile fields empty on registration
danbpfr
ParticipantYou can search here for answers :
January 26, 2010 at 7:26 am #61654In reply to: Profile fields empty on registration
wekko
ParticipantWell, that makes sense. Still, if it’s a bug and it’s fixed in newer versions…someone should know about it right?
January 26, 2010 at 2:05 am #61640In reply to: Profile Field adds Award
Boone Gorges
KeymasterIn [your-bp-theme-dir]/members/single/profile/profile-loop.php, you’ll see a profile loop beginning
while ( bp_profile_fields() ) : bp_the_profile_field();. Inside of that profile loop you will be able to use various profile functions to test values. For instance,<?php if ( bp_the_profile_field_name() == 'color' ) {
if ( bp_the_profile_field_value() == 'red' )
echo '<img src="redbadge.png" />';
if ( bp_the_profile_field_value() == 'green'
echo '<img src="greenbadge.png" />';
// etc.
}
?>I have not tested this but it should work fine with some tweaking.
Your issue with appearance is a CSS thing, most likely that the ul elements are set to display: inline. Try setting them to display: block.
January 26, 2010 at 12:18 am #61633In reply to: Is there any way to stop spammers?
peterverkooijen
ParticipantThere was a new blunt solution here. Apparently having a couple of required custom profile fields also cuts down spam.
January 25, 2010 at 11:13 pm #61623In reply to: Profile fields empty on registration
Paul Wong-Gibbs
KeymasterTo be honest you aren’t going to get much/any support based on bugs in previous versions of BuddyPress as we may have fixed them in the more recent versions.
January 23, 2010 at 4:42 pm #61462In reply to: BP 1.2 : problem with bp_profile_group_has_fields()
Andy Peatling
KeymasterCan you post this in a ticket please?
January 23, 2010 at 3:25 pm #61457In reply to: BP 1.2 : problem with bp_profile_group_has_fields()
grosbouff
ParticipantOk, I founded out :
if ( bp_has_profile() ) {
while ( bp_profile_groups() ) : bp_the_profile_group();
global $group;
$one_group = array();
$one_group[‘id’] = $group->id;
$one_group[‘name’] = $group->name;
$groups[ $group->id ] = $one_group;
//if ( bp_profile_group_has_fields() ) {
while ( bp_profile_fields() ) : bp_the_profile_field();
//if ( bp_field_has_data() ) {
global $field;
$one_field = array();
$one_field[‘id’] = $field->id;
$one_field[‘name’] = $field->name;
$fields[] = $one_field;
//}
endwhile;
//}
endwhile;
}
Hope that it’s ok to comment those lines…
-
AuthorSearch Results