I get this message:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPAC_Nav_Menu_Widget has a deprecated constructor in /home/xyz/public_html/xyz/wp-content/plugins/wordpress-access-control/default-widgets.php on line 25
I love this plugin by it’s features.
Hoping to continue using it.
Wordpress 5.3.2
WordPress Access Control, plugin Version 4.0.13
Hi,
I will more than happy to adopt your plugin.
Hope to hear from you soon.
]]>This plugin is very interesting and I use it with WordPress 4.9.8 bit it has not been tested since 4.0.24: is it always available ? if it is to be left, what plug-in can replace it ? This plugin assigns roles to pages and posts so that only users with these roles can access these posts and plug-ins. The users must be created with these roles (other plugin to be used)
]]>has this plugin been abandoned any other ones that do the same thing I rely heavily on this on one of my sites
]]>Hi, I’m submitting this separately from PHP 7 information, FWIW.
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WPAC_Nav_Menu_Widget has a deprecated constructor in [path redacted]/wp-content/plugins/wordpress-access-control/default-widgets.php on line 25
PHP Notice: The called constructor method for WP_Widget in WPAC_Nav_Menu_Widget is deprecated since version 4.3.0! Use
__construct()
instead. in [path redacted]/wp-includes/functions.php on line 3902
]]>Hi, we’re preparing to update to PHP 7, and I’m running preliminary checks of our code using the PHP Compatibility Checker plugin. We’re no longer using this plugin, and I assume it’s been abandoned, but I’m sharing the info for PHP 7.2 compatibility FWIW:
FILE: [path redacted]/wp-content/plugins/wordpress-access-control/default-widgets.php
———————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————–
27 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————–
I have installed this plugin, and followed the steps to create 2 main menus.
1 for public users & 1 for members who are logged in.
Once logged in the menu for the members only, doesn’t display, even after refreshing the page a few times. Please provide me with some support on how to get this fixed.
The user role is set to ‘subscriber’
]]>When I restrict access to a post/article, we still can view its title and the following text in the blog/articles page:
“To view the contents of this post, you must be authenticated and have the required access level.”
I’d just want the post to not show up at all on the page when the user is not connected.
Thanks!
]]>As of now it assigns ‘Members Only’ status to all the posts without assigning a member role.
I would like the Bulk Action “Set Post Type Accessibility” to Make Members Only plus the string of roles to check:
[_] Administrator
[_] Editor
[_] Author
[_] Contributor
[_] Subscriber
I’m having a real problem with plugin recently, with redirect_to not being populated correctly when an anonymous visitor tries to access a member only page. In the settings page it says:
“After a user logs in they will be redirected back to the page they attempted to view” – this is not working properly. The url they are getting is the wp-login with a re-direct to the page I configured for members whose roles does not give them access. For instance:
https://www.cigarsense.com/wp-login.php?redirect_to=/Upgrade?redirect_to=/page-I-tried-to-access.
The problem is, the code is attaching the re-direct to /Upgrade (the page for people who don’t have access based on their role) in front of the re-direct to the page itself, when an anonymous visitor tries. But if the user logs in, and their role permit it, they should go to the page they were trying to visit, not the Re-direct page.
Any advice how to correct this? It seems to be a new problem as thee redirect have worked fine in the past :-/
Thanks…DW
]]>how to restrict post category as per user role in front end?
]]>Hi,
your plugin is great and helps me a lot.
But Is it possible to hide all posts for the current user, for which he has no permit?
The post title and the statement “To view the contents of this page, you must be authenticated and have the required access level.” should not be displayed.
]]>What I want to do is have members who aren’t logged in be redirected to a login screen where they have to use a login password I’ve given them (I don’t want just anybody to be able to create an account, this is a paid site)
I’m loving the plugin, it’s so easy to use, but it redirects to my admin login page. I see the setting to change where the default redirect goes… but how to I redirect them to a portal where they enter their own login instead of my admin credentials? I don’t want them to be able to edit my blog!
I realize I might need another plugin to do this? I don’t know, I’m TERRIBLE at computer stuff but I’d really appreciate any help.
Thank you!
]]>It seems this plugin is noticeably slowing down our server. We have close to 20,000 posts right now. Our hosting company is complaining that the following query is eating all of the cpu resources…
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
LEFT JOIN wp_postmeta PMWPAC3
ON PMWPAC3.post_id = wp_posts.ID
AND PMWPAC3.meta_key = ‘_wpac_show_in_search’
LEFT JOIN wp_postmeta PMWPAC
ON PMWPAC.post_id = wp_posts.ID
AND PMWPAC.meta_key = ‘_wpac_is_members_only’
LEFT JOIN wp_postmeta PMWPAC2
ON PMWPAC2.post_id = wp_posts.ID
AND PMWPAC2.meta_key = ‘_wpac_is_nonmembers_only’
WHERE 1=1
AND (((wp_posts.post_title LIKE ‘%toronto%’)
OR (wp_posts.post_excerpt LIKE ‘%toronto%’)
OR (wp_posts.post_content LIKE ‘%toronto%’)))
AND wp_posts.post_type IN (‘post’, ‘page’, ‘attachment’, ‘wpdmpro’, ‘custposttyp1’, ‘custposttyp2’, ‘tribe_events’)
AND (wp_posts.post_status = ‘publish’
OR wp_posts.post_author = 785
AND wp_posts.post_status = ‘private’)
AND (PMWPAC2.meta_value IS NULL
OR PMWPAC2.meta_value != ‘true’)
ORDER BY wp_posts.post_title LIKE ‘%toronto%’ DESC, wp_posts.post_date DESC
Hi please advise,
we encounter a sudden error below…. the error is showing on different part of sites.
Warning: array_intersect(): Argument #2 is not an array in /wp-content/plugins/wordpress-ac
cess-control/wordpress-access-control.php on line 271
thank you.
]]>This is such a great plugin. Right now i need a help regarding get the page list for specific login user role.
Suppose author’s role user login, then we want to show only his/her page list. How can i do this, please help.
Thanks in advance.
]]>Hi everyone,
If you are getting the following error messages:
While we wait for a new version of the plugin, the solutions is very easy! You only need to make 2 changes to the code of the plugin.
Note: Make sure you have a backup of your files and DB before making any changes.
I hope this helps someone out there.
– Jorge Raigoza
]]>If there any way to restrict user see, manage, edit entry in admin panel also?
]]>Hello. I am using the User Submitted Posts plugin and want to make all posts submitted “members only” accessible. How is WP Access Control setting a post as “members only” in the database so I can update the other plugin?
Thanks in advance for the help.
]]>Trying to set custom post type to be accessible only to members via the Bulk Action. I get a database error (memory issue?).
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 85 bytes) in /home/xxxxxxx/public_html/website/wp-includes/taxonomy.php on line 3619
The plugin works fine when I click each custom post individually. But these custom posts are generated by another plugin and there are 700 plus so I need this to work.
Please advise.
]]>Hi,
I am useing WordPress Access Control plugin with Colormag Pro theme. I am trying to restrict the post to a particular user through WordPress Access Control GUI available after installing the plugin on the right hand side but it doesn’t seem to have any effect. Can you please let me know if it works with the particular theme.
Can this plugin be used restrict a page URL to membership id levels?
We’re using the Simple Membership plugin and Community Events add-on for The Events Calendar. Bc the submission form for events is not on a page but a preloaded page we cannot restrict it with them. The form can be set to anonymous or to members but the members are only WP members.
Would we be able to somehow enter the forms URL on the site and restrict it that way to our members that a made using the simple membership plugin?
]]>Hi,
I need to restrict posts from one category with your plugin. Is that possible?
Thanks.
]]>The plugin breaks on wordpress 4.4. The menu comes up with errors.
A great plugin though!
Hi,
I currently use this plug in to restict creation of a “Dogs” custom post type to people who have the “dog_owner” role.
I have added a second custom post type named “Cats”. I want to restrict this only to people who have the “cat_owner” role.
It appears that this plug in allows me to select a group of custom posts to restrict access to, then a group of roles. If you are in any one or more of the roles, you can create any one or more of the CPTs.
Is there any way to ‘Map’ one role to one custom post type?
]]>I really need help here! Is there any way I can reset the plugin, so that after I disable/delete the plugin and then re-install, it won’t remember the access-control settings I made to the posts earlier?
In short, I need to remove “access for members only” on all blog posts (>250) and still use the plugin controlling commenting and other things. How do I do that? Is the only way to stop using the plugin entirely OR change the access-control-settings on all 250 posts manually – one at a time?? Have I missed something?
Best regards
Ture
]]>Hi, Had to disable this plugin.
Warning: get_class() expects parameter 1 to be object, string given in /data01/virt14668/domeenid/www.rotary.ee/htdocs/wp-content/plugins/wordpress-access-control/wordpress-access-control.php on line 614
]]>Hi!
Thanks for making this awesome plugin! However, I am facing a major problem right now…
I’ve made “all posts only accessible to members” once, but how can I roll that back so that “puplic” have access to all posts?? I have more than 200 posts and the only way (as far I can see) is to manually remove all priveligies for users for each post. One at a time! I could remove the plugin entirely, but I still need access control to pages and specific content.
Tried to uninstall the plugin and re-install, but the plugin seems to remember which posts are “memebers only” so when the plugin installs all 200 posts are automatically set to members only. All posts should set to “accessible for non-members”…
Any help would be appreciated!
Ture
]]>Hallo!
Is it possible, to hide option “Only accessible by non-members?” and rename option “Only accessible by members?” and also rename it and enable by default?
Love(d) this plugin – may love it again hopefully.
What does “Bulk Action – Set Post Type Accessibility” do to the database? And is there a way to undo it?
This has killed the home page of my site (which shows a mosaic of featured images for latest posts), even signed in as an Admin.
Page says: Nothing Found.
Home page is just set to the Latest Posts default.
Deactivating / uninstalling /reinstalling the plugin doesn’t help.
Any advice would be appreciated.
Thanks.
]]>