0
votes
1answer
41 views

Parsing a shortcode through an author meta textfield

I have been using the UPME plugin to design a member profile website that allows me to take information and show each user different profiles depending on a shortcode I put into a textarea field. The ...
0
votes
0answers
20 views

Using xprofile_insert_field

I'm trying to add a xProfile to BuddyPress, but I don't know where but my snippet is not working. I have tried so many stuff, but I just can't get it right. Hope you can help, here's the latest ...
0
votes
0answers
26 views

Using BuddyPress bp_xprofile_add_meta Function

I was working with BuddyPress' xProfiles, and I wanted to create something. So it possible to automatically create a xProfile field by adding a snippet to functions.php or a plugin using the ...
0
votes
1answer
48 views

Hide user fields based off capability

I'm struggling with this one. I am trying to hide 2 user profile fields for the current user. Only the admin or user with "edit_users" capability should be able to view/edit these fields. Code: ...
3
votes
1answer
184 views

Connect Users and Taxonomies

I'd like to send email notifications when new posts are saved. But users can select post categories they want to subscribe to. Available plugins are no solution to me – I really need my own code base. ...
0
votes
1answer
48 views

Multisite - Echo admins profile meta

I'm having a problem with echoing the admin's profile meta in a custom post type template. It used to work, but for some reason it's not working anymore. I'm not aware of any changes made that would ...
-1
votes
1answer
181 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
170 views

Edit profile custom fields display

I have function which shows additional info on edit profile page (just text no input fields). Problem is it works only for user_login and user_email - doesn't work for custom fields (fields are from ...
0
votes
0answers
73 views

Perform a function to create/delete custom post only if certain user meta checkbox is set to true

I have a website where I would like all subscribers to be able to create or remove a post that says they are accepting new patients (they are doctors) by checking or unchecking a custom checkbox that ...
1
vote
0answers
124 views

Frontend Image Upload

I have the following code used at the top of my front end user profile page, everything works and displays fine except for the following problem .... If I upload an image and submit the form usermeta ...
0
votes
1answer
76 views

Validate user meta and redirect

I wanted to add some extra fields to obtain extra user info which I have added easily that looks like. The example code for a single form field, I added: add_action( 'show_user_profile', ...
0
votes
1answer
48 views

Display site admin profile fields in header.php

I am working on a multisite setup and Im trying to display some meta from the site owner's profile. I tried the following code but it is echoing the super admin's meta instead of the current site ...
0
votes
1answer
310 views

SImple Example To Update User Info From Front End [duplicate]

I want to give user ability to update their nickname from front end using wp_update_user and shortcode. The code below is working. add_shortcode('user-profile', 'get_current_user_prof'); ...
0
votes
0answers
23 views

use single form to enter multiple profiles

I want to allow users to add a business profile to their accounts. I have setup a form that posts the business profile information into user meta, and displays that info as part of their main profile. ...
0
votes
1answer
275 views

How to create user personal pages with information from their meta profile fields?

I asked here how to create virtual pages with information from the user meta profile fields using an external class. I got a good answer and also I have implemented it successfully (thanks to @g-m!). ...
2
votes
1answer
201 views

How to create virtual pages with information from user meta profile fields?

Dave Jesch on his site presents a way to create virtual pages in WordPress. Dave created a class "to do all the heavy lifting", as he says. I think, for my purposes this class not require changes, so ...
3
votes
1answer
355 views

Where the Nickname is being used in WordPress

I see most of the place is using the "Display name", so why I need to set a Nickname? Where it is being used?
0
votes
1answer
39 views

Display all existing members

How would I (using a loop) pull in all of the existing users? I'm trying to loop through these users and then pull in meta data for each one.
0
votes
2answers
253 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'; ...
0
votes
3answers
104 views

How to pull user/author profile data in a plugin?

My site has a user profile page. For some reason I would like to pull user profile data in my plugin. I know I can pull logged in user profile data using get_currentuserinfo();. For example I would ...
1
vote
2answers
2k views

Can I create front-end editable user profile pages with Wordpress? How do I do it?

I'm trying to build a WP site where using the front-end, each user can: Register through the front end using basic fields Log in Create their own profile page using multiple forms Upload text, image ...
0
votes
1answer
61 views

How 'secure' are loops?

I am using loops as means of displaying personal meta and customer information on the frontend. For example, I have a page which displays a user's 'profile' information to edit. Their profile is ...
8
votes
3answers
2k views

How to create a front end user profile with a friendly permalink

I want to create a public front-end profile page with a friendly url like this format. mysite.com/user/someusername Any idea on how can i achieve this? I know it has something to do with rewrite ...
0
votes
1answer
720 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 ...
1
vote
0answers
90 views

How can I make the user names of commentors clickable links to the user's profile from the admin comment screen?

I've set up my wordpress blog to only allow logged in users to leave comments, but I need a way for the administrator to be able to go to a user's profile from the comment moderation screen. I don't ...
1
vote
0answers
2k views

Extra User Profile Field Upload File / Image

I have been following the following tutorial to try and an upload form to the user profiles. ...
3
votes
1answer
241 views

How do you make the email field on the profile page read only for subscribers?

I would like to make the email field on the profile page for subscribers read only. They can see their email but not change it. I want only admins to to be able to change users email address.
0
votes
2answers
420 views

Solving a get_user_meta() problem in Multisite

I am currently building a network of blogs for individual real estate agents. Currently, a broker will have a main site, with agents sites added as subdirectories, e.g., www.example.com and ...
0
votes
2answers
2k views

Drop down list in user profile page

I am having problems finding an answer to this. I need to have a custom user meta field. I can create them which is fine but I need to create a drop down one. For example I want the user meta to ...
5
votes
3answers
4k views

Get basic Image Uploader on User Profile Page

I am trying to add an image uploader to the user profile pages. I do have it up and running on a basic registration page, but somehow the same, but slightly adjusted code does not work when added to ...
1
vote
2answers
2k views

How do you update user_email on the front end in WP 3.3?

I am using the following code and everything in the user profile is updating except the user's email. In the template: global $current_user, $wp_roles; get_currentuserinfo(); /* Load the ...
3
votes
2answers
8k views

How to get a buddypress user profile link and a certain user profile field for the current post author?

I want to replace get_author_link() and get_the_author_meta($feld) with something equivalent to point to the author of the current post Buddypress user profile page and retrieve a specific profile ...
0
votes
2answers
664 views

How do I add a dropdown list of numbers 1 - 1000 as an extra profile field?

I don't want to write out something like this from 1 to 1000: <select name="number_pick" id="number_pick" > <option value="1" <?php selected( '1', get_the_author_meta( ...
1
vote
3answers
11k views

add custom field in user register form

In my WordPress based site, I want to add a custom field (e.g. type of user - employee, investor) in the user registration form in the admin side, without editing the core file. Can anyone please ...