MyBB Community Forums

Full Version: Make forum redirection open page in new window
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB allows you to add a forum that only serves the purpose of redirecting any users to a URL. Problem is, it does this in the existing window. Is there any workaround. I've found a thread redirect mod but I'd prefer forum redirect, and I have no assurances that the mod will redirect in a new window.

Any ideas?
I don't think its possibly because I believe the link uses a PHP header redirect rather than an ordinary link where you could put a target tag on. I'll take a look into achieving this through code modifications tonight for you.
Thank you very much.
Did you have any luck with this?
This should work:
<a href="http://Link.com" target="_new">Text Link</a>

Put it in the "Title" field of the forum configuration.
Just note that there is a limited amount of text you can put into the "Title" field, so it may not all fit.
But it's worth a shot.
(2010-03-16, 06:39 PM)lan7 Wrote: [ -> ]This should work:
<a href="http://Link.com" target="_new">Text Link</a>

Put it in the "Title" field of the forum configuration.
Just note that there is a limited amount of text you can put into the "Title" field, so it may not all fit.
But it's worth a shot.

I just tested it with my test forums and it works. Wink
Nice thinking lan7, it will probably cause HTML validation problems but your solution definitely works Wink
I would do <a href="http://Link.com" target="_blank">Text Link</a> instead of _new because I personally hate when a new window pops up and most people and ad blockers classify that as spam. By using _blank it will just open the link in a new tab.
Sorry to bump this, but I've been away and I just wanted to give my thanks for this. Cheers guys, always appreciated. Smile