The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show something in between dates
Hi!
I would like to display something in the navigation bar but only for certain dates. I can do that in php but I dont know how to make it using vbulletin. something like this if(actual date is between 12/8 and 6/1) echo "hello"; can be tomething like that can be done by editing templates? tnx! |
#2
|
|||
|
|||
You'd have to use a hook to do the PHP processing, than you could use a show variable within the template. Something like:
PHP Code:
<if condition="$show[valid_date_message]"> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|