1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Advice needed on making my community "private"

Discussion in 'XenForo Questions and Support' started by discoian, Jun 4, 2011.

  1. discoian

    discoian Active Member

    I am looking to launch a completely private community in the next few weeks. I've pretty much got it all set up how I want it after almost 4 months of configuration, tweaks and so on.

    I've basically turned off any sort of guest access but the problem is that if a guest tries to access my community it shows an "error" page "you need to be logged in to do that".

    Is there any way I can make this error a little bit more friendly i.e. instead of error just show a different message and the login boxes?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You can edit the phrase: login_required

    Phrases support HTML so you can insert links to the login page, etc.
  3. ragtek

    ragtek Guest

    Do you mean the message "You do not have permission to view this page or perform this action."

    I'm not sure if this would work, but you could try to overwrite XenForo_ControllerPublic_Abstract::responseNoPermission with the event system
    public function responseNoPermission()
  4. ragtek

    ragtek Guest

    Does this work for you?:)
  5. discoian

    discoian Active Member

    Sorry, I don't understand what you were asking me to do... :notworthy:

Share This Page