Theme editor

  • New XenForo Released Full Nulled 2.3.10 is available for download now. -> HERE
    New XenForo Released Upgrade Nulled 2.3.10 is available for download now. -> HERE
    XenForo Enhanced Search (XFES) 2.3.10 is available for download now. -> HERE
    XenForo Resource Manager (XFRM) 2.3.10 is available for download now. -> HERE
    XenForo Media Gallery (XFMG) 2.3.10 is available for download now. -> HERE

Private Site

| XF 2.3 Add-ons (Premium) Private Site 1.2.0

No permission to download
💾 Resources submitted by: Staraddons • 💬 Posts: 1579 • 🏆 Points: 119 • 👍 Likes: 455 • ⬆️ Resources: 986
Language
English
Compatible XF 2.x versions
  1. 2.1
  2. 2.2
  3. 2.3
For a private site where no forum content is visible to guests, the easy way to hide everything is to simply deny "View" permission to Unregistered / Unconfirmed users.

However, the end result is a little messy as guest visitors get presented by an unhelpful error message "You must be logged-in to do that" and a login form, and the page returns a 403 (Forbidden) error.

This simple addon provides an alternative approach with a cleaner and more elegant outcome.

The following UI changes are made by installing this addon:
  • a customisable message is displayed to guests below the site title
  • hides the "New posts" button for guests and anyone without a valid user_state
  • hides the "What's new" link from the header on mobile devices for guests and anyone without a valid user_state
Hides "new posts" button:
Private Site


Hides "What's new" header link on mobile:
Private Site


Displays a customisable message to guests below the site title:
Private Site


There are a few other customisations that should be made to clean up a private site to make this addon work as expected - a tutorial has been provided describing the steps required to obtain the optimal outcome for guests viewing a private site: https://xenforo.com/community/resources/how-to-make-a-xenforo-forum-private-no-guest-access.7844/

Configuration steps:

1. change user permissions

To use this addon, you must change your user permissions to allow Unregistered / Unconfirmed users access to view the site (but not the content).

As per the tutorial (see step 4) - use Quick set to set all permissions to "Never" for Unregistered / Uncofirmed users:
Private Site


Then set the "View" permission to "Yes" so they can see the site (but no content).
Private Site


Now guests can see the forum home, but no content.

2. install this addon

3. customise (or remove) guest message in options

4. tidy up navigation and widget display for guests


End result:

The end result of installing this addon and following the tutorial steps is a nice clean interface for guests visiting a private site:
Private Site
[XenConcept] Premium Page
| XF 2.3 Add-ons (Premium) [XenConcept] Premium Page 2.3.0 Patch Level 1
Keyword Linking by Siropu
| XF 2.3 Add-ons (Premium) Keyword Linking by Siropu 1.8.1
1.2.0
Version
0
Downloads
10
Views
First release
Last update
12.9 KB
File size
zip
Extension type
0.00 star(s) 0 ratings
Ratings
Uploader
Staraddons
Uploaded
986 Resources.

More resources from Staraddons

Similar content Most view View more
Back
Top