Search Results for 'profile fields'
-
Search Results
-
Hi
I am looking for a way to list the members of my site through a shortcode. What I want to include in this list is:
– Include avatar, name and any other profile field that I choose
– Be able to sort the order of the member list on a profile field of my choosing
– In the best of worlds I would also be able to group the list by a profile field of my choosingI’ve looked into the plugin Bowe Codes, but it don’t seem to have the possibility to show specific profile fields or sort on them.
Any ideas, thanks!
I am trying to limit the length of 2 xProfile fields (location {field id 2) and about {field id 3})
This is what I have come up with so far for location.
function custom_validate_xprofile_location( $data ) { global $bp; $max_location_length = 56; if ( 2 == $data->field_id ) { if ( strlen( $data->value ) > $max_location_length ) { bp_core_add_message( 'Too many characters old chap. Please try again', 'error' ); wp_redirect( $bp->loggedin_user->domain . 'profile/edit/group/1/' ); exit(); } } return $data; } add_action( 'xprofile_data_before_save', 'custom_validate_xprofile_location' );2 questions:
1. Is this the best way of doing it?
2. How do I factor in limiting the length of the about field as well? I think this bit is harder than it looks.Note: I’ve also got
maxlength=xin my form inputs.Topic: Profile Additions
Okay, I’m a super NOOB but this might be an easy answer.
I’m getting how to set form fields account registration but once the profile has been activated, how do people make profile additions in order to have their profiles look like this:
http://www.hmag.com/members/kimamms/
I need the same exact form fields etc….
Help 🙂
Topic: Profile Additions
Okay, I’m a super NOOB but this might be an easy answer.
I’m getting how to set form fields account registration but once the profile has been activated, how do people make profile additions in order to have their profiles look like this:
http://www.hmag.com/members/kimamms/
I need the same exact form fileds etc….
Help 🙂
Topic: Share Users
Hi ! I have a question about sharing users on different wp/bp installations.
I looked all around the web to find solutions ( Ok, I just googled.. ), and always got the same:
* THE SOLUTION *
« If you want to share users between two sites, just put another prefix on the second site, and add CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE to point at the first site’s prefix »
* *
That is cool. But I fear it wont work with Buddypress. Nor with plugins like Geo My WP.You see, buddypress uses a lot of database fields, like bp_xprofile_fields. Will the second site be able to access the xprofile fields of users when I use THE SOLUTION ? I mean… the solution only transfers user_table and user_meta… not bp_xprofile_fields, or bp_friends, or wppl_friends_locator ( for geo my wp plugin… ).
So, if I want to let my second site access my first site’s users and xprofiles, don’t I need to add more than user_table and user_meta in its config.php ?
Thanks for the answer 🙂
EDIT: Or is it easier with multisite ? It is not enabled yet… And my main site is already in a subfolder… As I understand it, the main site of a multisite must be at the root of the other sites… ?
Hi
When a user edits their profile by changing some xprofile fields, they hit save. The page loads, saves the changes but provides no notification to the user that it has been successful.
However, when they Change Avatar and save the page, a notification IS provided to the user.
Is there a way to provide the notification on edit profile too?
Thanks,
Ian
Morning All,
As the title suggests Im wanting to basically link the frontend editable fields to the backend fields somehow (When I refer to front end im talking about the editable profile within Buddypress and respectably the back end being the admin dashboard within WordPress)
For example I use a Livestream plugin where it will auto add their feed to the Livestream page if they add it to their profile in the admin page. Is there a plugin or a way of me either forcing that plugin to look directly at a custom front end field or editing the back end field to basically equal the front end?
This is just one example of the links as I would like to link quite alot to the backend fields
Hope someone can help or point me in the right direction
Thanks
ParaTopic: Link to profile field
Hi,
I was able to link a member to their profile page. Members can now view the complete profile page of other members. However I prefer to show only one field (biography) to other members. So if someone visits its own profile it shows all profile fields. I someone else visits his profile it only shows the biography. How can I fix that? The code that I’am now using is added.
<?php /* @var $EM_Event EM_Event */ $people = array(); $EM_Bookings = $EM_Event->get_bookings(); if( count($EM_Bookings->bookings) > 0 ){ ?> <?php $guest_bookings = get_option('dbem_bookings_registration_disable'); $guest_booking_user = get_option('dbem_bookings_registration_user'); foreach( $EM_Bookings as $EM_Booking){ if($EM_Booking->status == 1 && !in_array($EM_Booking->get_person()->ID, $people) ){ $people[] = $EM_Booking->get_person()->ID; echo '<li><a>get_person()->ID ).'>'. get_avatar($EM_Booking->get_person()->ID, 50) .'<br> '. $EM_Booking->get_person()->display_name .'</a></li>'; }elseif($EM_Booking->status == 1 && $guest_bookings && $EM_Booking->get_person()->ID == $guest_booking_user ){ echo '<li><a>get_person()->ID ).'>'. get_avatar($EM_Booking->get_person()->ID, 50) .' '. $EM_Booking->get_person()->display_name .'</a></li>'; } } } ?>For buddypress and wordpress I use the latest verstions
I hope someone can help. Please let me know if I have to use other sources to find an answer on my question. 😉
Thanks in advance!
MarcoPretty much exactly what the title says,
Is there a way to change the field visibility of certain fields while the user is a level 1 subscriber on s2Member?
Basically if they stop paying can I revert their profile to only show one or two chosen fields instead of everything without deleting it?
Hope this makes sense.
Topic: Member Search
Hello,
One thing I have been looking into doing is being able to search members by a combination of profile fields. IE: I have 2 categories of users (Employers and Jobseekers). Jobseekers obviously provide services and employers require services. Example of services would be Childcare and Daycare.
How would one be able to for example search for all Jobseekers that provide Childcare. For the sake of anyone willing to help we can call the two profile fields (User_Type and Service_Provided). So I would like to be able to search for all (User_Type=Jobseeker) and (Service_Provided=Childcare).
I know in the Members Loop for example we can search for all users that would say have Childcare in their profile and it returns in the confines of the members page with something like this (members/?s=Childcare). Essentially I am just wanting to be able to search by 1 additional criteria but as of yet am not sure how. Any help or direction would be greatly appreciated. Thanks.
The sort members function in our members directory stopped working. Not sure how to fix this. Is there any known bugs? Also want to add a sort criteria which would be populated by one of the Profile question fields. Can you please advise on how to fix and add an additional sort item?
I do not know code, so please give provide lots of details.
thanks
wp. 3.7.1
BP 1.8.1
Avada theme by themeforest 3.0.1
http://www.youngwomeninenergy.comOK so I’m struggling with this one for hours now and can’t get it to work, but it feels like there is a strait forward simple and elegant solution. All I want to do is to validate the value of a custom xprofile email field when a member is editing its info. Trying to mimic how xprofile_screen_edit_profile() works with returning error before saving, I tried to add_action/add_filter/do_action/apply_filter to xprofile_updated_profile, xprofile_screen_edit_profile, bp_actions, bp_screens, xprofile_data_value_before_save and more, but I failed every time probably because I don’t know how to properly use them. All I want to do is simple as:
function my_validate_email () { if (!is_email($field_id->value)) bp_core_add_message( __( 'That email address is invalid. Check the formatting and try again.', 'buddypress' ), 'error' ); //and redirect back to editing, same like for the required fields } add_action( 'bp_hook_here', 'my_validate_email' );Please help with the correct way of doing this, possibly without using additional plugin
Thanks so muchTopic: Secondary Profile Group
Hey guys, this just might be the stupidest question you’ll ever get here but I’ve been racking my brain and I can’t figure out where to go if, as a registered user, I wanted to edit the secondary profile groups the admin had set up under Profile Fields in the “Users” tab in the dashboard.
I set up a secondary profile group under the assumption that once a user gets through the primary profile group on the register page, they would be directed the the secondary profile group to fill out the additional profile information.
That didn’t happen and now I can’t figure out where a user would go to edit that secondary information. I had thought the user would simply have to click on “Edit” under his “Base” profile tab to see the remaining profile fields that weren’t available upon registering but I don’t see them anywhere. Why would I have to go through the trouble of setting up these secondary profile groups if, as a registered user, I can’t get to them?
Am I doing something embarrassingly wrong here? Someone please help!
For anyone trying to export xprofile data, here’s what I found.
http://wordpress.org/plugins/export-user-data/
This plugin doesn’t seem to support multiple fields export as far as I tested while ago. Anyone else tried?http://wordpress.org/plugins/wp-users-exporter/
It’s no fully updated to the latest, not sure if it’s going to be… But this worked. However, you’ll need to edit the plugin file to erase error messages.http://wordpress.org/support/topic/error-invalid-argument-supplied-for?replies=4
Have you found these plugins useful?
Do you have any other recommendations?