The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
307 views

Limit a user to have access to only specified pages?

I have several users that I would like to put in user groups. The reason for this is each user group will have access to a specific set of pages or a specific custom post type. I would like to be able ...
1
vote
1answer
2k views

Why is the reset password key missing in the reset password email?

Wordpress 3.2.1 - The reset password URL in the email generated by http://mysite.com/wp-login.php?action=lostpassword does not contain a valid key and so users are unable to reset their password. We ...
0
votes
0answers
62 views

Plugin (smart archives reloaded) crashed site / no access on admin panel

During a clean up of my plugins inside of WordPress i deactivated the: smart archives reloaded plugin. Next up: a fatal error when i refreshed the page. Fatal error: Class 'SAR_Generator' not found ...
0
votes
0answers
34 views

How to detect if a viewer is not registered/not logged in and prompt the viewer to register/sign in?

I want to "lock" a certain portion of my website (i.e., user reviews) only to users who are registered and logged in. This is similar to what Quora does. However, this is not just a simple restrict ...
2
votes
2answers
7k 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 ...
3
votes
4answers
6k 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. For that I created a page template with a 'current_user_can()' condition. My problem is that the documents attached ...
1
vote
3answers
3k views

Add new media uploader at frontend for wp 3.5+

I create a form for user to submit content from the frontend. The only problem is I don't know how to handler the image upload. So, I want to know how to use the WP media uploader in the frontend. ...
0
votes
1answer
306 views

Restrict custom post content to specific user

I've created a custom post type called Students with custom fields like ID #, Name, year, age, etc. With this, I have also created one "Student" post for each student in a school. What I want to do ...
0
votes
1answer
97 views

Standard way of creating profile pages with custom content for each user?

I'm in need of a solution that I need a profile page (accessible to only admin and that user) with custom content (i.e. different content for different users), for each new user I've registered. Many ...
0
votes
1answer
68 views

Post/Custom Post Type URL Access

Is there a way to prevent people from visiting a post's permalink? A lot of times we create posts or custom post types that end up being included as part of the content of a page or some other ...
0
votes
1answer
44 views

Allow users to create and store data and retrieve it on login

I write a wedding blog and would like to allow the subscribers to login and be able to create and save their own wedding guest lists. The data they store, should be retrievable on future login to the ...
0
votes
2answers
306 views

Hide page link in main menu from anonymous users

The title pretty much explains itself, I'm looking for a way/plugin to hide the menu link to a specific page from users that aren't logged in.
0
votes
3answers
1k views

Temporarily disable user role login and replace with message

Is there a simple way to temporarily stop a user role logging in with wordpress? For example, if I have a user role called media, how can I block them from logging in? I would like a custom message ...
0
votes
1answer
107 views

How to give members access to their own protected page?

I'd like to give each member access to their own personal page that only I'll be able to edit. Each member will have their own personal page with private info. Do you have any suggestions on how to ...
0
votes
1answer
43 views

view and update form only for registered users

Requirement:- I have created a Form in wordpress, which have some fields e.g., article name, article type, upload article, author name, etc. Now i need, that only registered users can fill and ...
1
vote
0answers
40 views

Disable comments for a user?

Is there a way I could ban a registered user from posting comments, thus converting them to a read-only mode temporarily? Ideally I'd like this to be a set-it-and-forget-it solution (ban user for 2 ...
0
votes
2answers
412 views

Plugin creation - how to add user rights?

I wrote a little wordpress plugin and I want to grant only specific roles or users access to it. Is there a way to do this?
1
vote
0answers
42 views

Multi-Site Subfolder User Permission Issue

Currently I have a header file checking to see if users are logged in, and then a "landing" page which allows them to view all the sites they have access to within my multisite network. This ...
1
vote
0answers
75 views

How to “Global Ignore” / “Hell Ban” someone, restrict post visibility to the author only?

I'm looking for a way to deal with trolls by making any post they make invisible to everyone except them. This is known as a number of names "Global Ignore", "Hell Ban", "Troll Hack", "Tachy Goes to ...
4
votes
3answers
355 views

Is WordPress' is_user_logged_in() secure?

I've been wondering about this for a while. Is the following if statement safe enough? Is it easy to break through the code and get access to the content when not logged in? <?php if ( ...
-1
votes
1answer
459 views

How to restrict posts only from a certain category

I'm making use of this custom code to my loop.php file to restrict non-registered members access to posts from a certain category (cat 1) <?php if (is_user_logged_in() && $cat == '1') { ...
0
votes
1answer
318 views

Grant a person permission to moderate all comments on a blog without giving them the ability to edit other peoples post

I'm trying to figure out how to create a wordpress role that grants the user the ability to only moderate all comments (including for posts that aren't there own). The only way I've been able to do ...
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.
0
votes
0answers
61 views

Some Subdomains on a Multisite Install Not Found

I am running WordPress multisite and can't access some subdomains. I can access the main website and other subdomains. According to isup.me these subdomains are up. Any idea why this would happen? ...
0
votes
2answers
142 views

User access control in sidebar archive and categorires

