AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Limit access to forum with error message

5 Posts
2 Users
1 Reactions
5,536 Views
Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chithukumar)
Active Member
Joined: 6 years ago
[#11196]

Hi+

I am a newbie to WP and WPForo plugin. I am building a discussion forum based website. I have a require,emt for which I need help. Appreciate your reply on this....

My requirement

When a user who has not registered or logged in browses the website and click on a particular forum, an error message has to be displayed stating that he/she needs to login/register to view that forum. This is only for a particular forum.Rest of the forums can be accessible without even loggin in or registering.

 

I am stuck with this. If I change the permission for user group in forum the forum name itself is not visible to the guest user. But I need the guest to see the name and then get the error message. Pls help....

 

Thanks in advance

 

 


4 Replies
Sofy
Posts: 5777
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @chithukumar,

Please follow the steps below:

If you have for example two forums (cat, forum or subforum), say Forum 1 and Forum 2 that should not be accesses by Guests: 

1. Edit Forum 1 and set permissions:

  • Admin - Full Access
  • Moderator - Moderator
  • Customer - Standard Access
  • Registered Standard Access
  • Guests - No access

2. Edit Forum 2 and set permissions:

  • Admin - Full Access
  • Moderator - Moderator
  • Customer - Standard Access
  • Registered Standard Access
  • Guests - No access

3. The other forum's permissions should be set as it's necessary. For example Forum 3 has the following forum permissions section:

  • Admin - Full Access
  • Moderator - Moderator
  • Customer - Standard Access
  • Registered Standard Access
  • Guests - Read only

You should also understand the Forum Accesses. Forum Accesses are set of forum permissions. For example, you just selected "No access" access for Guests  usergroup. You can find all permissions of No access access in Dashboard > Settings > Forum Access > No access (edit) screen. Just need to make sure ALL CANs are unchecked.


3 Replies
(@chithukumar)
Joined: 6 years ago

Active Member
Posts: 8
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@sofy

Thanks for the reply....My understanding is  WHen I set as you have suggested Forum 1 and Forum 2 will not be visible to users who have not logged in. In my case I want the link to be shown but when they click on it I have to display error message saaying that this forum is accessible for only logged in users and ask them to sign up or login. Is this possible with the above solution?

 

thanks again....


Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5777
Sofy
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

ok @chithukumar, then the "Can view forum" should be enabled in the "No access" Forum Access. In this case, when you select the forum, you'll be able to see the topic list, and once you click on the topic title it'll redirect the guests to the login page.


(@chithukumar)
Joined: 6 years ago

Active Member
Posts: 8
Sofy
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@sofy

Thanks a ton ....It works as expected....Thank you again.....


Share: