![]() |
online time hack
would it be possible to make a hack so that users can only visit your forums during a certain time by placing them into certain groups based on their time rights?
|
edit global.php, go at the end before ?> add:
PHP Code:
It works like this: If user's usergroup is X and server time is between 9-pm - 9 AM, his usergroup is changed to Y. If user's usergroup is Y and server time is between 9 AM - 9 PM, his usergroup is changed to X. Not tested but should work.. |
thanks a lot! :banana:
ill be testing it out soon is there a way to include a message to them saying that they are not allowed on the board at this time? |
Quote:
|
All times are GMT. The time now is 06:18 PM. |
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:
|