Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms (1)

-1
votes
1answer
321 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
223 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
1answer
122 views

Associate Posts with individual user - hide from other members

Does WordPress have any functions which will help me create a system to have data ( eg custom posts ) associated with a particular user and (by default) not visible to any other user. I have had a ...
0
votes
0answers
88 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
155 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 ...
2
votes
1answer
228 views

Add description text under input field for new profile fields

How can I modify my following code to add some description text under the input fields? I tried modifying it as you can see with the facebook url field but the text shows up under the field label and ...
0
votes
1answer
104 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
55 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
428 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
1answer
25 views

Designing a member area on my site

I am new to wordpress and I have a website I inherited and I have never even heard of wordpress. My first mini project is to create a page with my members that can then be linked to a personal page ...
0
votes
0answers
28 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
105 views

Standard way of creating profile pages with custom content for each user?

I'm in need of a solution that I need a profile page (accessible to only admin and that user) with custom content (i.e. different content for different users), for each new user I've registered. Many ...
0
votes
1answer
297 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!). ...
0
votes
0answers
732 views

How to Add And Remove WordPress User Profile Fields And Display Them Within the Theme?

I tried the tutorials available at http://teachingyou.net/wordpress/add-and-remove-wordpress-user-profile-fields/ and ...
2
votes
1answer
237 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 ...
0
votes
1answer
86 views

Update user from external script

I am using the API code of WordPress to update some fields of user profiles but I am having some problems. When I try to save information, it is not updating unless I click twice. For example for ...
0
votes
1answer
60 views

WordPress display name string manipulation

I have set the display name to show both first name and last name using the function below. How do I manipulate the LAST NAME to only pull the first letter of that string? Example, if you sign up as ...
1
vote
1answer
181 views

Remove /author/ from the author profile url

I'm trying to figure out the best way to remove /author/ from the profile URL of my users. I tried using the method in the link below and although it worked, it also prevented me from accessing any of ...
0
votes
1answer
379 views

Display Custom Field for a Specific Role, but not for Admin

How do I display a custom field for a specific role, but not display it on the profile page of the admin? When admin goes to edit a profile user that this role, the field will visible. I created two ...
0
votes
0answers
136 views

Lock Display Name To Nickname

Using the following code to change the author url links to their nickname. The issue is it seem to be conflicting and trying to use the display name instead. Can i lock the display name to the ...
1
vote
1answer
193 views

Custom profile field with birthday. Troubles with <select>

