External Links open In Rokbox

Post your own Mods, Snippets, Tutorials here. Share what you got
There is no support here! Only Read Access!
Forum rules
User contributions are the users own "Stuff"
They are not supported by the BBCode Staff and is used at own risk
Locked
User avatar
arrow816
BBCoder II
BBCoder II
Posts: 25
Joined: 05 Mar 2010, 17:26

External Links open In Rokbox

Post by arrow816 »

Mod Title: External Links open In Rokbox

Mod Description: Opens all external links in a lytebox effect called Rokbox.

Mod Author: arrow816/costellos
Other Requirements: Prime Halo's: Prime Links

Mod Version: 1.0.0

Demo: http://externallinksinrokbox.costello-coding.com/

Download: http://www.phpbb.com/customise/db/mod/e ... in_rokbox/


Thanks,
Steve C

Change Styling
Rokbox out of the box has 3 preset styles, and also the ability to customize it. I will show you how to change to one of the other styles

After installing this mod. Go to your overall_header.html file, open it and:
Find:

Code: Select all

<link href="rokbox/themes/light/rokbox-style.css" rel="stylesheet" type="text/css" />
In line find:

Code: Select all

dark/rokbox-style.css
Replace with:

Code: Select all

light/rokbox-style.css
Find:

Code: Select all

<script type="text/javascript" src="rokbox/themes/dark/rokbox-config.js"></script>
In line find:

Code: Select all

dark/rokbox-config.js
Replace with:

Code: Select all

light/rokbox-config.js
Save Upload, Refresh Template, Purge Cache, and you should be good to go. Will be updating this mod to incorporate these as addons

Thanks,
Steve C
Phpbb3 Board:http://www.nightmare-studio.com
Phpbb3 Version:3.0.7-PL1
Locked