The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Is there any mod out there where you can set your board to close and open at set times automatically.
If there isnt a mod does anyone have any suggestions? I have searched the forum here and the net generally, I found one thread but it didnt hold much information on the 'how to' part. https://vborg.vbsupport.ru/showthread.php?t=118570 Can anyone help please.:erm: Tinks |
#2
|
||||
|
||||
![]()
I think a reasonable length of time has passed since i posted for me to bump this topic.
Its still relevent and I still need some help please. Thank you Tinks |
#3
|
|||
|
|||
![]()
You'd basically have to make either make one PHP file and have it run say, at the top of the hour and check the time to decide if it should open or not. Or you could two two and make one open and one close. An example file would work like this...
One file for closing... PHP Code:
PHP Code:
You could probably setup some hooks to check if the time fell two times when the page loads too and just refuse the user. |
#4
|
||||
|
||||
![]()
Thank you Cryo I will have a play around with it and see what happens.
Tinks ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|