PDA

View Full Version : Add-On Releases - NJAquaman - Header/Footer Include Scripts


NJAquaman
01-16-2010, 10:00 PM
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:
$template_hook['headinclude_javascript'] .= '
"Code Goes Here"
';

For Code that Needs to be in the Footer Use This 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 "




DONT FORGET TO CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=233347)

Skyrider
01-17-2010, 03:07 PM
Thanks, will try it out!

NJAquaman
01-20-2010, 10:49 AM
Thanks, will try it out!

Great Let me Know How it works For you!