Could someone please help me solve my problem which is: I want content restrictions based on user roles and a sidebar category based on user roles. I have three type of user roles: Beginner, ...
1
vote
0answers
68 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 ...
5
votes
1answer
4k views

How to assign specific users the capability to edit specific pages / posts / custom post types

I'm trying to implement what seemed like a relatively straight forward idea, basically I am building an access control plugin to control viewing and editing of a custom post type (in this case ...
4
votes
1answer
1k views

Only allow administrators and editors to access wp-admin

I am trying to restrict access to wp-admin so that only administrators and editors are allowed. At the moment I am using this function: function restrict_admin(){ //if not administrator, kill ...
0
votes
1answer
80 views

Need to block user role from accessing bbPress all together

I've been looking at some options and I haven't seen a full solution to what I need. I need to block certain user_roles from accessing bbPress all together and from seeing the link to the page. Any ...
15
votes
3answers
379 views

How to enable suggested edits?

I like the idea of enabling any user of my website to suggest edits to a page. Much like the edit system on Stack Exchange but different in that anyone should be able to edit, not just registered ...
-3
votes
1answer
123 views

Allow User Can See His Post on his dashboard

I want to allow user that Post option display on his dashboard. Where User's Can Show only his post. How I manage this. Please Help me.
2
votes
1answer
92 views

Restrict certain posts from being sent to the feed subscribers

Is there any way to restrict certain category’s posts or certain posts from being displayed into site default feed after published? I’m asking this because I don’t want few specific categorie’s posts ...
0
votes
1answer
833 views

Show different menus for login / logout user [closed]

I am try to show different menus for login and logout user. Here is perfect solution to do this and also work on Twenty eleven theme. But when I try to add this code to my woo theme's defination (in ...
3
votes
3answers
416 views

Multisite Independent User Base

I run a multisite blog farms with all blogs having a consistent functionalities (theme and plugins and some basic content), but independent from each other in terms of user database. I would like to ...
0
votes
1answer
74 views

Wordpress blog fails to open

When I try to view/access my blog I get the following message.... Just wondering if anyone has any ideas as to the cause and the solution? Warning: ...
2
votes
2answers
294 views

What is the difference between “create_users” and “add_users” capabilities?

The codex lists both create_users and add_users under roles and capabilities. Does anyone know what is the difference between these two?
1
vote
1answer
375 views

Lost administrator privileges and can't find a fix

WordPress 3.5.1 Web Host: Windows Azure Cloud Database Host: Cleardb Web Server: IIS 7.5 I've built a custom child theme that runs on the Genesis Framework and it has multiple custom post types ...
1
vote
1answer
1k views

How do I hide one menu item link for logged in and logged out users [closed]

Using bbPress and s2Member, I need to hide the registration link in the menu for logged in users and the members directory link for non logged in users.
0
votes
2answers
137 views

Protect custom php file with login

I've developed a php app and I'd like that it's restricted to WP users (use WP like a private area). Is there a way to use WP is_user_logged_in function in a custom file (i.e. www.mysite.com/app.php)? ...
0
votes
1answer
99 views

Create a WordPress administrator without access to back-end

My site recently got hacked, and all my admin users lost their administrator level access. But when I access mySQL database, I saw all the users still exist. How can I create an administrator when I ...
0
votes
1answer
591 views

Upload PDF and other files from the Front-End

I am trying to create a medical website, where logged-in doctors can actually upload pdfs and other files (such as jpg) from the front-end in posts. Then, after reloading the page, the uploaded files ...
-2
votes
1answer
144 views

How to change user role setting in members plugin so that user can only edit his own post?

I want enable a user to only edit specific post. I am using the members plugin. I do not see a way to achieve this. Do I need to do some code for that post? Thank you!
1
vote
1answer
640 views

How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?

I'm developing a simple "member's only" section within a website, with the sole intention of allowing the client to post files for their members. I've come to realize quickly that the posts' ...
0
votes
1answer
55 views

Why: sticky front page code, shows latest non-sticky on logged-in front page

I have this code to display only the latest sticky post on the front page. the strange thing is that, when I'm logged-in it shows non-sticky latest post, even if it's private... <?php ...
2
votes
2answers
142 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
1answer
147 views

Auto log in hook is requiring a page refresh

I have a simple auto log in hook that looks like the following: function auto_login() { if (!is_user_logged_in()) { //Removed some code for brevity. $user = ...
4
votes
1answer
969 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
2answers
812 views

Restrict dashboard access for specific user roles to specific actions

I have a script that enables a logged in user (role Author) to delete their own posts using get_delete_post_link(). However, I also want to be able to restrict the author's access to the dashboard. ...
0
votes
1answer
471 views

Restrict Author role to only 3 wp-admin pages

I allow the author user role to add/edit posts (using a custom post type called "User Posts") as well as add/edit their own media from wp-admin. I currently have it set up so that the only menu items ...
1
vote
2answers
154 views

How to get the ID of the currently logged in user?

I want to get the ID of the currently logged in user. I've found the function: get_current_user_id which seems to be working, however I'm not sure what 'current' means in this context. Meaning if the ...