Search Results for 'profile fields'
-
Search Results
-
Topic: Profilepage
hi, i have two filed gropus one is base(primary) and other is extra. i have two user roles, employer and Candidate which will choosen at the time of registration. after signup, make the profile fields of “extra” group show only for employer role in the profile edit page., how could i achieved it?
Hello everyone, I hope you are well.
I come to you because I have a problem with a sql query.To put you in context, I’m trying to make a custom members loop based on the values of the extended profile fields of the members.
For that I used the codex and in this one they show how to create a function “my_custom_ids” which allows to recover the ids of all the users who put the same value in ONE field.
I decided to modify this function to be able to retrieve the ids of the users having SEVERAL values of fields in common.
Here is the SQL query present in the basic function “my_custom_ids” :
$query = “SELECT user_id FROM ” . $wpdb->prefix . “bp_xprofile_data WHERE field_id = ” . $field_id;
$query .= ” AND value = ‘” . $field_value . “‘”;Here is my SQL query in my custom “my_custom_ids” function :
$query = ‘SELECT user_id FROM ‘ . $wpdb->prefix . ‘bp_xprofile_data WHERE (field_id = ‘ . $users_gender_form_id. ‘ AND value = “Female”) AND (field_id = ‘ . $users_hair_color_form_id. ‘ AND value = “Blonde”)’;I do not know if it’s clear but I’m trying to retrieve the ids of users who select the “female” value in the extended profile field “gender” and the value “blonde” in the extended prodile field “hair color “.
But of course it does not work ! haha
When I separate my sql query in two:
$query = ‘SELECT user_id FROM ‘ . $wpdb->prefix . ‘bp_xprofile_data WHERE (field_id = ‘ . $users_gender_form_id. ‘ AND value = “Female”)’;or :
$query = ‘SELECT user_id FROM ‘ . $wpdb->prefix . ‘bp_xprofile_data WHERE (field_id = ‘ . $users_hair_color_form_id. ‘ AND value = “Blonde”)’;
it works. I do not know why when I combine the two it does not work… If you have any leads to give me I would be greatly grateful !
Thank you very much, have a good day !
(I use WordPress 5.2.2 and Buddypress 4.4.0)
Some time ago I updated the buddypress component, and now the member profile pages come out wrong.
The information I earlier had in this pages is listed as a separate column under the cryptic heading “View Base”, while a number of entries have been added on the left hand side “Profile, Groups, Docs”
I want to remove all of this except the personal data fields. How do I do this?
I want to remove “View Base” and “Profile, Groups 3, Docs” in all profiles like this: http://gamephilosophy.org/members/margarita/
Hope someone can give me a tip..
Hey Guys,
Im trying to disable kses —
Im the only one that will have access to adding profiles so Im pretty safe.Topic: Is my activity editor safe?
Hello Gents, (directed towards @buddyboss @sbrajesh )
not really a ‘problem’ but a request for feedback/opinion..
Im curious what your thoughts are on using BUDDYPRESS as a Business Listing Directory.. Ive been using it as that for one of my sites.. and its not a ‘perfect fit’ — however I do love how easy and straightforward it is to add a new profile/listing..
Im very hesitant to use a plugin that creates a CPT or extra fields that is not from vanilla install
*however using BP as a business directory listing system seems to be not very SEO friendly and not very schema-micro-formats compliant
Would you guys use BP as a Business Directory Listing System.. or Should I just use another plugin instead?
Any insight of best-practices -or- what you guys have seen in the wild..
CC: @imath (i know you are busy.. but would still love to hear your thoughts – when time permits)
Hi there,
i haven`t found a solution for my question so i hope to find the answer here.
Unfortunately my installed buddypress is displaying some information very ugly and i’d like to get rid of it.
So far i haven´t figured out where i can change the look of following table:
<table class=”profile-fields bp-tables-user”><tbody><tr class=”field_1 field_name required-field visibility-public field_type_textbox”><td class=”label”>Name</td><td class=”data”><p>martin</p></td></tr><tr class=”field_3 field_dci-nummer optional-field visibility-public alt field_type_number”><td class=”label”>DCI Nummer</td><td class=”data”><p>9315451735</p></td></tr></tbody></table>
Can you please be so nice and tell me where i find the settings of that table exactly? I am not a trained coder but i am good at learning when someone leads me in the right direction. So please bare with me a little.
Thanks
Hi i want some help that i want to make profile fields city dropdown which is that at the time of registration as a buddypress member when user select a country from country dropdown then against that country cities want to appear in city dropdown to select please help Thank You !
Topic: Sucuri and admin-ajax.php
I have an issue where I have https://sucuri.net locking down the wp-admin interface for security purposes to specific IP addresses.
The BuddyPress plugin profile and cover image upload fields, on the profile page, appear to be using the wp-admin/admin-ajax.php file to upload images to the site. I also have users who log into the site, but only on the front-end of the site. They do not have access to the admin section. These users are not able to upload images since the admin section is locked down.
One thinking I noticed was that if I disable javascript in my browser for the profile photo upload screen the UI falls back to a PHP based upload mechanism. Is there a way to make the PHP method the default for all forms in BuddyPress so that I don’t have to unlock my admin interface?
Thank you for any help.
I have a few profile fields and I am trying to add more options to a dropdown field I have for Nationality, which has a list of countries, but when I save it gives me this message:
The link you followed has expired.
I search in WordPress and other people were getting the same message, but in other areas and for some it helped to update the php.ini values to have greater value, like this:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300But in my case it didn’t help, it seems like it has to do with Buddy press specific.
Can you please advice, thanks
Topic: buddypress form in wplms
I am using buddypress form for wplms. I want to take profile feidls i created in wp settings->user->profile fields in my buddy press form. How to integrate these new fields in buddypress form.
Hey Guys,
Im in the PROFILE FIELDS section and there are a few profile fields that cant be deleted.. strangely.. my other nearly identical BP/WP install do not have this problem.
Im trying to delete.. “LAST NAME” text profile field — I didnt add that profile field.
Any ideas?
Thanks in advance