Search Results for 'profile fields'
-
Search Results
-
hi.
i am using latest version of wordpress and buddypress.
——
i want to create a new field by code, in group1 (which will be appeared on signup page) so when user is signing up,
see that box and fill it, and cannot edit it after the account creation (for example just like USERNAME!)
(you set it once, and it cannot be edited after…)and then so i want to call that field later, and assing data to it like:
xprofile_set_field_data ('First Name', $user_data->ID, $identity->name->givenName); xprofile_set_field_data ('Last Name', $user_data->ID, $identity->name->familyName); xprofile_set_field_data ('WHO INFORMED YOU', $user_data->ID, $identity->personname);someone suggested me this code to put it in bp-custom (but it’s not working) :
function bp_add_custom_buddy_friend() { if ( !xprofile_get_field_id_from_name('personname') && 'bp-profile-setup' == $_GET['page'] ) { $country_list_args = array( 'field_group_id' => 1, 'name' => 'whoinformedyou', 'description' => 'write your friend's name who informed you about us if no one told you about us, then write NoBody.', 'can_delete' => true, 'field_order' => 2, 'is_required' => true, 'type' => 'textbox', 'order_by' => 'custom' ); } } add_action('bp_init', 'bp_add_custom_buddy_friend');——–
Extra information:
i am using OneAll Social Login Plugin, to put social login buttons in my login form.
in the usual signup form, i put an extra textbox (which user must fill it), in order for me to know, how this user is informed abt my website,
the question is this:
who informed you about this website? (if a friend, then write his/her name, if no one, simply write NoBody)
so if a friend suggested, the user simply write down a name(just a text, not linked to anybody’s profile)
and if not (he/she will write NoBody)
BUT
when you login from social-login, this will not be enabled!
so i want to create a new field, and call it from social-login.
so if a user is signed in from social login,
a pop up appears and force the user to enter that field.
——-
how can i create this ?
tnxxxx a lot for any help.I have a Nationwide BuddyPress website, so the activity stream can become confusing since people from all over are posting updates/content. I’d like to give members the ability to sort the activity based on their chosen location in their profile (drop down).
If a person wants to view a BuddyPress stream from members in New York, then they should be able to… Not based on GeoLocation but on the state selected in their profile.
How can I filter activity based on the users location, which is chosen via drop down menu in Users > Profile Fields > State ?
Someone had mentioned – “Another approach is filtering on sql query which may be a little bit more efficient.” but I’m not sure where to start with that one 🙁
ok so im on the newest wordpress and buddypress.
ive had a look through the following posts and pages:https://buddypress.org/support/topic/adding-new-order-by-on-members-loop/
https://buddypress.org/support/topic/creating-a-new-order-by-filter-in-groups-loop-with-custom-sql/
Add custom filters to loops and enjoy them within your plugin
Im trying to make ‘Order By’ sections that find users who have ticked a specific profile field in their profile. The first thing im confused about is am i editing the..
/bp-templates/bp-legacy/buddypress/members/index.php OR
/bp-templates/bp-legacy/buddypress/members-loop.php ?
i thought it was member-loop but that last help page suggests index?Im just not succeeding lol, could you help me please?
Dear all,
first of all, this forum is absolutely amazing and has helped me enormously so far! Unfortunately, I’m more of the “I read the code and somewhat understand it” and less so much the “I can code it myself” type… 😉 So I’m currently trying to distinguish private and public member fields. I’ve found lots of great solutions, but now I need your help:
What I would like to achieve is that for example here: https://fslci.org/members/philip-strothmann/ the two entries which appear under the profile pic if you click on the plus:
1) Membership type (in this case “NGO Employee”)
2) Public Statusare only seen by my members, not by the public. I guess it can be achieved with
if( !is_user_logged_in() ) {
But I’m not sure how to get the call to the two elements right. I guess this isn’t too complicated, but I’ve searched a bit and haven’t come up with a good solution, so any help would be highly appreciated!
Thank you very much in advance 🙂
BTW: Using latest WP, BP and KLEO as the theme.
Topic: CIMY User Fields
Hi,
I am not using buddy press registration pages.
So a lot of my field data is not showing on user profile.
I would like to transfer the cimy extra user fields over to buddy press but do not know where to begin.
If possible I want to display these fields on the user profiles in the table.
I have added the following code to boss-child/buddypress/members/single/member-header.php
$user = wp_get_current_user(); // is there someone logged? if ($user->ID) { $value = cimy_uef_sanitize_content(get_cimyFieldValue($user->ID, 'ROLE')); echo 'description_here'; } do_action( 'bp_profile_header_meta' );It did not work. If anyone could help out, it would be appreciated.
Thanks
WP 4.5.2
BP 2.5.3
Conditional Profile Fields for BuddyPress 1.1.9
Flatsome theme by UX 2.9.2
currently working offline, testing my site, hence no linkHi!
I got 2 separate questions about using BP. I’ll be as brief as possible.
1) Is there any way to fix required logic for conditional fields in the registration form? I have the following fields in my form, all of them drop down menues to choose one option:
– State > NY / CA / FL / etc.
– City in NY (show only if State = NY) > Albany / Buffalo / NY / etc.
– City in CA (show only if State = CA) > LA / San Diego / Fresno / etc.
and so on…The “State” field is required. The “City in…” field is required as well. Of course, only one “City in…” shows after choosing the state. The problem is that ALL of the “City in…” fields are marked as required, and BP expects the user to fill in all of them, even if they’re not showing due to conditional logic.
Is there any way to fix it besides disabling the required status? Basically, people choose their location or something else. Maybe a product thing (PC / TV > laptop – desktop / lcd – led).
2) I have in my sql database tables to organize a lot of products, separated into categories and cross-related. Very neat. Is there a way to easily put that into the registration form with conditional logic? Like the state>county>city thing. Drop down menues that import options from the tables.
Thanks a lot in advance.
Hi, I’m working on a project where I have to populate the contents of a page using custom post types and taxonomies with members of buddypress.
Members fill out a field check boxes that match the terms of taxonomy to be used, then I have to fill posts with members that meet at least one match box checked with taxonomy term and then add the user to post.Navigation would be:
User enters the “services” in the menu.
Then see a list of services in card format
Clicking has to display the “post” service with a short description and down members offering such services with a link to their profiles buddypress.Members will have the following experience:
After registering as a special type of user they are activated the profile field “Professionals”, which, along with other fields will be the field of “treatments” that will check boxes. As save their changes, for example, they marked the “facial radiofrequency” box, your profile will appear in the services that have the taxonomy term “facial radiofrequency”It can be done in each post or maybe making a specific template with one using variables, and enter the custom loop within the loop the post after
<php the_content (); ?>And beforeendwhile.The problem is that the loop is not done, and after searching I found I was developing #5839 but I could find no documentation.
Thanks in advance.
CesasolHi im having a problem with half the profile fields clashing with my background so you cant see them properly, as shown in my link. how do i change the colour? please use context, if you start casually linking script without saying where exactly it goes ill be stuck.
thank you for your time
Topic: Buddypress member directory
I am using buddypress Version 2.5.3. We would like to have our member directory page show up almost like an excel spreadsheat. With the user profile fields visible in a horizontal line.
here is the link. It is just showing avatar and Name. We would like to add other custom profile fields to this page. Is there a premium plugin for this? Or any other ideas?
http://kesslerneighborsunited.org/members/
Also if you look there are UL tags displaying “>”on most of the buttons threw out the buddypress section. Is there a way to disable theme styling and use default buddypress styling within the buddypress settings?
Here is the link to a profile displaying the UL tags
http://kesslerneighborsunited.org/members/admin/
Help!!!
Thank you.
Hi Everyone,
I’m very new to the BP world and am excited to be using this amazing tool to build a new community online.
GROUPS:
I want to use groups as a notification center, allowing members to comment/interact with the notifications. So what I need is for only group admins/moderators to be able to post to the group activity stream. Other group members can only comment and favorite these posts, but cannot make a new post to the activity stream. Is this possible?MEMBERS
Is there a way to show a google map with pins representing the city/state/country fields that users fill in their profile? Would further like these pins to be clickable, displaying certain fields from a user’s public profile.Any help with plugins and coding for the above would be very much appreciated. Thanks!
I’m using BuddyPress Extended Profiles. For all fields I have the option of Visibility except First Name. It is very important to many of my members to not have others see their first name.
How do I add Visibility option of “Only Me” for First Name please.