The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
question | scheduled open\close forum
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. |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
can you explain how do i do it please?
|
#4
|
||||
|
||||
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....30&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.)
|
#5
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|