Luky
04-08-2007, 10:00 PM
NOTE: This is an addon for vBLightbox so it can be used on all pages! (https://vborg.vbsupport.ru/showthread.php?p=1223522)
Hey, its really easy! Just 1 template edit and your all set! This works on all pages relating to vB btw!
Find the template: adv_portal
Find:
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>After add:
<!-- vBLightbox by jdsinclair for vBA CMPS by Jay -->
<script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<link rel="stylesheet" href="clientscript/vbulletin_css/lightbox.css" type="text/css" media="screen" />
<!-- end of vBLightbox -->And your all done!
To add it to other pages, just put that bit of code in the header ;)
Don't forget to upload the /clientscript folder to the same location as your vBA CMPS page!
So if your vBA CMPS page is in /public_html and your vBulletin is in /public_html/vb you should have the /clientscript folder in /public_html/clientscript and /public_html/vb/clientscript
Hey, its really easy! Just 1 template edit and your all set! This works on all pages relating to vB btw!
Find the template: adv_portal
Find:
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>After add:
<!-- vBLightbox by jdsinclair for vBA CMPS by Jay -->
<script type="text/javascript" src="clientscript/prototype.js"></script>
<script type="text/javascript" src="clientscript/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="clientscript/lightbox.js"></script>
<link rel="stylesheet" href="clientscript/vbulletin_css/lightbox.css" type="text/css" media="screen" />
<!-- end of vBLightbox -->And your all done!
To add it to other pages, just put that bit of code in the header ;)
Don't forget to upload the /clientscript folder to the same location as your vBA CMPS page!
So if your vBA CMPS page is in /public_html and your vBulletin is in /public_html/vb you should have the /clientscript folder in /public_html/clientscript and /public_html/vb/clientscript