Questions tagged [profiles]

Standard WP user profiles contain information ranging from user name and contact information to display preferences.

Filter by
Sorted by
Tagged with
1
vote
0answers
11 views

Allow logged in users to store and display some data

I have my website in wordpress, with Ultimate member plugin installed and letting users create their own accounts. What i want to achieve is to let logged in users click on a button that creates a ...
0
votes
1answer
21 views

how to create user profile pages and display them based on users roles

Example: I have a website with 3 different user roles (amongst others): *developers *designers *contributors I would like to have profile pages for users and would like to be able to display users on ...
0
votes
0answers
9 views

How to update user profile field on the checkbox change?

I have created a custom profile field in BuddyPress - single checkbox that is by default unchecked. I want to display this checkbox outside user profile settings page e.g. in the theme footer or ...
0
votes
0answers
24 views

User profile made easy plugin customization

I am using a plugin named "User profile made easy" plugin in wordpress to create a custom registration form in front end. this plugin provide custom fields for profile section. In the registration ...
1
vote
1answer
11 views

Prevent update of custom user profile meta field on the front end after 1st entry

I have an e-learning website that issues an official certificate of completion when a students complete their training course. The user profile name on the account can be used as the student name when ...
0
votes
0answers
8 views

Custom home page instead of profile page

I would like to display a custom welcome page when a user with a specific role is connected instead of profile.php page. I created a redirection. All work fine. function wpse_redirect_profile_access(...
0
votes
1answer
23 views

Gender based user avatar

I'm creating a matrimonial website. I want to set the user avatar based on the gender(I have a custom_user_meta for the user's gender) But I don't understand how to get the "user id" in order to use ...
0
votes
1answer
61 views

How to add required fields in user profile admin page?

I managed to add custom fields in the user profile admin page like this. The problem is when I add required="true" or required="required" on fields, the submit button do action without checking ...
1
vote
1answer
17 views

How to force field validation first, then its values saved durning edit profile?

I want to make validation of image during edit profile (wp-admin). My code for validation is: add_action( 'user_profile_update_errors', 'validate_steamid_field' , 10, 3); function ...
0
votes
2answers
39 views

wp_set_password() does not work!

I created a simple form for my users to can change their passwords. but there is a problem and I am confused! I tried a lot to change my password but my pass will not be changed by wp_set_password() ...
0
votes
0answers
24 views

Customizing the User Profile

I'm in the process of reproducing (copying) user-edit.php, line-by-line. When I echo text to the page: <?php $generic_message = 'Hello. This is a cute little message.'; // echo $...
0
votes
1answer
22 views

How can i display pagination in custom comment list?

