The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
||||
|
||||
![]()
Sure, you would need to create a plugin, ACP --> Plugins & Products --> Add New Plugin
Product: vBulletin Hook Location: parse_templates Execution Order: 5 Plugin PHP Code: Add the following; Code:
if (date('F j') == 'April 1' AND THIS_SCRIPT == 'forumdisplay' AND in_array($foruminfo['forumid'], array(X,X,X))) { $invert = '<style type="text/css"> body { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); } </style> <script> window.onload=toBottom; function toBottom() { window.scrollTo(0, document.body.scrollHeight); } </script> '; $template_hook[headinclude_bottom_css] .= $invert; } Also note, I wrote this to only happen on April 1, so if you want to test it, change the date. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|