Search Results for 'profile fields'
-
Search Results
-
Topic: Defoult user files
In the user profile of wordpress we can influence to enter some fields as defoult
Website, facebook etc.
Is there a way to view them in the profile of BuddyPress?
Thank you
Topic: User Fields
He’s creating various fields Profile to customize my BuddyPress. (Admin -> Users -> User Fields)
When you go to see a profile those fields become links and if you clic above displays the profiles that have that field.
The problem is that the results are not accurate and are displayed prifoli both with the field that does not.
Why? It happens to you?
Topic: Custom Profile Fields
You can insert custom fields in the profile without using plugins?
Thank you
Topic: mySql querry help
Can someone suggest the best sql query to get table with user names, user emails, XProfile field and values. I am trying to create table with these values for user using plugin wpDataTable Constructor
SELECT wp_bp_xprofile_data.value, wp_users.user_email, wp_users.display_name FROM wp_users LEFT JOIN wp_bp_xprofile_data ON wp_bp_xprofile_data.user_id = wp_user.ID LEFT JOIN wp_bp_xprofile_data ON wp_bp_xprofile_fields.id = wp_bp_xprofile_data.field_idHi all,
I am looking to limit the number of words or characters (either is fine) that a user is able to type into a profile field text area (set in WP>Users>Profile Fields as a Multi Line Text Area). Reason for this being that I want to include a small bio but don’t want the user going crazy and writing their life story.
One of the closest solutions I came across was via the link by Dan in here:
https://buddypress.org/support/topic/validating-xprofile-fields-limit-length/Although a good function, the problem with is that it still allows the user to write their life story and only truncates it when calling and displaying the profile field somewhere else (within the item-header div in my case). The original profile text area still shows and allows the full life story to be input without any boundaries.
I found this which does exactly what i need:
http://www.mediacollege.com/internet/javascript/form/limit-characters.htmlSo my question is can I link a profile field text area created via the WP dashboard with the function from the above link? Or is there another way of getting the desired result?
Many thanks!
WP: 4.3.1
BP: 2.3.3I want to use Internal Links (or shortcodes) inside the xProfile Field Description boxes, but all HTML is stripped out.
I do not want to allow HTML in the xProfile fields itself, but only in the field description boxes so that I can add better user information with, for example, URL-links to help pages that describe the input profile fields.
Someone able to help me with a snippet for this?
Topic: User ID in Members Loop
Hello,
I’m using the code below to list members xprofile fields in the member directory successfully. However,I would like to replace the City with the User ID in the Members Loop. I’m pretty sure I need to insert “<?php echo bp_member_user_id(); ?>” How would I do that? Anyone have an idea?
//Members Directory Page Meta Fields
add_action(‘after_setup_theme’,’kleo_my_member_data’);
function kleo_my_member_data()
{
global $kleo_config;
//this is the details field, right now it take the “About me” field content
$kleo_config[‘bp_members_details_field’] = ‘About me’;
//this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there
$kleo_config[‘bp_members_loop_meta’] = array(
‘Height’,
‘City’,
);}
I want to add user profile fields such as:
References: (Where the user can choose from a drop down list of existing buddypress members)
Places Worked: (Where the user chooses from drop down a list of existing locations in the database)Is this possible?
Hi @danbp,
My question may sound obvious so my apologies in advance if that’s the case.
The issue: I was trying to hide a specific xprofile field group and used the code you provided here https://buddypress.org/support/topic/conditional-exclusion-of-a-xprofile-fields-group-from-editing/ adding it to bpcustom.php.
It worked as a charm, and the group is currently visible only to logged-in users (both in profile view and profile edit). However I no longer need the group to be publicly hidden, but removing the function and the respective add_filter from bpcustom.php does not seem to work: the group stays visible to logged-in users only.
Unfortunately I have no idea about how to address this issue, the best clue I could figure out is I might have to remove the filter registered by your bit of code (and yet that’s but a guess as my php knowledge is pretty amateurish). I would really appreciate if you could help me figuring out what’s happened, considering that my only change to your code was using my own group ID number.
Thanks in advance for you attention.
How to allow users to create more profile fields? For instance, in the “career” field area, people can add more fields to enter each job he/she had before.
In other words, the default “Career” field has places to enter the first job info (Company, Years, position, etc.). If the user had more than one job, she/he would be able to create a set of fields (seats) to enter another job’s info.
Is this do-able? Any plugin can do?
Thanks!
Johnthe xprofile fields are driving me crazy.
I am about to adapt the register page to me needs.
I do want the text “(required)” getting replaced by “*” and star should be styled in red color.
Unfortunately the (Required) doesn’t have an own css class. I added a span tag with css class to the basic fields in register.php but I don’t find where to do this for the xprofile fields.
It also doesn’t work if I try to add the css class in the language file, it gets displayed as plain text then.
if I style the label not only the “*” but also the label title will turn red. I don’t know what else I could do?
ICan someone give me a hint where I can add the <span class=”required”>*</span> for the xprofile fields that are mandatory?
I thought it would be easy to add some simple css but unfortunately it seems to be impossible. Or have I overlooked something?
I have some custom profile fields, members can edit them but they are showing on profile
Howdy,
i would like to add a user role to a new user during registration, depending on a fields value in the registration form.
example: on my registration form a user can choose between two values via radio buttons. If he choses value A, role A should be added to this user. If he choses B, role B should be added to the user.How could i do that? I read this: http://octalforty.com/articles/assigning-role-on-wordpress-registration-profile-page/ but it aims at the wordpress registration form and does not use buddypress extended profile fields.
Thanks for any help
Daniel