Search Results for 'profile fields'
-
AuthorSearch Results
-
July 7, 2011 at 8:48 pm #115935
Nahum
Participantin the function, where color = your main field heading, I’ve used a dropdown. and Red is one of the drop down items to select from.
I don’t know if it works the same if the field was just a text field. I imagine so.
July 7, 2011 at 8:42 pm #115932Nahum
Participant@gregfielding I forgot where I found this (maybe bp-tricks)
put this in your bp-custom
`//CHECK IF THE ACCT IS CERTAIN ACCT TYPE
function My_Function ($user_id) {
global $bp;
$type_member = xprofile_get_field_data( ‘Color’, $user_id );
if($type_member == ‘Red’) {
return true;
} else {
return false;
}
}`Then to display in sidebar
`
loggedin_user->id)) : ?>
Red SidebarSome other Sidebar
`July 7, 2011 at 8:33 pm #115930gregfielding
ParticipantTrying to call the loggedin_user_id, but doing to wrong…
`loggedin_user->id) && bp_get_profile_field_data(‘field=783’) === “Yes”) : ?>
sample code
`July 7, 2011 at 6:23 pm #115916gregfielding
ParticipantHere’s the code I’m trying to use in my sidebar:
`
sample code
`
July 6, 2011 at 7:59 pm #115874In reply to: Profile fields for specific user roles
embergermedia
MemberI use S2member to monitor my sites membership, it provides hooks and such (not too sure about the terminology) that allow you to display content to certain user roles. I have a user role for companies (experts). I also have a profile field group just for them. It is the last group.
I have added inline css using last-child selector to hide the menu option to edit this profile group from everyone except members that have a level 2 membership. And since Buddypress will only show profile data if the field has been filled in, it only shows on Experts (level 2 ) users public profiles.
If this is confusing, let me know and I’ll try to give exact steps for how I accomplished this.
July 1, 2011 at 9:04 pm #115547pcwriter
ParticipantCheck out this thread. You can adapt the code provided for xprofile fields by simply replacing the ul class with `table.profile-fields`.
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/make-drop-down-menu-links-open-in-new-page/There are also several plugins that might get the job done too, but you may have to fiddle with them. Search the wp repo for “Open external links in a new window” for a few examples.
June 28, 2011 at 12:33 am #115322Magi182
ParticipantI was able to hack this plugin to accomplish most of what I needed:
https://wordpress.org/extend/plugins/bp-export-users/
You have to edit the array in the plugin file to use your buddypress profile fields (you can add or delete), but other than that, pretty slick.
June 26, 2011 at 1:42 am #115224In reply to: How to manage users & their extended profiles?
Meini
MemberSorry guys for some reason I don’t get emails sent to me when there is activity in my groups and I haven’t been too active here for a while. I have made a start and produced something usable, but haven’t worked on it for a while, so I would like to make this code available to anyone who is interested to expand on it. I managed to implement a feature to force users to complete mandatory fields in their profile if they haven’t done so.
Help yourselves… http://www.utechworld.com/files/public/buddypress-utech-user-manager.zip
Have fun …
June 25, 2011 at 12:58 pm #115202In reply to: Mass Group Creation possible?
4ella
ParticipantSome GROUPS import plugin would be great because the force of the buddypress and similar social network is mainly in Groups , groups represents local business as companies , sport clubs , company divisions , theaters , museums , schools (Groups =classes) . Members represents employees & athletes & students .
Many local activities , many associations has a list of those clubs & companies & schools in their CSV files , they would use it very nicely with buddypress , then they can use BP powerful forums for their employees , maps , reviews , docs , galleries .
I have a csv lists of bars , nightclubs from all over the world (200K) , with custom fields like :name
country
province
city
address
phone
email
basic club description
and one Group profile picture =logowhich serves for everybody – girls searching for jobs (I am using Docs for explanation info ) , clients searching for reviews , photo galleries , club owners searching for both – girls working there , clients coming there , many BP webmasters are using Groups for similar purposes , many people who doesn’t know buddypress yet and has those huge csv lists would be potentially a new BP users , especially because of that great feature (bulk Groups import plugin).
Nobody will want to create one group for 5 minutes , they would like to import basic xxx groups to set up basic database and to give an example to the new group admins creators =(club owners as admins) in my case , maybe they would also like to sync it with their excel database in future.
I understand that BP developers have a lot of work to do , so I don’t ask that kind of code or plugin urgently , but if it is not too difficult (only you know it if it is , because for me 3 lines of simple code seems to be very difficult ) , would be nice to have it for all of us = BP users , if it is a quite difficult take it pls only as e new plugin suggestion .June 25, 2011 at 2:41 am #115195In reply to: Solved: set a character limit on activity content?
tonydbaker
MemberDid you ever create a wordpress/buddypress plugin for this? I need to limit characters on activity, but I’m not a programmer. I can activate a plugin though! Also, I need to limit characters on a couple of custom profile fields. Thanks and Let me know!
June 24, 2011 at 1:43 am #115141In reply to: Buddypress Facebook Connect and Avatar Plugin
gdeglin
MemberThanks 4ella! Just sent you an email. We don’t sync profile fields yet, but we have some other features that make us more interesting than the other Facebook connect plugins out there.
June 23, 2011 at 11:07 am #115090In reply to: Buddypress Facebook Connect and Avatar Plugin
4ella
Participantvery nice avatars , I am using facebook autoconnect premium , I am satisfied with that (except facebook fields support – location , age , language ) , I am also member of buddydev.com where I can use its facebook connect too, but avatars from there changes the size in sidebar and in profile and till now I didn’t have a time to play with css files to change it and to put it in live environment , I like Brajesh plugin more because of facebook fields = buddypress profiles fields sync , feature which autoconnect doesn’t have , do you support that too ? I am using facebook autoconnect a lot , so if you want I can try to test it out for you too . Using custom avatars like I have seen your examples would be great because many people doesn’t want to show their original facebook photos .
June 23, 2011 at 9:15 am #115087In reply to: Mass Group Creation possible?
4ella
ParticipantI had the same question 1 month ago here on BP and nobody responded , hope that somebody will respond you because I have a csv file with 20K nightclubs and I would like to create 20K groups where every club will have their forum , review , blog , gallery , wiki =docs . I would like to add there some groups profile custom fields where I should add custom fields to describe every club , but there’s no fully working plugin yet , Groups Extras from @slaffik seems to be left, Groups Frontpage has only a few fields.
June 21, 2011 at 1:51 am #114950junger
Participant@candy2012 just to clarify, the order of the fields should be
`
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="” />
`
It works great!
June 18, 2011 at 2:44 pm #114767In reply to: How to display profile field within post loop
DoctorDR
Member@jpfaraco the following method worked fine for me.
“
But the methods discussed in other posts did not, namely;
“ and “
Perhaps somebody more knowledgeable than I could explain why, since the first method was recommended several times in the past by @hnla – https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-show-custom-profile-fields-in-a-template-file/
June 10, 2011 at 3:13 pm #114280In reply to: Profile Fields Questions
Bowe
ParticipantYou can read a full tutorial about it here:
http://bp-tricks.com/snippets/displaying-certain-profile-fields-on-your-members-profile-page/
June 10, 2011 at 3:06 pm #114279In reply to: Profile Fields Questions
blauweogen
ParticipantFor anyone else looking for getting an if statement to work, I got to work. This is from member-loop.
`some textHere is the same for the member-header.
some text`
June 10, 2011 at 2:56 pm #114277candy2012
MemberHi Brandon,
I’d love to learn more about how can I implement what you suggested (I am not a programmer, so I’d really need some code here
)“hook in a profile edit action and check to see if all the fields you require have been completed. ” .. how ?!?!?
Can you help with the function pls?“Then you could hook into bp_init, check that usermeta field, and if you don’t get the correct response, then you can redirect them to their profile, or display an error telling them they need to complete their profile.” – would be fantastic, but again … how to write that?
The issue with “friendly or not for the user” is all related with what your site wants 2 achieve; if you simply need all that information to make your site useful and do not want to end up as a fakes collection a la Facebook, than you just NEED to find a way to enforce that on users …
Thank you in advance, woudl be really great to have some feedback on that!
(I find that user progression pretty much useless, and it does not work properly in WP 3.1.2 either
); that’s just my opinion on it ..June 10, 2011 at 1:45 pm #114274candy2012
Memberwhat do you mean by “miss”?!? All those mandatory fields are useless if not forcing the user to fill them in (which right now does not happen)
It’s a complete lack of logics, don’t you see that?right now you have so-called mandatory fields which actually are optional, cause no one, no where, can force the user to fill them in!
June 9, 2011 at 12:54 am #114191In reply to: Multiple Profile Group Fields in Registration
candy2012
Memberworks well for me

