![]() |
Only External Links Open in New Windows
This hack modifies the [url] tag such that links that point outside of your forums' URL open in new windows. Links that point to anything in your domain open in the same window.
Screenshot not applicable. |
heh i never realised that they opened in the same window anyways, lol anyways nice hack
/me clicks install |
Quote:
|
Nice, but when you have a shoutbox/vbchat on the index it opens links in the chat and not as a new page. :confused:
|
That's because it's an iframe...
|
Your code is wrong in the instructions file.
This: return "<a href=\"$righturl\" target=\"blank\">".str_replace('\"', '"', $hyperlink)."</a>"; should be this: return "<a href=\"$righturl\" target=\"_blank\">".str_replace('\"', '"', $hyperlink)."</a>"; You missed the underscore. ;) |
Gah, fixed :)
|
Excellent hack!
I was waiting for a long time for that. Clicks install! |
Do you know if this hack will also work with VbPortal? Do you know if I need to change anything else in VbPortal or just this hack in VBulletin? Any help on this would be greatly apreciated.
Thanks. Best regards, Bob :confused: |
If vBPortal uses vB's code parsing functions then it will work.
|
All times are GMT. The time now is 07:52 AM. |
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:
|