Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Block unapproved user

I want to block unapproved users to view the discussion..
Where i have add the code ?

When they come to discussion page simply redirect to dashboard and message with "Admin approval is pending"
How can i archive this ?


  • Options
    hgtonighthgtonight ∞ · New Moderator

    Welcome to the community!

    What version of Vanilla are you running?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    Make it so guests and applicants can't view discussions and comments in your dashboard..

    You don't want to redirect them to dashboard you want to have them signin.

    just check for role and redirect.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.