Log in

View Full Version : How to force links in a post to open in the same browser window?


TWood
03-15-2009, 05:11 PM
Is there a way to force a link in a post to open in the same browser window? Currently they open a new browser window and it makes the links between my homepage and the forum seem less integrated.

Thanks

--------------- Added 1237213082 at 1237213082 ---------------

A little research turned up this:

https://vborg.vbsupport.ru/showthread.php?t=79398

But instead of modifying the includes/functions_bbcodeparse.php file (which doesn't seem to exist, that's an old post) I modified includes/class_bbcode.php as follows:

// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_self\">$text</a>";


After clearing the cache (doh!) it works fine.

So I guess I need to keep a list of these files that I modify offline from the style manager so I can replace them after an upgrade?

--------------- Added 1237213259 at 1237213259 ---------------

Hmmm...

I didn't really want it to merge posts because I have a new question.

When making changes to these back-end files, is there a preferred method of keeping up with them so they don't get over-written during an upgrade?