The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
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> '; eval($invert); } Code:
$invert Also note, I wrote this to only happen on April 1, so if you want to test it, change the date. |
Благодарность от: | ||
blind-eddie |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|