for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

0
votes
1answer
827 views

How to write to the plugin's directory?

My plugin needs to create some directories for its use when it's executed. On many hosts (those using suPHP for example) there is no problem and everything works fine. But on other hosts, PHP does ...
0
votes
1answer
3k views

Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin

I'm trying to write to an XML file in a WordPress Plugin. I'm on my local machine, a Mac running MAMP. I have PHP 5.2.13 My code is: $file_handle = fopen('markers.xml', 'w'); $stringdata = "Test ...
3
votes
1answer
988 views

Update post counts (published, draft, unattached) in admin interface

I am working on a multi-user WordPress setup and have made it so a particular type of user can only see and interact with posts, images, pages etc that they have authored. The code to make this happen ...
0
votes
1answer
365 views

Making plugin to use different table prefix cause permission problem

I have multiple wordpress websites that uses the same files and database but with different table prefixes, I use a plugin "Shortcode Exec PHP" and I would like to use the same shortcodes on all the ...
0
votes
2answers
182 views

Permalinks and page store

I posted this on stackoverflow and they said i can try here - I have wordpress installed on my website. On that site, under a subfolder i have oscommerce system installed as online commerce store. ...
1
vote
3answers
511 views

You do not have sufficient permissions to access this page

After long time am here,I have one question. I Installed my wordpress in localhost and i moved to live,while i forgot the admin password,so i reset it by phpmyadmin(using md5).now i try to login by ...
5
votes
1answer
3k views

How do I get the right permissions for WordPress running Apache on Debian

I'm trying to set up a WordPress site on a LAMP stack on Debian 6.0. From the WordPress documentation (and my experience on shared hosts) the correct permissions should be as follows All files ...
0
votes
1answer
939 views

Allow Author role to publish one post type and not another

I have two custom post types. One of them, I would like the author role to be able to publish. The other one, I would like for them to "Submit for Review". Any suggestions?
1
vote
3answers
224 views

How do I apply a class to custom menu items based on user roles

I have a members section on my site and they see specific custom menu items. I'm seeking a way to simply apply a star to the <li> based on it's permission level and what the user's role is. ...
1
vote
3answers
461 views

WordPress folder ownership issues

Hi I set up wordpress on a VPS and I'm running into two problems: Either WordPress asks for ftp details in order to update plugins or delete them or Through FTP I cannot delete files as I get a ...
0
votes
2answers
351 views

What are the correct permissions so WP doesn't ask for FTP credentials if installing plugin?

My nginx user is www-data. If I do su www-data I can create both file and directory. But when installing plugin I am asked for FTP credentials. I tried to give the public_html directory 777 ...
0
votes
2answers
111 views

Hiding custom theme functionality using capabilities

have spent half an hour hunting around on Google to solve this so any ideas greatly appreciated! I'm using a bought theme running wp3.2 and the theme includes a few extra features Testimonials, ...
1
vote
1answer
2k views

permissions access error

I'm getting this when saving a post after editing: Forbidden You don't have permission to access /wp-admin/post.php on this server. Additionally, a 404 Not Found error was encountered while trying ...
1
vote
1answer
364 views

Wordpress stripping html and script tags from some admin users on save

When I add content to a page as the original admin user, I can past in the following code and it saves fine (old google search set up by another user): <form action="http://www.google.com/cse" ...
0
votes
2answers
831 views

Warning : tempnam() [<a href='function.tempnam'>function.tempnam</a>]: SAFE MODE Restriction in effect

When generating PDF with dompdf I am having this problem in pdf file when viewing file in notepad Warning : tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose ...
0
votes
2answers
850 views

Expanding the allowed HTML tags in comments?

I have no problem doing this in a comment, as an administrator: <b>bold test</b> <i>italics test</i> <u>underline test</u> <font color="#ff9900"> color ...
-1
votes
1answer
60 views

Plugins Page - “Page disabled by the administrator”

I've encountered an issue on a site I'm looking after. The 'admin' account no longer has access to the plugins page, if I try and manually type in the URL to the page, I get the following error: ...
2
votes
1answer
5k views

How can I limit WordPress editor roles to a specific category?

We're trying to use WordPress as a light CMS system and we need to be able to section off parts of WordPress so that editors for one product aren't able to edit other products. Seems like out of the ...
0
votes
2answers
373 views

Upgrading WordPress (File permission group owner)

I have a problem when i want to upgrade Wordpress or install plugin via the Admin. It's say that I don't have the permission to write. but I can upload images and other things... but i cannot install ...
0
votes
4answers
1k views

