Search Results for 'profile fields'
-
AuthorSearch Results
-
September 9, 2011 at 8:20 pm #119817
Boone Gorges
KeymasterComponents register their table names themselves. See https://buddypress.trac.wordpress.org/browser/trunk/bp-xprofile/bp-xprofile-loader.php#L85
In the case of xprofile, they are
`$bp->profile->table_name_data
$bp->profile->table_name_fields`
and so on.You may find it helpful to look at https://buddypress.trac.wordpress.org/browser/trunk/bp-xprofile/bp-xprofile-classes.php to see how BP itself references these tables. Likewise for the other components.
September 6, 2011 at 4:32 am #119644In reply to: Adding to Account Information in Profile Setup
modemlooper
ModeratorThe easiest way is to ask the question in the profile fields section and then block the field from showing in the profile loop instead of messing with the username password.
In bp-default/members/single/profile/profile-loop.php find the profile fields table and change code accordingly.
You can then output the info on the members profile but wrap it in a if_is_admin statement and then only the site admin will see what the user has inputed into the field.
`
<tr>
`
September 4, 2011 at 10:55 am #119539ewebber
ParticipantNot yet according to this list https://codex.buddypress.org/releases/1-5-plugin-compatibility/
September 4, 2011 at 10:43 am #119537Quint
Participant@ewebber, thanks. That looks like it would work. Hopefully, it’s compatible with BP 1.5.
September 4, 2011 at 6:06 am #119526ewebber
ParticipantDoes this help at all https://wordpress.org/extend/plugins/bp-profile-privacy/
September 4, 2011 at 3:30 am #119520Quint
ParticipantI’m interested in knowing if there’s a solution to this question.
September 1, 2011 at 6:12 pm #119372In reply to: is it possible to let user to define his own theme?
modemlooper
ModeratorThere isn’t a custom profile plugin at the moment. There exists a group css plugin that could be used as an example in creating your own plugin. https://wordpress.org/extend/plugins/buddypress-group-css
Another option is adding profile fields and then mapping that info to CSS. See this forum topic: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/css-for-member-page
August 30, 2011 at 5:11 pm #119268In reply to: How to list user from a specific profile data ???
mohammad
ParticipantAugust 30, 2011 at 5:08 pm #119266mohammad
ParticipantAugust 30, 2011 at 2:47 pm #119255In reply to: Profile page
enderandrew
MemberI apologize. This was a false alarm on my part. I was testing on my profile, where I swore I had saved information. That was back when Ajax was broken, and I think it didn’t save my profile so all the fields were empty. I added information to my profile and it is showing up correctly now.
August 29, 2011 at 10:04 pm #119218In reply to: Profile page
landwire
Participant+1
That really would interest me too. Ideally showing the different group names as headings for the sections if there is any data in any of those fields.August 25, 2011 at 9:40 pm #119092In reply to: Asking the impossible?
kirkslater
ParticipantYeah I did post something similar but this is to take profile fields from a members profile and give them up as digital download, but the other one was to have uploaded PDFs by a member to be for sale. I felt this was two different things so posted two different posts.
Thanks for your help on the other post, any ideas on this one? Have you seen the working of the cart I found?
August 25, 2011 at 7:06 am #119041Sennza Pty Ltd
ParticipantThanks @modemlooper. I had been considering having to do an option like that. I’ll give that one a whirl tomorrow and see how I go.
Hey @djpaul, yeah they all have spaces in them. All the existing users come in with spaces in their name in a First Name, Last Name kind of way. I tried changing the ‘Nickname’ and ‘Display Name publicly as’ fields in my own profile to see what would happen yesterday and that obviously doesn’t have anything to do with it as you can see here: http://edgeqld.org.au/members/Bronson%20Quick/
I know the site was originally WordPress MU then it went to WP 3.0 then up to WP 3.2 and installed the BP theme and plugins on top of that. I didn’t have any existing users on my staging site so didn’t hit this problem til we went live….now I’m cowboy coding fixing bugs and I’m completely stuck with this one!
August 23, 2011 at 8:06 am #1188934ella
Participant@untilthen5 my PHP knowledge is adequate to zero , so I didn’t find any solution , I was studying @slaffik ‘s plugin to find something what should help us to display those fields , with my PHP knowledge I gave it up immediately.
Slaffik’s Group Extras plugin is great , even greater now with adding unlimited group pages, it miss only function to memorize the sets of fields for all groups (you should create for every single group those sets of fields over and over again , @slaffik promised to finish it too).
boone’s & modemlooper’s code is very quick and for me perfect solution because I don’t need the sets of fields. I need only 1 set of 10-15 extra fields on first Group creation step page which will better describe every group . Fields thanks Boone and Modemlooper we managed to get to insert into database, so group admins should see them now , fill them out , but without displaying those fields for public is now at least for me unfortunately useless .
It looks like displaying those fields in groups doesn’t seem so simple as we were thinking (the way of displaying the fields in profiles as we know is very easy). @modemlooper said after he will finish his other works he has also intention to finish this small but very useful plugin – I suppose he meant with displaying all those fields in the template so I am going to wait when someone of them will come with fully working plugin.August 21, 2011 at 10:36 pm #1188134ella
ParticipantThat’s what I want to know too , I hope that displaying group’s custom fields is a similar as the displaying profile’s custom fields code in the members-header.php. I will study it further.
August 21, 2011 at 10:18 pm #118811alfredojp
Participantcouldn’t you use the same basic technique as you would for displaying information for members int he profile header?
August 20, 2011 at 1:22 pm #1187694ella
Participant
php if ( $data = bp_get_profile_field_data( 'field=State' ) ) :
State/Region: php echo $data
php endifAugust 20, 2011 at 1:20 pm #1187684ella
ParticipantThanks modemlooper , type=”checkbox” will not be enough I guess , adding the options works the same as for dropdown menu? I will study it farther , your little plugin works nice for me at the moment, I don’t need nothing else than the correct code to display those custom fields within the groups(groups-header.php) , if somebody can tell me the code for groups to display it for a public I would be very grateful :
This is the code for the profile field “State” I use.
State/Region:
Custom fields for groups should work on similar basis I hope.
August 20, 2011 at 2:39 am #118765modemlooper
Moderatortype=”checkbox”
When I’m done with next version of BP mobile I’m creating a plugin that does what the profile fields does
August 19, 2011 at 9:09 am #1187264ella
ParticipantFor displaying member profiles fields I use this code in member-header.php:
php if ( $data = bp_get_profile_field_data( ‘field=State’ ) ) :State/Region: php echo $dataphp endif
(the code will be broken because I have forget how to insert the code on this site)
How can we display group custom fields in group-header.php?August 19, 2011 at 9:03 am #1187254ella
ParticipantFor displaying member profiles fields I use this code in member-header.php:
State/Region:How can we display group custom fields in group-header.php?
August 17, 2011 at 3:38 am #118599modemlooper
Moderatoroops, missing global. Making this into a plugin but might need some help. i’ll post it on git hub. Think we need same extra field functionality as profiles
`function group_details_markup() {
global $bp, $wpdb;`August 16, 2011 at 11:11 pm #118567In reply to: What does “Base profile group name” mean?
modemlooper
ModeratorYou can specify profile field groups like links or interests. The default group of fields is called Base but you can change it to something like info or about
August 16, 2011 at 10:10 pm #118555In reply to: Quick buddypress plugin question
Stigmartyr
Member@Stigmartyr – no need to thank me, Paul did the heavy lifting.
I’m not 100% sure but I don’t think that any tables get created when a new group is made, rather the existing tables are populated. Usually any tables to be are created are done initially when the mod is first installed.
If you’re trying to add more fields to the group profile like Paul said: you probably want to make a plugin that does this. Unfortunately like you I’m merely dangerous with php.
August 14, 2011 at 4:24 pm #118418In reply to: french date in profile fields
Paul Wong-Gibbs
KeymasterOh, that should be working. At least, I know it does in the latest version (1.5). We use 1.5 on this site, and I got an email and a notification (in admin bar) from you

-
AuthorSearch Results