The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
OK, well I'm doing this in my templates. I put that stuff in a plugin... but I don't really understand how plugins work.
Because then I went to my template and put <vb:if condition="$hourofday==6">stuff to do here</vb:if> and messed with the times I also did <vb:if condition="$hourofday">test</vb:if> to see if it even existed... but $hourofday didn't have any value apparently... ? this was my plugin: Code:
$timestamp = TIMENOW - $vbulletin->options['hourdiff']; $hourofday = date("G", $timestamp ); |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|