![]() |
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! |
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.
|
I haven't personally done it yet, but it should work.
In class_bbcode.php, search for Code:
// standard URL hyperlink Code:
target=\"_blank\" --------------- Added [DATE]1209363906[/DATE] at [TIME]1209363906[/TIME] --------------- Oh, it will work with newer posts only... |
All times are GMT. The time now is 04:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|