Guest Topic View Limit
Description:-----------------
This Mod will allow you to set a cookie to limit the amount of topics which guests are allowed to view before they are encouraged to register, either by blocking them from viewing any more topics or by displaying a message at the top of the message view.
Search engine bots shouldn't be affected by cookies, but to be safe any search bots in your bot list won't be affected by this Mod.
Credits:----------
Thanks to Carsten for letting me use some of his code to check the search engine bot list.
Thanks to pyragony for the German and German_Du tranlations.
Screenshots:------------------
Admin Center - Forum Settings - Members tab:
Message View - Blocked:
Message View - Message (not blocked):
Demo:----------
http://ibrainstorm.net/modemos/forum/YaBB.plView more than five topics as a guest and you will see the message at the top of the message view.
Zip Package:-----------------
guest_topic_view_limit_011.mod
guest_topic_view_limit_011_german.mod (Language patch)
guest_topic_view_limit_011_german_du.mod (Language patch)
Installation:----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Go into Admin Center => Forum Settings => Members tab to configure the settings.
Files to edit:-----------------
Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Main.pl
Languages/English/Admin.lng
Languages/English/Display.lng
Sources/Display.pl
Templates/default/Display.template
Templates/yabb21/Display.template
Mod History:----------------
0.1 - First Release - 23rd April 2012
0.1.1 - Fixed spelling error and added German language patches - 8th May 2012