Welcome to My iptv forum

  • Everyone is invited! My iptv forum is for everyone, new and advanced user alike!
  • Searching is key! Before you post a question, use the forum search feature to determine whether your topic has already been covered.
  • Do not start flame wars! If someone has engaged in behavior that is detrimental to the discussion -- spamming, harassment, etc -- report the post and we'll take a look.
  • Resource icon
    xF2 Add-on
    < Previous | Next >
    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
    • hides the "What's new" link from the header on mobile devices for guests
    Hides "new posts" button:
    1591325256183.png
    1591325326508.png
    1591325415166.png


    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:
    Please, Log in or Register to view URLs content!


    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
    Please, Log in or Register to view URLs content!
    (see step 4) - use Quick set to set all permissions to "Never" for Unregistered / Uncofirmed users:

    1591325603028.png


    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
    Please, Log in or Register to view URLs content!
    .

    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:

    1591325619316.png

    1591325895278.png
    • Like
    Reactions: Itvch

    Similar resources

    0.00 star(s) 0 ratings
    Views
    537
    Downloads
    1
    Updated
    0.00 star(s) 0 ratings
    Views
    317
    Downloads
    1
    Updated
    0.00 star(s) 0 ratings
    Views
    763
    Downloads
    0
    Updated
    0.00 star(s) 0 ratings
    Views
    365
    Downloads
    0
    Updated
    18,335Threads
    64,169Messages
    62,987Members
    Pepe88Latest member
    Top