Addons are custom features that you can add to your Vanilla forum. Addons are created by our community of developers and people like you!
These addons are for people who downloaded and set up their own Vanilla forum. Compare your downloaded version with the version requirements on the right.
If your Vanilla forum is hosted at VanillaForums.com, this addon may already be installed there.
UnsureThe community has said nothing.
This plugin simply forces all guests to go to sign in page if they try to access a forbidden part of the forum.
You can add or remove the page/controller you wish to add to be visible or remove them for no visibility and send people straight to the sign in page.
discussioncontroller=a specific discussion they can access by clicking the link on the discussions index
discussionscontroller=the discussions index
categoriescontroller=the categories index
categorycontroller=a specific category they can access by clicking the link on the categories index
plugincontroller=the controller for any plugins which have their own page such as ExtraPage, PrivacyNotice , Games, CustomPages etc.
activitycontroller=the activity page
$ShowOnController = array('discussioncontroller','discussionscontroller','categoriescontroller','plugincontroller','entrycontroller');
If your forum is not in a subdirectory called forum please change this part so it works with your set up .
if it is in the root:
if it has another name:
Thanks to peregrine for his help correcting my errors and making this plugin work. And to hgtonight for giving me the controller array idea.
Version 1.1 added plugincontroller to the array of permitted pages to view. If you don't want it just remove it from the array.
Version 1.2 fixed a missing ')' **
**Version 1.3 added entrycontroller so the registration page could be viewed.
Tested on 2.2