View Full Version : question | scheduled open\close forum
politin
11-08-2008, 12:50 PM
hello everyone,
im looking for mod that will let me open\close one forum in a schedule pre-set time.
for example, i have 10 forums, and i want only on of them will be open everyday since 22:00 until 08:00.
is there something like that?
thanks.
Lynne
11-08-2008, 02:03 PM
I have never seen a modification posted that does that. It's just two pages - one with a query to close the forums and another with the query to open the forums. Then set one to run at 22:00 and the other to run at 08:00.
politin
11-08-2008, 03:05 PM
can you explain how do i do it please?
Lynne
11-08-2008, 03:16 PM
When I write Scheduled Task, I start by copying one of the ones that exist and removing all the stuff in between. See this post for a good starting point - https://vborg.vbsupport.ru/showpost.php?p=1612830&postcount=5 Then you just need to fill in the query you will be performing. (I do not know the query off the top of my head. Take a look at the script in the forum manager that does it.)
mikewastaken
11-08-2008, 07:50 PM
You could use a cron job to change the database table table 'forumpermissions'.
cron job to open it
cron job to close it
The lazy man's way would be to alter 'forum' and add a password, and than remove it
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.