The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Thanks for the help.
It turns out I was a little mistaken about how to write the plugin. It currently looks something like this: Code:
// Get current time and deadline. $now = time(); $then = explode(',',$vbulletin->options['fantasygame_closingtime']); $deadline = mktime($then[3], $then[4], 0, $then[0], $then[1], $then[2]); // If the deadline has passed, update the setting. if ($now >= $deadline) { $db->query_write("UPDATE setting SET value = 0 WHERE varname = 'fantasygame_picksactive'"); } I'm guessing there's something else I have to do... any ideas what it is? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|