Tagged Questions

Refers to accounts with the ability to login and participate in a WordPress site.

learn more… | top users | synonyms (1)

0
votes
0answers
28 views

Multisite add existing user to site per site register

I've set up a few sites in a multisite network. On every site there are register fields: Username and E-mail. If a user registers on site A he is registered as a global user on the network. So far so ...
1
vote
4answers
92 views

Find out who deleted a page or post?

Someone moved a very important page on my website into the trash, and I do not know who did it! It was not deleted permanently so I don't need to worry, in that sense. The revisions, when I restored ...
0
votes
0answers
69 views

Unable to set user role via edit_user_profile_update action hook

I've added the following action hook to edit_user_profile_update: add_action( 'edit_user_profile_update', 'set_user_role' ); function set_user_role( $user_id ) { if ( !current_user_can( ...
0
votes
3answers
124 views

User description only displayed for logged user

In my "About" page I list all WP users of the site. Then in author.php I display the description of the selected user with this code: <?php the_author_meta( 'description' );?>. Problem: this ...
0
votes
1answer
23 views

user login and its profile

i want login, logout and view profile functionality. i am currently able to login the user and redirect them to home page of website. i want to show loggedin users name on menu and a logout link. for ...
0
votes
0answers
108 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
0
votes
0answers
49 views

Member's area with private content?