I used this code to show latest comment list in user profile: in functions.php: add_shortcode ( 'show_recent_comments', 'show_recent_comments_handler' ); function show_recent_comments_handler( $atts,...
0
votes
1answer
67 views

How to position user meta data field

I have 1 additional field I want to display on the user profile page (mainly admin users will use this) I have done it but it is showing up at the very bottom of the page, I want it to sit in the ...
0
votes
0answers
74 views

How can i add user display name drop down menu in frontend?

How can i add user display name drop down menu in frontend? then user can choose preferred display name? In fact, I used this code answered here: How to edit a user profile on the front end? submit ...
0
votes
2answers
18 views

How to add locations input to user profile?

I want to display user's locations which they travelled on author box so how can I add this kind of input area to users profile? To more explain, If a user add "Londra,Paris" to own profile, these ...
0
votes
1answer
53 views

How to order custom fields in the user profile (admin area)

I’ve added a custom section to the user profile in my own theme. The section is called „Extra Profilinformationen“ for now and includes a field for twitter. It’s added to the bottom. Is there any way ...
0
votes
1answer
54 views

How to hide user profile fields based on the role of the viewed user?

I want to hide some default fields of the backend user profile page based on the role of the user whose profile is being viewed (by the admin in this case). I used the simple CSS way to achieve that (...
1
vote
0answers
18 views

How to retrieve current wordpress profile page URL?

I'm trying to allow users to export their own profile info to a CSV using a link on their profile. Everything works except the $url path of the link. Here's what I have: $url = $_GET['uri']; $nonce = ...
0
votes
1answer
105 views

How to create page for user?

I'm using author.php to display all user and their info. I would like to add a separate page like this : domain.com/users/user_name/ABOUT Is there a way to add a page (ABOUT) and retrieve info of ...
1
vote
0answers
20 views

Using the filters in wordpress theme [closed]

I have a member directory website created with Ultimate Member plugin, where I need to make the profile image height should be more than the width, but there is no option in Ultimate Member settings, ...
0
votes
0answers
10 views

Reorganizing fields with out plugins on User Profile

I have an account details page and would like to re-organize the content on the back end so it mimics the same order of content. What is the best approach? I am also trying not to use a plugin. ...
0
votes
0answers
15 views

Code correction - Hide a profile from visitors with a specific role

The following code i tried to hide the profile of subscriber's role of user not logged in but I need it to be visible to the administrator and shop_manager, how can I do it? add_action('bp_ready', '...
0
votes
0answers
48 views

Updating User 'Description' Meta Data (not working as expected)

I'm creating a form to allow users to update their bio ('description' metadata) on a custom profile page. Current values are successfully retrieved and new values are being stored to the DB, but with ...
0
votes
0answers
24 views

Updating User Profile information removes image

I have a custom front end user profile form. When updating the profile without changing the profile's image it will remove the image. You have to reupload the image any time you update your user ...
0
votes
1answer
24 views

Is possible to modify user_login after registration?

I would like to give the user the possibility to update his profile via a profile.php page. But I noticed that the field in the database marked as user_login is not updated. I searched around and ...
0
votes
0answers
12 views

How to associate a custom values with users in groups in buddypress?

In buddypress, is there a 'proper' way to associate custom values with users who are members of a group, with this custom value being different for a the same user in different groups. One example is ...
1
vote
1answer
37 views

Custom taxonomy forms for user profile

I followed this excellent tutorial made by Justin Tadlock . I can't update profile, it doesn't save to user profile : add_action( 'init', 'create_profession_tax' ); $post_type = get_post_type(); ...
0
votes
0answers
19 views

Check custom User meta before Insert

My goal is to check if my custom user meta field 'subscribe_to_newsletter' has been changed. If so i will be sending an API call to mailchimp to change the users status. I currently have a front end ...
0
votes
1answer
84 views

Make user’s first and last name as user slug

I allow users to sign up with their first name, last name and e-mail addresses. I want to make their first and last name as slug. For example user first name is “John” and last name is “James”. The ...
0
votes
0answers
48 views

How to make custom user profile page public?

My website users can view their profiles and edit their profiles on a front-end custom page (/user/). How can I make the profile pages public? Page slug for user profile page is /user/ and profile ...
-1
votes
2answers
531 views

how to show all type of author posts in author page (SOLVED)

my site have multiple authors. I need to show all type of author posts in author page that if visitors can see all posts of author when visitied his profile page. this code <?php get_header()...
0
votes
1answer
81 views

Update a user profile via frontend

I'm very new to WordPress so I have a simple beginner question. I've added some custom user fields on the admin form with the action show_user_profile, edit_user_profile, personal_options_update, and ...
2
votes
1answer
31 views

How can I default to all WordPress roles when parameter is not included in shortcode?

I am trying to set up a generic shortcode in WordPress with parameters for user meta key, meta value and roles that will count the total number of profiles that include certain values. So far I have ...
0
votes
0answers
61 views

profile_update hook does not fire from front-end

I'm using BuddyPress to allow users to log in on the Front end. Once logged in, they can click on 'My Account'. On this page they can upload avatars, edit their account information, etc. When I ...
0
votes
1answer
106 views

Wordpress add_rewrite_rule redirection match GET variable not passing through to custom template

My target: Create a page template in theme (page-expert.php) following the guide Page Templates. Create a blank page with the template. The above page will show the profile information for certain ...
1
vote
1answer
92 views

Author profile visitors in last 7 days in front end without plugins

I'm searching every day and every hour and every minute for a way to track a very simple stat for each author profile to display profile visits by IP and display them as a counter (e.g. 254 profile ...
0
votes
1answer
389 views

how to save multiple checkbox in usermeta and get it?

I want to create a new part as multiple checkbox in user profile page that user can check their services. But the issue is i do not know how to display the checked options after saving as checked ...
0
votes
1answer
678 views

How to save multiple custom user profile fields using repeater JQuery

I'm trying to create a multiple custom user profile fields to allow our users adding more software skills in their profile page. The problem I'm facing is it always saving only one meta for "skills" ...
1
vote
1answer
34 views

Add custom profile field only for site admins?

I am trying to add a custom field called Company to all site admins on my network. And disable this field for every role which hasn't got the capability to create_users. This is what I have come up ...
0
votes
1answer
109 views

Editable registration date field in user profile

I'm using this code to display in the user profile backend a field that will show the registration date of the user. When I change the date and hit save, the registration date wont change, it will ...
0
votes
1answer
328 views

How to create front-end (editable) Wordpress user profile pages?

So I am using Gravity Forms to create registration and login forms. But after the user logs in, I want them to be able to see a custom front-end profile page instead of the default Wordpress user ...
0
votes
1answer
135 views

Is there a possiblity to replace profile image gravatar with custom user images

Is there any possibility to replace gravatar session in profile page with an custom image with their image. Which can be uploaded from their PC while creation of the account is is possible to do with ...
0
votes
1answer
191 views

Following/Followers Users list Using Ajax Pagination inside Author Profile

I will try to be clear, I'm using "Users Following System" plugin. And I added a list of the following/followers users into the author.php profile, now I'm trying to use Ajax pagination. For sure ...
1
vote
1answer
34 views

Modify user profile data through scripting?

I'm developing a site which will have various Unity games hosted on it, and I want to be able to record the scores the users get in their profiles. I've seen various plugins for adding custom fields, ...
0
votes
1answer
65 views

Creating User Profiles using author.php

I am trying to create a user profile template using author.php. However, the template remains blank if I try to see the profile of a user that has not created any posts. www.website.com/author/user1 -...
0
votes
0answers
29 views

Which membership plugin enables users to enter html links in blogs and on their profile page?

I would like to make a community that enables users to have a nice profile page that enables them to put html links. I tried several plugins as Buddypress, ultimate member, profile grid etc. But they ...
2
votes
1answer
963 views

Removing WordPress profile fields from non-admins

I want to remove the Display name publicly as option from non-admins in WordPress edit profile page. How is that possible? if ( ! current_user_can('manage_options') ) { #remove the above } In ...
0
votes
0answers
66 views

Replace a specific profile field

I have a profile field which is called. $user_meta->steam_steamid I would like to get that fields value and replace it with the result i get from echo getSteamId32($steamid64); or getSteamId32(...
1
vote
3answers
2k views

How to add a checkbox to registration and user profile?

I need to add a privacy policy checkbox to user registration AND user profile (checkable and uncheckable at anytime in your user life). I was thinking there would be tons of plugins doing this, but I ...
1
vote
0answers
64 views

Custom Profile Fields move from BBpress to BuddyPress

I used before only bbpress forum but I decided to add also buddypress. I have old bbpress user profile custom fields that I created. How to make they works on buddypress user profiles? I don't want ...

1
2 3 4 5
7