I made custom profile fields for birthday data. function my_user_field( $user ) { $birthday_day = esc_attr( get_the_author_meta( 'birthday_day', $user->ID ) ); ...
0
votes
1answer
109 views

Adding custom HTML to each profile group tab [closed]

Hopefully someone can help. I am looking to add a different image banner to each of the profile group tabs I have on my Buddypress site. I have identifed the profile-loop.php as the file I need to ...
0
votes
1answer
49 views

User profile update author

So I'm trying to create email notifications to certain users to update them on updates to user profiles. I'd like to send these users the profiles that were updated, and also which user made these ...
1
vote
1answer
7k views

How to change profile picture in wordpress?

In wordpress, how can I change the profile picture of administrator or the users added. I didn't find any option to upload your profile picture from your PC. I know it is possible if I use Buddypress ...
0
votes
1answer
85 views

Renaming profile sections

wondering if anyone can help, i need to change the name of the sections on the user profile page (the name, contact info titles) etc I know how to change the fields via a functions plugin but can't ...
0
votes
1answer
60 views

Storing additional information about the user

I'm creating a recruitment website in wordpress and need a way to store details about the user such as previous experience and qualifications. I want the user to be able to edit this information as ...
1
vote
2answers
85 views

Wordpress Rewrite

I'm trying to get http://example.com/site/vendors/?u=abc to rewrite to http://example.com/site/vendors/abc but I can't for the life of me figure out how to get the url rewrites to work. /site/ is the ...
3
votes
1answer
641 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
40 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
1answer
77 views

Renaming/translating “your profile” page

I need to rename/translate the "Your Profile" page. I've used the function below function pietergoosen_hoofskerm_vertaling( $translated ) { $words = array( 'Name' => 'Naam', ...
0
votes
2answers
303 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
1answer
124 views

Where To Find bb_profile_data(); In bbPress?

I posted this same question on WP Forum, but it's completely dead. So, there is a great tutorial in this blog about showing post count in bbPress at this link. According to that article, to show ...
0
votes
1answer
169 views

How to display comments by logged in user and responses

I want to create a profile page and display the logged in persons comments, AND also responses to his/her comment. Like this: Post title Comment (by logged in user) ...
0
votes
3answers
203 views

How do I change the image from the default mysteryman in the WP Profile page

I work for a company that has recently added a plugin for WordPress. We have a company profile page, as the plugin owner, and we want to change the image from the the default mysteryman to a logo. I ...
1
vote
1answer
84 views

Redirect after password update

A client gave a WP page to fix some problems. Specifically, there was a front end profile page that was not updating information as it was meant to. After I started testing, it all updates, but if you ...
0
votes
0answers
96 views

Why is $_POST Empty in Profile Edit Admin?

This is a very odd problem - post data seems to be empty in the profile editing page of admin. Here is my code: http://pastebin.com/3ejg8P99 What causes this? Is there some "safety" step I've missed ...
1
vote
1answer
442 views

Display custom fields in frontside user profile

I installed the CIMY User Extra Fields plugin to add new custom fields in theuser profile. I added 1 custom field for gender to the user profile but it displays only in the admin panel user profile. ...
3
votes
3answers
2k views

Removing “Website” Field from the contact info

I want to remove the website field from the user contact info. I use the following to remove the AIM,Jabber and Yahoo IM . But I am not able to use this to remove the website. Someone please help. ...
2
votes
3answers
203 views

Linking comments from registered users to their profile pages

I am trying to find a way to link the 'username' in comments from registered and logged in users to their profile pages instead of their website URL. And comments from unregistered users to their ...
0
votes
1answer
43 views

how do you point 'screen_function' to a function in the same class? [closed]

In a plugin class, I'm successfully creating a new tab on a Member page using: bp_core_new_nav_item( array( 'name' => __( 'MyTab', 'bp' ), 'slug' => 'mytab', 'position' => ...
3
votes
1answer
659 views

How to hide fields from my user profiles

I want to hide the fields link nick name, first name, last name, etc. I could not find an answer in the codex and I do not want to touch the core files. Is there any solution for it?
2
votes
1answer
537 views

How to change the link “Edit my profile”?

I am setting up a new membership website. I only have one issue that I can't resolve. Once a member is logged I don't want them to go to the dashboard to edit their profile but instead to the website ...
0
votes
1answer
75 views

How to update user profile or inputing any data to the wp db from external site?

I need to update user profile field (mainly first name, last name, email and password) from an external website. Wordpress is installed on wordpress.domain.com and external website is at ...
3
votes
1answer
217 views

Allow Profile HTML for select users

I know there are a ton of post out there about how to allow html in profiles. Most of these warn about the security risk of doing so. My thinking is there has to be a way to only allow users to use ...
1
vote
1answer
187 views

How to use the Display Name as the post title in a custom post type?

I've created a custom post type called "teacher" and I want to use that person's display name as the title of their post. Details: 1. The "teacher" custom post type supports title. 2. Only logged in ...
0
votes
2answers
28 views

Show infos only to the author in the author.php

I need to be able to show some informations only to the author in his profile viewable in the front end, for istance I need to add a text under the avatar that only the author, if logged in, can see. ...
0
votes
1answer
98 views

Calling a custom profile field only it it exists

I've used this code to show custom fields if they're filled in a post using Custom Field Suite Plugin <?php if($cfs->get('whatliked')){?> <?php echo $cfs->get('whatliked'); ?> ...
1
vote
2answers
91 views

How to do an event when any user updates their profile?

I want to call a function, whenever any user update their profile. How to do that?
0
votes
2answers
156 views

Author.php display profile for all types of users

I'm using wp-usersonline plugin with user links, when you click for subscribers it goes to a not found page but works fine for authors, im thinking is there a way to redirect subscribers to a profile ...
0
votes
2answers
190 views

display specific sidebar for each role

Does someone know if it's possible to display a specific sidebar per user-role ? (only accessible if the user is logged as the specific role related to the specific sidebar )? What I want is to have ...