Private Site

Private Site 1.2.0

Keine Berechtigung zum Herunterladen
XF-Kompatibilität
  1. 2.2.x
  2. 2.3.x
Kurzbeschreibung
For a private site where no forum content is visible to guests, the easy way to hide everything
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:
1.webp



Hides "What's new" header link on mobile:
2.webp



Displays a customisable message to guests below the site title:
3.webp



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:

4.webp


6.webp



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

5.webp


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


Follow instruction in the tutorial.

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:
Autor
newimage
Ansichten
633
Erweiterungstyp
zip
Dateigröße
12 KB
Erste Veröffentlichung
Letzte Aktualisierung
Bewertungen 0.00 Sterne 0 Bewertungen
Link was Broken? Please Nachricht senden an das NP-Team – wir helfen dir schnell!
Unterstütze den Entwickler Wenn du mit dem Test zufrieden bist oder mit deinem Projekt erfolgreich Geld verdient hast, klicke auf den Button Mehr Informationen, um den Entwickler durch einen Kauf zu unterstützen.

Neueste Aktualisierungen

  1. 1.2.0 - changelog
    This release adds compatibility with XenForo v2.3

Weitere Ressourcen von newimage

Bewertungsverbesserungen von Xon N
Eine Sammlung von Verbesserungen für das XenForo-Benachrichtigungs-System.
Russische Sprache für eine verstärkte Suche in XenForo N
  • Hervorgehoben
Übersetzung von XenForo Erweiterte Suche 2.1.4 abgeschlossen.

Ähnliche Ressourcen

[AndyB] Remove website A
Removes the Website text box from Account details.
Ansichten
238
Aktualisiert
[BS] Private user banner A
Unlimited number of banners per user
Ansichten
508
Aktualisiert
[cXF] Remove Location, Website and About you field A
This add-on removes location and website fields from member profile and account details page.
Ansichten
531
Aktualisiert
Oben