Problem Installing a Premium Theme— File Permission Issue on a Mac, Local Machine?

I tried to install a premium theme called Superb. I'm new to WordPress and I'm having a bit of a problem. I think that it has to do with permission settings, but I'm not sure. This is my situation: ...
3
votes
2answers
6k views

Create custom permissions for user type

I'm currently wanting to have it so that writers on my site have to have an admin approve their content before it's published, but still be allowed to do other tasks such as uploading images, adding ...
8
votes
3answers
13k views

Allow member to have access to custom post type only. Permission to only edit their own posts

OK I'm looking for the best way to attack this. I'm very comfortable with PHP and making custom post types with custom meta fields in WordPress. Here is what I'm looking at doing: User registers ...
0
votes
2answers
921 views

What is this error message?

After installing wordpress and some plugins i am getting this error when i create a sitemap. I realy have no idea what this is and how to solve. Any help would realy be appreciated! Warning: ...
0
votes
1answer
1k views

Add menu page issues (permissions & position)

OK, I have an issue with Sidebar Generator Plugin. This plugin creates subpage called "Sidebars" in WP-Admin. The point is, it is created as a child of "Appearance" page. And I don't want it here, I ...
0
votes
2answers
7k views

Failed media import

I sat up MAMP on my mac and installed wordpress 3.1. Then, I exported my wordpress.com ina tried to import to my local wordpress.... I ticked import media option and I was hoping that I will get all ...
4
votes
3answers
7k 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?
1
vote
2answers
2k views

Manage custom menu for an Editor?

I've a problem with permission. Is there a specific permission to let an user with Editor Role, manage the custom menu of a theme, and only this options? The item that is under Appereance -> Menu, to ...
15
votes
3answers
6k 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 ...
2
votes
2answers
1k views

Recommended File Permissions

Hey guys, I have been spending the longest time trying to figure out this issue. I would like to know what the file permissions should look like in WordPress in order to use the autoupdate feature. As ...
0
votes
1answer
183 views

Of thumbnails and folder permissions

I am trying to make TimThumb work on my domain. After having tried and tested every step on this troubleshooting guide, it finally came down to folder permissions. The thumbnail cache is owned by my ...
0
votes
1answer
951 views

How do I let contributors edit their posts after being approved once?

As above Background info Main problem: users pay to post an ad on the website Solution: they sign up as contributors and I publish their posts once the payment is received, after that they can make ...
2
votes
2answers
5k views

Can't install new plugins because of the error “Could not create directory”

A faculty member is having difficulties with a instructional wordpress install. Fixing individual permission problems has been hit and miss, and have become a perennial pain, so I'll ask here. What ...
0
votes
1answer
97 views

Privilege escalation bugs in 2.9?

Are there any known privilege escalation bugs in WP 2.9 to be careful for?
1
vote
2answers
772 views

Applying roles to an admin sub-menu (eg Appearance -> Menus)

Long time lurker, but first time poster. I've searched Google extensively and just can't seem to come up with an answer on this problem. I use Justin Tadlock's excellent 'Members' plugin for roles ...
2
votes
2answers
253 views

How can I make my custom templates respect permissions?

I use the Members plugin to manage permissions on my site. For standard templates, it works great - when the user doesn't have permission to see a page, they get the following message: Sorry, but ...
5
votes
8answers
10k views

Is there a way (plugin?) to restrict a user to being able to edit just one page?

We use wordpress like a CMS and would very much like to allow users to have a "homepage". Ideally they'd be prevented from mucking up the whole site. Is there a simple way to limit users editing ...
5
votes
6answers
12k views

Can't upload images due to permissions error

For some reason when I try to upload an image to my blog I get an error message saying that WP can't create a folder under the relevant directory (wp-content/uploads/2010/09) and it's asking if the ...
1
vote
1answer
898 views

Creating Custom Roles for use on a WordPress Multi-site Instance?

We have a large site that consists of a number of smaller websites. We are looking at replacing our current CMS with WordPress. The only problem is that we need to create a custom role (kind of in ...
5
votes
3answers
1k views

How to Control user registrations directly on sub-sites

Does anybody have Idea to enable a wordpress based multisite user to automatically get access to all sub-sites under same Multi site ? If I have A Multi-site installation(Also Buddypress enabled) at ...
10
votes
4answers
5k views

How to to secure WordPress file and folder permissions

I've read articles about protecting wp-config.php using .htaccess as well as setting the correct file permissions but I want it all in one place. What should my .htaccess file look like and what ...