How to restrict a forum for certain users?
One of my forum link is as below:
I have been trying to restrict this forum by user role using various plugins. My site is a private membership+forum type of site. My membership plugin can't find this and any other forum links. So i can't restrict the forum by my membership plugin.
I used the following plugin too. It is a very popular plugin to restrict content by many attributes.
This plugin also can't find any forum in content list. In a nutshell, the forum links are not being identified as content links or page links by these plugins.
But I need to restrict this forum for Non-Paid members by using the user role. Only paid members having a certain role will be able to access this forum and it's contents. Whenever, a Non-Paid member will try to access this forum and it's contents then the user will be redirected to a custom page mentioning that he/she doesn't have the right permission to view this forum.
How can I achieve this?
Can anyone guide me in the right direction?
wpForo has WooCommerce Memberships Integration add-on, which powers your forum with access control to wpForo categories, forums, sub forums and topics. Membership lets you create a members-only forum, so you can offer a certain forum or topic exclusively to members. Membership lets you schedule when your members should have access to forums and topics. You can drip content, which means that you can schedule when members should have access to your content. For example, you can require that customers be a member for a week before they can access a certain forum or topic. You can display restricted forum and topic titles to nonmembers, so they will be able to see what kind of content they’ll get after purchasing a membership plan, They’ll be asked to get that membership plan once they click and enter such a forum or topic.
wpForo – WooCommerce Memberships Integration Add-on: https://gvectors.com/product/wpforo-woocommerce-memberships/
WooCommerce Memberships Plugin: https://woocommerce.com/products/woocommerce-memberships/
Also check this FAQ Topic about wpForo Usergroups, Forum Accesses and WordPress User Roles:
Let us know if this was helpful.
Thanks for your reply.
I have already setup my site with a premium membership plugin but unfortunately it is not compatible with wpForo. For that reason i am not getting any forum links to restrict by this plugin.
At this stage of development, i don't want to change the membership plugin because it will need a great amount of time and energy.
All I want is redirect a not member (Subscriber) to a custom URL when he/she tries to view a restricted forum having URL:
How can I restrict this URL and redirect the unauthorized visitor to a custom URL?
How can this be done?
Can you please suggest me?