Back to vBulletin 4.x Add-ons

NJAquaman - Header/Footer Include Scripts
Mod Version: 1.0, by NJAquaman

vB Version: 4.0.x Rating: (2 votes - 5.00 average) Installs: 18
Released: 17 Jan 2010 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code Translations  

What: A Plugin to Store all your JavaScript codes in one Spot so you don,t have a mess in the Header-include or Footer template! This is great for updating you vB board because it wont overweight any templates!

WORKS WITH ..!!!
4.0.x

Browser Comparability (All Latest Versions);
Internet Explorer
Firefox
Opera
Safari
Google Chrome

Install:

1) Navigate to ACP> Plugins & Products > Add New Plugin
2) Product : Vbulletin
Hook Location : parse_templates
Title : Scripts Include
Execution Order : 5

3) Insert the Code;

For Code that Needs to be in the Header Use This Code:
Code:
$template_hook['headinclude_javascript'] .= '
"Code Goes Here"
';
For Code that Needs to be in the Footer Use This Code:
Code:
$template_hook['footer_javascript'] .= '
"Code Goes Here"
';

4) Save , Now your Code Will Work and Its all in the Same Place!

Notes:
- YOU MAY duplicate this code in the same plugin
- You can use both Header and Footer codes at the same time!
- In You Script replace ' with "


Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024