I would have loved to have a splitted registration form though (like fields from group1 on the 1st page, fields from group 2 & 3 on the following form registration page, etc), to prevent scare away users if you happen to have more fields you want them 2 fill in …but I must be honest, I have NO clue as of how to achieve that ..
If you happen to find a solution, I’d appreciate if you’d post it back here

C.
June 8, 2011 at 6:18 pm #114161In reply to: Events Manager for BuddyPress
webbietl
MemberIs there a way to add extended profile fields info to the Bookings Report? When people register, I ask them if they are Vegetarian and I need that info when I manage the bookings to know how many vege meals to serve. I tried using for an added column but it only fetches my preference in all the columns.
Hope to see the option to add extended fields in Books report.
June 8, 2011 at 3:49 pm #114141In reply to: Does anybody use Multiple Profile Types?
billzy
ParticipantCustom Profile Fields Buddy press plugins… there is a also a few permission plugins in there also… wordpress.org i found them months and months back still work…
June 5, 2011 at 4:08 am #113901In reply to: Member Profile Extras
Virtuali
Participant`one, too: cursor on “buddypress with logo” on menu, on left. it will show arrow to expand, see option there.`
???
Just go to your dashboard and create more profile fields under “Profile Field Setup”
June 4, 2011 at 11:08 am #113839In reply to: Bug: BuddyPress to WordPress profile syncing broken
webpagesindiadotnet
Member@paulhastings0 Try this filter, it will sync user name on the fly
just paste this block of code in your template functions.php
`
/////////////////////////
///// To sync user names on the fly, it will show xprofile fullname of user
/////////////////////////
function wpi_sync_member_name($data) {
global $members_template, $bp;#$firstname = xprofile_get_field_data( 1, $members_template->member->id ); // 1 = firstname > wp_bp_xprofile_fields.id
#$lastname = xprofile_get_field_data( 51, $members_template->member->id ); // 51 = lastname > wp_bp_xprofile_fields.id
#$fullname = $firstname .’ ‘.$lastname;
#return $fullname;return bp_core_get_user_displayname( $members_template->member->id );
}
add_filter( ‘bp_get_member_name’, ‘wpi_sync_member_name’ );
`June 3, 2011 at 8:35 am #113752 -
AuthorSearch Results