1 (edited by 2005-08-08 22:49:18)

Topic: LINKS: all open a new window by default

This makes any links you place inside [link] tags, or insert with [quick-tags] open into a new window.

MAKE A BACKUP OF THESE FILES BEFORE EDITING THEM !!!

Open /inc/functions.inc.php and search for
function replace_news

Under that you'll find

"[url=]\\1[/url]",


Just add  target=_blank into it ( before the first > ) like this:

"[url=]\\1[/url]",

---------------------------------------------------------

Then open about.mdu in the same folder (/data/inc)
about 30 lines down you'll find:

 '[url=]' +var2+ '[/url]';


Again, just add target=_blank to it ( before the first > ), like so:

 '[url=]' +var2+ '[/url]';

Many Thanks to StealthEye for help with the 2nd part of this FAQ.