Skip to content
WJunction - Webmaster Forum

[VB 3.8.x]WGTools iframe lightbox popup

Status
Not open for further replies.
Since I am pretty good with vbulletin I decided to "Port" this mod over to VB3

The original Mod is here
Props to Shadow.prx for the original idea

You will need to have the WGTools mod installed

Download ONE of these links

Code:
http://hotfile.com/dl/29018521/af40cc9/forum_root.zip.html

MIRROR!!!

Code:
http://www.megaupload.com/?d=EZ8ZDKRG
Unzip the forum root.zip

Upload the contents of of the forum root.zip file to your forum root

First goto: ACP -> Style Manager -> Your Template -> BB Code Layout -> bbcode_code

Find:
Code:
&nbsp;[<a href="[URL]http://wgtools.com/link-checker/?url=$_SERVER[/URL][SERVER_NAME]$_SERVER[REQUEST_URI]">Check Download Links</a>]
Replace with:
Code:
&nbsp;[<a href="[URL]http://wgtools.com/link-checker/?url=$_SERVER[/URL][SERVER_NAME]$_SERVER[REQUEST_URI]" rel="lyteframe">Check Download Links</a>]
Now at the top of the bbcode_code template add this:
Code:
<link rel="stylesheet" href="clientscript/lytebox/lytebox.css" type="text/css" media="screen" />
Now goto the headerinclude Template and find this:
Code:
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
Add under:
Code:
<script type="text/javascript" language="javascript" src="clientscript/lytebox/lytebox.js"></script>
If you have any problems let me know :D

For a demo of this working goto
http://wareznetwork.org/vb3/showthread.php?p=1#post1
 

10 comments

Good tutorial :)

I was using highslide for this but shifted to lightbox as it is much faster

---

what do you think of the way I put it (like a button) ??

 
Good tutorial :)

I was using highslide for this but shifted to lightbox as it is much faster

---

what do you think of the way I put it (like a button) ??


Agreed lightbox is much better than highslide by a long shot
Nice work on the button thats actually a really good idea (y)
 
^^ what do you get? did you upload the files to the correct spot? Make sure you add this line to the top of bbcode_code

Code:
<link rel="stylesheet" href="clientscript/lytebox/lytebox.css" type="text/css" media="screen" />
 
Status
Not open for further replies.

About the author

P
Active Member · Joined
525
Messages
2
Reactions
18
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom