The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
2k 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 ...
1
vote
1answer
28 views

How can I allow users to make groupings of posts

I have a site with many research methods. I want to introduce the abilities for users to create groups of posts and save them for others to access, as a way to make the methods more meaningful for ...
8
votes
2answers
11k views

How do I create a custom role capability?

I wish to create a custom capability for accessing the interface of my plugin. Should the plugin manage adding this capability to all the administrator accounts on activation? If so: Does WordPress ...
0
votes
1answer
30 views

'post' only for editor and administrator

How can I make it so that only Administrator and Editor could access 'post' post-type? (just like 'page' post-type) I'm planning to only let Author and Contributor use the Custom-Post-Type which I've ...
0
votes
2answers
63 views

Sign in with social media accounts without creating a WP account [closed]

I'd like users to sing in with their social media accounts (facebook, twitter, linkedin, google+) without creating a WP account. This is for them to be able to leave comments on a website. Is this ...
1
vote
1answer
301 views

How to redirect specific post type with user role

I have created custom post type Books in my functions.php. Now I want to redirect every user (assigned with editor role). When they click to Dashboard it goes to this page: ...
1
vote
1answer
104 views

How to automatically apply a password to all posts within a custom post type

I am creating a custom post type, for which I want all posts to be password-protected with the same password. I realize that I can set a password on a post-by-post basis from within the admin panel, ...
0
votes
1answer
32 views

search does not yield access restricted results

If the user is logged out and tries to search something, he is redirected to the login page. How is it possible to have the search always show all of the results (including the excerpts and the ...
0
votes
1answer
35 views

Hiding media uploaded by other users in wordpress multisite?

I am using WordPress Multisite and want to hide media which others have uploaded. Like if X User of that site has uploaded any media in the site, Y User should not be able to see or access this from ...
1
vote
0answers
137 views

.htaccess browser caching and user login [closed]

I have a site that involves user logins for certain content. I am leveraging browser caching in the .htaccess file. When a user logs in, they are redirected to a profile page. The problem I'm having ...
0
votes
1answer
189 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 ...
0
votes
2answers
137 views

How can I stop access of unregistered user in wp-content/uploads directory without using .htaccess file?

I want to give permission to only registered users into my wp-content/uploads directory and stop access for those users which are not members on my site.
1
vote
1answer
376 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
74 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 ...
3
votes
4answers
7k 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
4k 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
422 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
132 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
78 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
47 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
386 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
2k 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
117 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
48 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
41 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
469 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
44 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
86 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
424 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
481 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
348 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
63 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
154 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
81 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
84 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
444 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
127 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
104 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
946 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
487 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
81 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
416 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
420 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 ...
0
votes
1answer
2k 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
146 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 ...