The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
You do realize what you ask for is complicated if you want it so that the forum (forumdisplay) as well as any threads and posts inside that forum will give this error, right?
Or, do you only need this for the forum view itself (not impact threads or posts inside the forum)? If you only care about the forum itself... Just open the forumdisplay.php file and hardcode: FIND: PHP Code:
PHP Code:
It would not be too hard to add to the forum table rows for "OPEN" and "CLOSE" and then modify the Forum Options to allow for an OPEN and CLOSE time for each forum. Then use conditionals so that if ($foruminfo['open'] AND $foruminfo['close']) exist, then we know if ($foruminfo['open'] < NOW < $foruminfo['close']) that the forum is open (ASSUMING OPEN < CLOSE) if not then we would use ($foruminfo['close'] < NOW < $foruminfo['open']) to see the forum is open. I have all the projects I can handle and I don't need this myself but it would be interesting especually if it could work with the pluggin system so no file edits! Now, I tried to figure out how to do this with a pluggin but I couldn't get it to work... Perhaps if nobody else codes this I may try... |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|