0
votes
1answer
38 views

Custom Meta Boxes and Fields for WordPress: Change directory upload based on user-edit page

I have already published this on StackOverflow, but I realised it would be better to post it here instead. I am using the CMB script (Custom Meta Boxes and Fields for WordPress) for uploading files ...
0
votes
1answer
45 views

Is it possible in WordPress

I am trying to create a ranking based on user donation, my problem is I am not sure if wordpress user meta support append For each Project a user can donate money via paypal In WordPress User Meta I ...
0
votes
0answers
8 views

Default Custom Field User Data

I want to create a user meta that would either add or update In the user meta there are two custom field 'projects' and 'amount' so if user donated $1 to project A the user meta will create a row, ...
0
votes
1answer
115 views

wordpress simple post multi rating with post_meta and user_meta

I am trying to create a multi criteria post rating function with simple form and post_meta and user meta. The Goal when users submits their ratings 2 things should happen: 1.the ratings is stored ...
1
vote
0answers
71 views

How to save the date/time of last update of an extra user profile field?

I have a function that adds and saves very well an extra field to the user profile. But, because the content of this field gets old very quickly, I need to know when the user refreshed it last time - ...
-1
votes
1answer
227 views

how to add radio field on user meta on function.php?

i have added gender filed on user meta it is not value <?php add_action( 'show_user_profile', 'show_extra_profile_fields', 10 ); add_action( 'edit_user_profile', 'show_extra_profile_fields', 10 ...
0
votes
0answers
73 views

WP_Query with intersection of post meta field and user meta field

On the site I'm building, each post has a serialized array of strings. Let's say post ID 1234's value for my_site_teams is array( 'Chess', 'Cheerleading', 'Football' ). Each user also has a ...
1
vote
1answer
188 views

WP_User_Query pulling ACF to loop

I'm using following code to display my users on template <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $paged -= 1; $limit = 100; $offset = $paged * $limit; $args = ...
0
votes
1answer
148 views

Users Select inside custom metabox

I'm using human made's custom meta boxes framework (https://github.com/humanmade/Custom-Meta-Boxes). I want to add a select drop down in my metabox wich is populated from the users with multiple roles ...
0
votes
2answers
266 views

Show image if author meta (profile fields) exists outside loop

I am trying to show the profile fields (like AIM, Jibber) outside the loop. I managed to do that with <?php global $post; $author_id=$post->post_author; ?> <?php $field='aim'; ...
1
vote
1answer
313 views

Separate table or usermeta

We are creating custom fields for users like annual income, gender, city, country, etc. There are about 10 odd new fields. We will be importing approx. 30,000 records for each user in a month through ...
-1
votes
2answers
779 views

Show User Their Password

I've got a few automated scripts that run to notify users of certain updates to the application, etc... and for one in particular, I need to be able to display the users user_login and their password. ...
0
votes
1answer
188 views

How do i get a specific user metadata using custom metavalue outside of wordpress?

I need help. I need to get a user ID or email (email is can do but ID is better) based on their phone number, outside of WordPress. I already have their phone number in a variable and billing_phone ...
0
votes
1answer
146 views

Echo text if field under user_meta is empty with get_users()

With get_users() I am listing users and their information. I've a custom field in the database, people_lists_class. <?php $blogusers = get_users('role=contributor&orderby=display_name'); ...
0
votes
1answer
748 views

Wordpress User Profile Upload - If page is saved file reset

I have various different extra profile fields which I have set in functions.php however with the upload one if a user uploads an image and saves the form the image is set, however if they go back and ...
0
votes
1answer
287 views

query usermeta from custom field

I am using a plugin to create custom fields in the user registration. I have created a check box field called g300 which is the name of the meta_key stored in wp_usermeta. It looks like the value ...
1
vote
1answer
553 views

custom avatar removal

Hello i have implemented a custom avatar upload from front-end in my wordpress theme. It is working. User can add and remove customa avatar. My problem is when user selects to remove his/her custom ...
2
votes
2answers
1k views

Displaying additional User Contact Information

I have been advised how to add additional contact info fields to the User admin area here (Click here). However, I am not entirely sure how I can display the the field contents in a link within my ...
0
votes
1answer
329 views

Save custom field types with this function…?

I found this great article (right here) about creating and saving custom fields for user profiles. The problem is that it only saves text fields. I can't save checkboxes, radio, or any other field ...
1
vote
1answer
912 views

How to update serialized data in the user meta data

In my wp_usermeta table I have a field called "wp_s2member_custom_fields" In it is stored this value: a:2:{s:6:"alumni";s:3:"Yes";s:19:"donations_collected";s:2:"10";} I am trying to use: ...
1
vote
1answer
507 views

How do you add a custom option to user data?

I would like to add avatars to my users. I have a limited group on a site I'm working. Uploading isn't really a problem we can just put the images on the server and use URL's to set our avatars(Only ...
1
vote
3answers
791 views

get_user_meta Short Profile Section

Ok so i have added a custom field into the users edit profile page where they can add a link to a url of an image they want. I am currently using this for contribitors and above but i also have a ...
1
vote
1answer
728 views

Author custom fields post meta, the code?

If I wanted to get a custom field of the current user I would use something like this. <?php echo get_user_meta($user_info->ID,'address_line_2',true);?> This time however I want the author so ...