The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to prevent links from opening in new windows?
I've tried everything on my end with the HTML and I couldn't figure anything out. I contacted vB support and this is what they said:
"That is the normal behavior for the URL code. Changing this requires modifying the code. If you have some coding ability then you can post on http://www.vbulletin.org for help with this. Otherwise you might find a premade addon for this on http://www.vbulletin.org." Well on that note, does anyone know what the mod on the code is to do this? Or even better yet, is there a way just to stop this from occurring on links within your domain? Because all my links on here are just links to other parts of my website, a different forum/thread, etc so it's pretty silly to open up in a new window. Thanks! |
#2
|
||||
|
||||
I just clicked around on my site and the links just open in the same window. So, how about an example on your site of where they are opening into a new window. Basically, if you have target="_blank" in the link, ie. <a href="page.php" target="_blank">Page</a>, then it will open in a new window.
|
#3
|
|||
|
|||
I haven't personally done it yet, but it should work.
In class_bbcode.php, search for Code:
// standard URL hyperlink return "<a href=\"$rightlink\" target=\"_blank\">$text</a>"; Code:
target=\"_blank\" --------------- Added [DATE]1209363906[/DATE] at [TIME]1209363906[/TIME] --------------- Oh, it will work with newer posts only... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|