![]() |
Limit guests to viewing 5 threads max.
This hack allows a guest to view 5 threads within the forums. After the 5th
thread, the hack will bring up the error_nopermission_loggedout template to force them to register with the board. This hack was requested by frozt and jjj0923. Templates affected: 0 Files affected: showthread.php and admin/sessions.php Tables affected: session How to install this hack: You need to alter the session table using the following command: alter table session add visitcount smallint(5) unsigned DEFAULT 0; The rest of the instructions are in the attached file. Your comments will be greatly appreciated. |
Thnxz man! its works great i think :-)
|
You're welcome. :)
|
does it re-direct them too register page... im gonna try installing now
|
They get sent to the screen that tells them they need to log in or register. :)
|
thank you - this is great.
- jeff |
Can't he/she just clear the session and continue browsing!!
|
Quote:
|
Remi is right, it's only for the current session. :)
|
Unless your cookie times out, or you kill your browser, you won't be able to read another thread.
|
All times are GMT. The time now is 01:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|