Search Results for 'profile fields'
-
Search Results
-
Topic: Profile Custom (Text) Fields
Hi there,
I added some custom (simple text) fields for the members profiles but I noticed that visiting in the frontend a member’s profile these fields are links (e.g. http://example.com/members/?s=music.
All these fields direct to a searching result page based on the custom field’s text.
I think these fields should be simple text, not link, right?
Hi,
It would be great if we could assign a value/label pair for each option in dropdown lists and all “Multi option” fields. Thus we could change labels whitout change stored values.In my case I have a dropdown list of states, and my users select their state. I need to correct a spelling mistake, but if I change the option value, the users with this state assigned are losing their choice.
If we could achieve this, it would be much more flexible. Is there any way to do customize BP like this? Is possible to get this in future BP updates?
Regards,
FernandoHi,
As I want to categorize user’s profile types and extend BuddyPress abilities to multi user profile types (Like: Student, Teacher, Staff & … with separate registration fields) also enable each of them to choose between various subscription plans, there is needed to have following facilities:1- Enable users to choose between various profiles types (different registration fields)
2- Enable them to choose between various subscription plans (FREE, BRONZE and GOLD)
3- Sending/Receiving Message, Creating Groups & Inviting other users to add to the groupFurthermore you may find a schematic (PDF format) of what I am looking for at:
http://www.mediafire.com/download/45x1bw071f93sr5/Registration+Process.pdf
Hi,
As I want to categorize user’s profile types and extend BuddyPress abilities to multi user profile types (Like: Student, Teacher, Staff & … with separate registration fields) also enable each of them to choose between various subscription plans, there is needed to have following facilities:1- Enable users to choose between various profiles types (different registration fields)
2- Enable them to choose between various subscription plans (FREE, BRONZE and GOLD)
3- Sending/Receiving Message, Creating Groups & Inviting other users to add to the groupFurthermore you may find a schematic (PDF format) of what I am looking for at:
http://www.mediafire.com/download/45x1bw071f93sr5/Registration+Process.pdf
Hello – I am using woocommerce fields for registration and would like to use the ‘company_name’ field from woocommerce as the main display name in Buddypress (on profile and members list etc.)
Rather than hack different template files I was hoping to create a function that would replace the existing ‘bp_displayed_user_fullname’ with the woocommerce ‘shipping_company’
I’ve tried various ways but ultimately failed so am hoping somebody might be able to point me in the right direction? please!! 🙂
Recent install of wordpress/buddypress and all of my profile fields of my members are returning in the format of a hyperlink. I need them to return in plain text. I believe there’s a PHP file somewhere I just need to make a small edit too to accomplish this. Any ideas?
Hi,
I use Wpml with BPML. I achieved to translate every part of my website but the problem is i cant translate even if with string translation to profile fieldd value. On register, search and profile edit page is okey. All fine. But my profile page is not okey. When i edit my profile staff i see all of them is Turkish but when i updated settings all fields turn English.
It’s just because that fields come from xprofile_date_value and i cant translate data value.
I tried everything, even if i imported values to string translation by editing xprofile_template.php but my problem still goes.
Anybody have idea ? how can i fix this ?
Topic: oEmbed in BP Profile Field
Hey all,
The most recent post I saw concerning this issue was back in 2013, and it included a link to @modemlooper ‘s website.
http://modemlooper.me/allow-youtube-embed-in-buddypress-profile-fields/
But the URL seems to be down…
Any chance this golden info is somewhere else? Or even better; is @modemlooper still with us today?
Thanks,
\MHey there guys, i’m working on a website where i’m integrating s2member functionality with buddypress. I thought some of the things I’ve come across may be useful to other people.
1. Filter Users Displayed in Members Directory by s2member role.
In your plugins/buddypress/bp-templates/bp-legacy/buddypress/members/ folder edit the file “members-loop.php”. Just under
<?php do_action( 'bp_before_members_loop' ); ?>at the top 20 lines of the file we need to write some PHP code to build a comma separated list of ID’s based on the s2member role or roles that we want. In my case I wanted only members of “s2member_level2”.
<?php $args = array ( 'role' => 's2member_level2', 'fields' => array( 'id' ) ); // The User Query $user_query = new WP_User_Query( $args ); $custom_ids = ''; for($i = 0;$i < sizeof($user_query->results); $i++){ $a = $user_query->results[$i]->id; $custom_ids .= $a.","; } ?>Now that we’ve made a comma separated string of ids ($custom_ids), we need to pass it to the members loop.
Change
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>to
<?php if ( bp_has_members('per_page=30&type=alphabetical&'.'include='.$custom_ids ) ) : ?>
In my case I wanted to make sure atleast 30 members showed up, and that they were in alphabetical order.Done.
2. Importing s2member custom fields to buddypress fields
You may be asking; why??? Well, it turns out that when you have the s2member option to integrate with buddypress it doesn’t actually import it’d data to the buddypress tables. It just binds it’s self to the ‘Base’ group, Which will show up by default in buddypress profiles. When it doesn’t import to the buddypress tables, it was very difficult for me to manipulate how the information showed up. Particularly the fact that I have the users give me their address information, and I don’t want that to even be an option to show in user profiles.
So instead of using s2member to integrate automatically, I wrote a function that would check a users information when they login. If they have certain information in s2member that is not in their BP Profile, it will add it automatically.
in functions.php add the code:
<?php add_action('wp_head','s2_profile_field_update',10,2); function s2_profile_field_update() { global $current_user; get_currentuserinfo(); if( get_user_field("s2member_login_counter") < 1000 ) { if( current_user_is("s2member_level2") ) { if(xprofile_get_field_data('Nationality',$current_user->id) == '' && get_user_field('nationality') != '') { xprofile_set_field_data('Nationality', $current_user->id, get_user_field('nationality')); } } } } ?>You can change Nationality to what ever the name is of the extended BP field (in users>profile fields).
And of course you can duplicate the if statements for how every many fields you want to import from s2memeber -> BP.
Also note thatif(get_user_field("s2member_login_counter") < 1000)mean’s that this process will run for any user that logs in with membership role s2member_level2 and has logged in less than 1000 times. I used 1000 times because I want any member at this moment who logs in to have their profiles populated. In the future I will drop it down to 1 or 2.I’ll post more as I gather it. But in the mean time I hope this helps some people.
\M
I created an extended profile field and used a drop down box for its choices (5). How can I list the 5 choices of the extended profile field?
Thank you
Topic: display member updated date?
Hello!
Im building a custom template with a Members loop. I am using the standard loop but I want to filter the results with values from the users xprofile fields. When I use only one search term ie:
( bp_has_members( ‘search_terms=Sweden’ ) )
it works fine and give me the members who have filled in Stockholm as a City
But if I want to add another search term ie:
( bp_has_members( ‘search_terms=Sweden Stockholm’ ) )
No results are displayed.
Do I need to anable multiple search terms somewhere? And how do I use even more than two search terms?
Topic: Help: User limit
Hello there,
I have a favor to ask of you. I’m planning to built a website in wordpress which will have a social networking module. I expect 3,00,000+ users registration on my site. The question is can BuddyPress manage this amount of users?
If yes, then what could be the expected database size consumed by BuddyPress to manage 3,00,000+ users assuming 5 text fields in the user profile.
Will there be any kind of special database requirements needed?Wordpress ver: 4.0
BuddyPress ver: 2.1.1Thanx in advance
RegardsHello folks,
I’ve been researching translation plugins for my buddypress site (WordPress 4.0 Buddypress 2.1.1 – clean install as of yet, running twenty thirteen theme right now, just starting out on the theme development for my site, I want to pin the language issue down before doing anything)
I want to be able to provide my visitors the option of displaying my buddypress in different languages however I do NOT want to translate any of the blogs/posts/comments/forums/any user generated content I just want to translate text on the BP pages, text in the menus, alerts etc
The only slightly complicated bit to it is I have a few custom defined profile fields that I would like to translate
To illustrate, take this example
my (hypothetical) member page would read:
Name : Matt <—User entered text, not translated
languages: English, Swedish <—selected from drop down list/check boxes
Country : England <—selected from drop down list/check boxes
Nationality : English <—selected from drop down list/check boxesMY activity feed/entry would read
“Hello everyone, my name is Matt”
****Now let’s say a French visitor visits my profile, they would read
Nom: Matt
Langue: Anglais, Suédois
Pay : Angleterre
nationalité : Anglais“Hello everyone, My name is matt”
**I do NOT want my comment to read**
“Salut tout le monde, je suis matt”
So in short, I want to be able to provide translations of everything on the website that I have coded in there (menus, alerts, instructions, registration emails, info pages etc) but leave alone anything that a user has typed
I would really appreciate being pointed in the correct direction for this – almost all of the plugins I’ve come across so far are focused on providing translations for everything, blog posts included
Cheers!
Matt
Topic: WP – BP profile fields sync
Hi, i have 2600+ users regitered in my website and i recently installed BP so I wouldn’t like to make them Re-fill their profiles, is there any posible way to to this sync thing between the Woprdpress profile (Name, Last name, About Me)?
Im on wp 4.0 and bp 2.1.1
Also I read something in the forum from @henrywright where he says that addingxprofile_sync_wp_profilewill do that, but i dont know in wich php should i put that.