To begin with, sorry for my english.. and thank you Goggle translate! :) I come to speak here because nobody knows answer me in my country. here is my problem: I created a website (in local for the ...
0
votes
1answer
33 views

logged_in user outside of wordpress loop

I have a member site which maintains a collection of books. I want to have a page on a folder outside of my loop that can see if the user is logged in to the main site, and then display the book ...
1
vote
2answers
25 views

Make a user administrator to a sub directory site and a contributor to main site in multisite network

I have a multisite network. The main site displays news. The sub directory sites have administrators and I call them subsite admin. If the subsite admin wants to post to the main site, I want them to ...
0
votes
1answer
26 views

Inserting current user ID into Post for Author

I am trying to insert the user id of the current user when creating a custom post type. This is my code: $my_post = array( 'post_title' => $orderRequestCode.' - ' . $customerName, ...
-1
votes
1answer
34 views

Store subscription details for users in Wordpress

I want to store subscription details of several category for users. how to store this to wp database. i am beginner to wordpress. whether i want to create new table or can i use meta ,taxonomy or ...
0
votes
1answer
36 views

Adding more fields to the add user page on dashboard

I'm working on a Wordpress site and would like to add a few extra fields to the dashboard user-new.php screen so the admin can easily add new users to the site. The fields would need to take in text ...
0
votes
2answers
28 views

Can I edit the database to change a login?

I have WP installed on a server with a couple of other things. Naturally, phpMyAdmin is installed so I can edit my databases easily. Anyway, is it possible to, using phpMyAdmin to edit a row and ...
1
vote
1answer
24 views

How to assign permissions for a CPT to a user

I have a list of CPT's called resources. I want each resource to be assignable to any number of users. The assignment would preferably occur by an admin, logging in, nav'ing to that users email, and ...
0
votes
0answers
36 views

How to let users sort list of categories?

In my homepage, I have listed all of categories, under which their posts, are listed like this: Category 1 post 1 post 2 post 3 Category 2 post 4 post 5 post 6 ...
0
votes
0answers
27 views

Wordpress multiple forms

I have a question on how to approach the following situation. When you have a website like: www.green.com/page1 www.green.com/page2 www.green.com/page3 www.green.com/page4 With on every page a ...
0
votes
0answers
45 views

Missing tabs in my dashboard

I am a newbie to wordpress and I am trying to create a theme from scratch. Some tabs (e.g Users, Appearance->Widgets) are missing in the dashboard. I have manually added admin user via phpmyAdmin and ...
1
vote
0answers
43 views

Limit number of users a role can create

Just wondering if there is a way to limit the amount of users a specific role can create? For example, if Editors can create new accounts, I only want them to be able to create 20, and then they ...
2
votes
3answers
139 views

Use phpbb user database for Wordpress

I've got a phpbb forum and recently I've added a Wordpress website to my domain. I want my phpbb users to be able to login to my Wordpress page using the same username and password they have on my ...
0
votes
0answers
47 views

Change the layout of user-edit.php profile

I've got a website with over 200 users, and they all use their profiles to display up to date information on themselves and services that they offer. Is there anyway to change the layout / style of ...
0
votes
1answer
33 views

Get current user array into hyperlink

I am unsure how to take data from the user array and place some of these values into the following hyperlink. I want to replace the email address, first name and last name with the values from the ...
0
votes
0answers
37 views

Custom User Roles Added When Plugin Network Activated and not on Individual Site

I wrote a quick plugin which creates a list of custom user roles and capabilities for each user role. The user roles are checked and added if not found upon plugin activation. When I network ...
-2
votes
1answer
28 views

User submitted post

I'm sure there are plugins to do this but I wanted to try and do it myself. I have a form that contains a title and a content/message area. I would like to add this form as a post when fill it in. ...
0
votes
0answers
104 views

wp_ajax_$action works always, wp_ajax_nopriv_$action never works

I used to know that when we use Ajax API we use 2 action hooks to handle the ajax, wp_ajax_$action (Logged in users) and wp_ajax_nopriv_$action (Non-logged in users), But in my case, the latter one ...
0
votes
1answer
143 views

Add field to user meta table in database when link is clicked

I am working on function that enables registered users on my site to bookmark posts. I have searched for plugins but none seemed to do the job properly. I have a page where users can see their info ...
0
votes
0answers
14 views

Activate Multiple uses

I have a Football Pool where users can register themselves. I need to activate all users manualy. Somehow I cant Active all users at once. When I select them al and press active only first user is ...
0
votes
0answers
84 views

Allow users to create their own page/s

I Create a network where any register user have a profile, from user profile i want enable user to create own page/s where he can post like Facebook. There is a way to do this with wordpress or i must ...
0
votes
1answer
54 views

Using Same User Database on Subdomain

How can I create a subdomain that uses the same database as the main domain? For example, I have mywebsite.com which has my main WordPress installation. I also want, say, subdomain.mywebsite.com ...
0
votes
1answer
17 views

Limit roles displayed in users.php depending on custom role

I have setup my WordPress installation with a custom role called 'regional_manager' I have given this role the capability to add_users and managed to create a custom snippet for my functions.php file ...
0
votes
1answer
48 views

Difference between is_user_logged_in and $_session['uname']

I am writing a condition to check if a user is logged in, not sure which of the below condition to use : if(!is_user_logged_in()){ And if(!isset($_SESSION['uname'])){ Basically need to ...
0
votes
1answer
147 views

Get current user array with post string

I need to get 10 current user fields and pass the field values to a post string. The post string is expecting certain label names for each value. Example - post string expects 'firstname' => ...
0
votes
1answer
23 views

Customizing Users in Admin Area

I know how to customize the users in the admin area of WordPress. I have done it many times. However, I would like to customize the user a bit differently as explained below. I would like to add a ...
0
votes
0answers
36 views

User management missing after migration to new host

I just moved my WordPress 3.9 site to a different host by making a mysql dump and restoring it on the new server and uploading the files over. Pretty standard. However, now I've lost the ability to ...
2
votes
1answer
83 views

there's a way to include a minimal WP for check only the current user, its roles (caps?) and then release/free it?

I need to count how many times a file in a particular sub-directory is downloaded and track who downloaded it. I'm using a Php file to do it, it isn't a WP file but I need to include WP to get the ...
0
votes
0answers
22 views

Filter user who used to login to my wordpress site

I want to display one more column into the "All User" panel to show "X" if the user used to login to my website at least 1 time. And then add the ability to sort the user list, which user used to ...
1
vote
2answers
146 views

Specific theme for non logged in users

I want to make an specific theme for non logged in users, but I don´t know how to make the function or plugin to shift the theme for them, and left another specific theme for logged in users. Anyone ...
0
votes
0answers
45 views

Add custom field for author and show list author order by that field

I am using variables $author_like_count to count like from all post of author. $author_like_count = $author_like_count + get_post_meta($post->ID, 'like_count', true); My question : How to set ...
0
votes
1answer
138 views

Users - remove 'send password' checkbox

Is there a recommended method for removing the 'Send password' checkbox when managing users in WordPress admin? Or alternatively a way of alterting users to changes that doesn't involve mailing the ...
0
votes
1answer
61 views

Adapting a php array to WordPress

The guys over at the other Stackoverflow said I should post this here. I've been reading and tweaking code for three days and can't figure this out, because I'm new to php. The developer that wrote ...
0
votes
1answer
26 views

Can user meta be shown or hidden depending on user logged in status?

Can is_user_logged_in be combined with jquery somehow to add/remove fields wrapped in a certain class? More specifically: I want to wrap the users' phone and email in class "private". Then if the ...
1
vote
1answer
68 views

Users problem (multi-author plus multisite)

all. I am having a users-related problem on a multi-author site (actually two sites on a multi-site, both of which have the same users). Here are some details: 1) In the backend users' list, the ...
1
vote
2answers
349 views

Disable user profile editing for one user

I have being looking in internet how can I disable the option of edit profile in Wordpress for a user and I didn't find a good way. The problem is that I want that the 95% of users can edit their ...
0
votes
0answers
81 views

How to create network-wide taxonomy terms on multisite?

I am trying see if it's possible to create shared network-wide taxonomy terms. Specifically, I want to create a few custom taxonomies for Users (a network-wide resource) and I want them to all share ...
1
vote
1answer
176 views

Getting author page slug from get_users() or get_userdata() functions

wp_list_authors() gives a list of author pages permalinks (site.com/author/john, site.com/author/jenny, etc). I want the same links using get_users() or get_userdata() functions instead. I need these ...
1
vote
1answer
149 views

Personal page for every user (not just authors)

I've got a page displaying all WP users using get_users() and get_userdata(). I need an individual user page automatically (with its own slug) generated for each new user added. I'm a bit clueless ...
0
votes
0answers
27 views

Add new user and user bio at same time

Note this is not referring to any type of author bio display but rather how it's entered via the Admin. As it stands now, the new user screen doesn't have any author bio field. It's only after you ...
0
votes
0answers
53 views

Join wp_users and wp_usermeta

I have a custom user meta named created_by, which is the ID of creator of this user. I want to create a view table like this for example: ID user_login created_by 2 andi admin How to ...
1
vote
1answer
116 views

How to customize wp_signon()

I am trying to get a customized sign on process. The features that are absent in WordPress by default are the following: Allow user to choose a password at the time of registration. Allow user to ...
1
vote
0answers
33 views

Use Wordpress Login for a non-wordpress site

Please read the following example and tell me if it's possible. Website A (wordpress) has alot of different users who must login to see some pages Website B (non-wordpress) same as A. Is it ...
1
vote
0answers
25 views

Wordpress stuck in deleting user

We’ve run into an issue with our WP Multisite where we cannot delete user accounts. The URL i keep getting is: http://example.com/wp-admin/network/users.php?action=dodelete It should look something ...