Search Results for 'profile fields'
-
Search Results
-
I know this is a repeat thread, but it seems like I cant get things to work, I have default bp theme and plugin.
So I want to add custom fields into the members-loop.php for example to display city,province under name. I have the code but it doesnt work. Only a blank space, do I have to add anything to the functions.php or something. I can get CIMY EUF to work but I want to be able to use the built in fields instead.
thank you in advanced
bp_member_profile_data(‘field=province’); <
what I addedHi guys,
I need to use Å Ä Ö in the name of my profield fields but when I want to fetch the data using
‘bp_member_profile_data’, it cannot read the fields with å ä ö.
Any ideas? I’ve tried using the ‘& a ring;’ etc but it doesnt help.Hi Friends,
I have recently started plugin development for Buddypress. I have fair knowledge of PHP and understand basics of Plugin development. Please can you help me with certain queries below:
1. I understand using action hooks I can call my own function, but how can say that call my function after or before the action hook. e.g. I want to display new fields / text in User profile page so I’m attaching my function in action hook ‘xprofile_template_loop_end’, but this writes all the fields and ‘Save’ button and then calls my function so my fields/text comes after ‘Save’ button. Am I using correct hook? Or there should be different way?
2. How can I know in my function (to take appropriate action) the current selected option by user. e.g. action hook ‘xprofile_template_loop_end’ can be called in display and edit profile, how can I know in my function that it is edit or just display?
3. How can I add new fields on a page and database thru plugin and not manually editing the page?Appreciate your help.
thanks & regards,
AshwaniHi Friends,
I have recently started plugin development for Buddypress. I have fair knowledge of PHP and understand basics of Plugin development. Please can you help me with certain queries below:
1. Can you give me any link to good ebook for Buddypress plugin development?
2. I understand using action hooks I can call my own function, but how can say that call my function after or before the action hook. e.g. I want to display new fields / text in User profile page so I’m attaching my function in action hook ‘xprofile_template_loop_end’, but this writes all the fields and ‘Save’ button and then calls my function so my fields/text comes after ‘Save’ button.
3. How can I know in my function (to take appropriate action) the current selected option by user. e.g. action hook ‘xprofile_template_loop_end’ can be called in display and edit profile, how can I know in my function that it is edit or just display?
4. How can I add new fields on a page and database thru plugin and not manually editing the page?Appreciate your help.
thanks & regards,
AshwaniTopic: Profile fields CSS
hi,
is there any existing CSS (inside BP), which allows to modify layout of custom profile fields/table (I mean layout of page “Profile” of every member).
Let’s say, if I create field/text box “Location” and user fill it in with 3 words, BP makes two rows, what is not understandable, because there are hundreds of px to the right side + word location and … are in different levels. I just want some nice rows with aligned text.thank you!!!
There are three teachers using http://www.thechembook.com now and students are claiming they get confused with links to the different teacher’s handouts. It would be best to create dynamic links based on the instructor. When students register they choose the instructor via radio buttons.
Is there sample code for choosing content based on profile fields?
Since there are three teachers, is it best to use something besides an if statement?
Thank you for any guidance.
Update
It would be something like this (which doesn’t work)`
`
I’ve been playing around with my Buddypress installation, trying to understand the system. One thing I don’t really understand is the concept behind the WP vs. BP profiles. I understand that BP profiles are public and WP profile fields are private, and that some information, like the main account email is mirrored between the two. I suppose that back when BP was born there wasn’t much to do with the WP profile information, but now there are appparently core functions allowing the extension of the standard profile fields. Since the BP-members are necessarily WP members, I think that the user management should be integrated, with BP-xprofiles offering a front end UI fpr profile editing and a way to make the information public.
So, basically, I guess my question is – does anyone know of documents explaing how and why the current x-profile/WP-structure is done the way it is, and, possibly, how it is done in a bit more detailed way. I couldn’t find anything.
Thanks!