The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
17 views

Forbid contributors viewing drafts

Is there any way I can forbid a contributor to view draft posts? Right now any contributor can view my draft posts and even edit them (however their edits must be approved by administrator first).
0
votes
1answer
34 views

Admin role not really admin

So i followed a tutorial to install wordpress offline in xampp. It's up and running but login doesn't seem to be a full admin. It says i don't have sufficient privileges when trying to install a ...
0
votes
1answer
33 views

A good hook to check authorization and redirect?

It seems strange to put a redirect in a template page, because so much of the page has already been built by the time you reach a custom page template. I'm wondering what is a good action hook to use ...
1
vote
1answer
33 views

Can user #1 (the initial user) be deleted without ill effect?

When you create a new Wordpress site, the first user created is user #1 and given the Administrator role. Is there anything special about user #1 that would make it unwise to delete it? (Assuming ...
1
vote
3answers
199 views

Why are authors allowed to approve comments on their posts? How to revoke privilege?

I was under the impression that only admins/editor roles can approve comments however our authors are able to do so as well on their own posts. I want to disable the ability for an author to approve ...
0
votes
1answer
81 views

How to make the Newsletter plugin visible to users with author privileges?

I'm using the Newsletter plugin and would like to make it accessible to author users. Is it possible to do so? If there's no solution for this I'll edit the editor role to make it a new author role.
0
votes
0answers
58 views

How can I hide any submenu item from dashboard menu but still have access to it from direct url

I just want to hide a page but I want to access it by directly entering its url. But I am unable to access that page after remove_submenu_page() function. I get this error: You do not have sufficient ...
0
votes
1answer
33 views

Installing WordPress into a user directory without any admin privileges

I posted a question over at webmasters.stackexchange.com that was migrated over to this stack. It's here now: Canonicalization issue regarding academic URL vs. blog URL Before the migration, ...
0
votes
0answers
25 views

What are the minimum database privileges to run WP? [duplicate]

In my current installation, the DB user has been granted full privileges. I am pretty sure that not all of them are required to run WP, but I am not sure which privileges are definitely needed. ...
0
votes
1answer
139 views

Lost admin “manage_link” capability WordPress. No “Links” menu item in admin menu

Going slightly mad. In the process of upgrading a client's website to WordPress 3.5.1 we've decided to use the built-in WordPress "Links" system to manage their affiliations. I am using the "Admin ...
1
vote
1answer
186 views

One time username change from frontend?

I'm using facebook connect plugin. Usernames generated by that plugin look like firstname_lastname. I mean it looks ugly. I would like to give the privilege to my users to change the username BUT ...
1
vote
1answer
2k views

“You do not have sufficient permissions to access this page” upon accessing my newly created plugin page

I am following "Write your own plugin tutorial" and I made it, activated it, added it to settings to have it's own plugin page but upon trying to access that plugin page I get above message saying ...
0
votes
2answers
4k views

How to set privilege to wordpress subscriber for private page

I am having private page.I want to show this page only when "subscriber" logged in."Editor" should not access this page.How can i set the privilege.
1
vote
1answer
300 views

Excluding private/protected posts via IP

I essentially want password protected/private pages/posts in WP to work as they currently do, but completely disregard the functionality for certain IP addresses. I've looked into filters/actions ...
0
votes
3answers
505 views

Trying to save custom post type from frontend partially working

I've created the following custom post type (lugares means places) with a custom taxonomy of tacos and it works fine form the backend: /** * Custom post-type lugares **/ add_action('init', ...
1
vote
1answer
749 views

grant a privilege for roles (for example editors) and higher

My wordpress theme has a custom post-type. Only editors (and higher) should be allowed to use this post type. I did this with: function add_capability($role,$cap) { $role_obj = get_role($role); ...
1
vote
1answer
2k views

How to enable a site administrator to edit users in a WordPress network/ multisite setup?

I have a few sites in a network. I don't want the site administrators to manage things like network plugins, but I would like them to be able to edit profiles of all network users, not use those on ...
1
vote
2answers
69 views

Can I stop authors from changing the font in their post?

I want the site to have a consistent look and feel so want to prevent authors from changing font, font color or font size. Is there a way to either override their choices, or remove the option? ...
2
votes
1answer
842 views

Best way to have an per-user customized private section

A common requirement for business sites is to have a client login which allow visitors to access private content for them (ie: downloads, screenshots, documents). I did it in the past and although it ...
0
votes
1answer
463 views

How Do I Allow Comment Moderation for Other User's Posts?

I want to setup a user account that only has access to moderate comments - for all posts - but doesn't have access to edit any posts. When I give the user the moderate comments privilege (using an ...
5
votes
4answers
8k views

What are the recommended database permissions for WordPress?

I just got WP running on my own server. I am not trying to lock things down more. What permissions should the db user have to my WP db?
2
votes
1answer
7k views

Restricting access to files within a specific folder [duplicate]

Possible Duplicate: How to Protect Uploads, if User is not Logged In? Is there any way at all to restrict direct access to files within a specific folder to only specific wordpress users ...
15
votes
3answers
9k views

MySQL Database User: Which Privileges are needed?

The short installation instruction for WordPress ("5 Minutes") state that: Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and ...
4
votes
1answer
424 views

What specific database privileges does WordPress need?

I want to create a new database user for my WordPress installation. Usually on localhost, i can just use root, but it is good practice to use a user with as little rights as possible. What are those ...