Tagged Questions
1
vote
1answer
15 views
How to programatically change username (user_login)?
As in the title, how to programatically change user's login?
I wanted to use wp_inser_user function, but it appears that when updating current user, it doesn't change his/hers username. Should I use ...
1
vote
0answers
19 views
Share user table from WP with Drupal
I'm developing a sister website to a well-established private site that is already built in Wordpress. I can't use Wordpress to create what I need and I am therefore using Drupal. The owners of the ...
0
votes
2answers
1k views
Custom user profile, registration, login page with theme
WordPress user profile page uses the administration interface, and its user registration / login page is not part of the theme. I would like to
change it into the custom theme of my site
customize ...
0
votes
1answer
146 views
0
votes
1answer
134 views
Using my own user table
Quite a broad question but I was wondering if it's possible to remove user management from WordPress and let it be handled by a remote database?
I have an existing user table with everything I need ...
1
vote
1answer
79 views
Users can only view their content from the front end
There was a great answer to how users can manage their posts only from the back-end. What I am wondering, is how to allow users to only see their posts, pages, etc, which have their user id attached ...
2
votes
1answer
336 views
How to manually activate user in dashboard only by admin
I'm looking for a function that allows admins (only) to activate new users. When a user registers he have to be approved by the admin before he gets access to log in.
Does anyone know how I can do ...
1
vote
1answer
385 views
How to remove “Super Admin” from All Users for those that are not a “Super Admin”?
I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this?
This screenshot shows what I am talking about:
1
vote
1answer
244 views
How to display only logged in user's post comments in comments area
I am making a custom Wordpress site where School students logged in and add their posts.
I am giving them rights to use wp-admin panel with little customization and modification.
QUESTION: "How can ...
0
votes
1answer
146 views
each user having category with their name and can add sub categories post in that category
I am looking for help or plugin for the following conditions of my site
I am using wordpress 3.0+ version.
my site is about School where students will get register and post their experience and ...
2
votes
2answers
2k views
Allowing users to edit only their page and nobody else's
We currently have about 50 pages, each of which I want a user (eg, bob, rob, smith) to be able to edit only 1 page. For example, bob & smith each have their own page. I do not want bob to be ...
1
vote
1answer
619 views
How can I get multisite primary blog (url or path) for current user?
In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog.
I know how to determine if a ...
0
votes
1answer
323 views
Control Category of each user can post
i need to know if has some plugin to control category of each user can post.
Exemple:
USER A - Only can post on the category A
USER B - Only can post on the category B
Thanks for TIPS!!!
2
votes
1answer
169 views
Add user capability and check against it
I just realized the following:
// Call the current user info
global $current_user;
// Add a capability
// and set the 2nd argument ($grant) to false
$current_user->add_cap( 'some_cap', false );
...
0
votes
1answer
826 views
Front end user meta options for users
I have created user meta options using this tutorial. Now I want to know how to allow users to edit (update) certain custom user meta options that I created.
Users already have a template account ...
3
votes
1answer
228 views
The 'user_has_cap' hook seems to take two page loads to trigger
This question relates to another question I asked recently (http://wordpress.stackexchange.com/questions/29009/how-to-assign-specific-users-the-capability-to-edit-specific-pages-posts-cus/), the ...
0
votes
1answer
96 views
how to allow all users who register to a main domain be automatically be registered to all subdomains
i'm looking for how to let those users who registered on a subdomain be automatically be registered in all my subdomains. in this case, the users don't need to register again to the subdomains, when ...
-2
votes
1answer
679 views
Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set?
Is it possible to tell if a user is logged into Wordpress from looking at the cookies which are set on a site? If not, how could I add hooks to the login success and logout actions and set my own ...
2
votes
2answers
139 views
Add a wordpress blog to my website having users
I have a php/mysql based site with users segregated into different groups... i want to add blogging system to it so that each group has its own blog which can be authored by users who are designated ...
0
votes
2answers
937 views
Redirecting or displaying a message on first login
I've been trying to decipher a way to display a message to a user on first login and can't seem to get it to work. I'm not sure what I'm missing, or if there's something else I need to do. Any help ...
1
vote
1answer
367 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
1answer
317 views
Restrict access of admin uploads to certain logged-in users?
This is a very open-ended, speculative question with lots of possible angles: has anyone worked with ways to restrict the access of certain uploads to a logged in user?
I.e., how can the site admin ...
3
votes
4answers
3k views
How to restrict access to uploaded files?
I have a restricted area on a website that can only be accessed by logged in users. Fot that I created a page template with a 'current_user_can()' condition.
My problem is that the documents attached ...
3
votes
2answers
2k views
Allowing an email as the username?
Is it possible to allow people to utilize their email as their username?
3
votes
1answer
717 views
Post list based on the user that is logged in
I've been all over this site and google, and the WP codex looking for an answer to this one. I know it's out there, and I know it's easy. Maybe has something to do with user_nicename, but I just can't ...
1
vote
1answer
132 views
Upgrade Nightmare - No Posts, Permissions Issues and Can't Create a new post
Symptoms:
Can't view ANY previous Posts, but the correct totals are listed by class - published, draft....
When creating a new post - no save or publish button
Unable to administer ANY plug-ins - ...
5
votes
1answer
341 views
Disallowing Users of a Custom Role from Deleting or Adding Administrators?
(Moderator's note: The original title was "Custom User Role Restrictions")
A project I am working on requires me to create two new user roles - one for the owner of the website and the other for ...