MyBB Central

Full Version: Cool download
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How do i make links that are wrapped around the cool download bb code to open in new link?
You mean in a new window?
add target='_blank' to the end of the url should do it.
You must have the plugin that allow you to use html in the posts.
you all don't understand,

for regular links, they open up in new tabs.

but if i use the cool download bb code for links, they don't open up in new link.
(Nov 23, 2008, 03:07 PM)yeti Wrote: [ -> ]you all don't understand,

for regular links, they open up in new tabs.

but if i use the cool download bb code for links, they don't open up in new link.

Ah... if this plugin is here at the moment i can't help you.
I think you'll find that's a browser setting. A link that opens in a new window in IE, opens in a new tab in FF and Chrome.
Its not a browser setting, if I put a link by itself then it will open in a new tab or window.
If I put a link in the cool download bb tag, it will open in the same window thus making the member leave the site : [dl]http://www.google.com[/dl]
http://www.google.com

Hmm, so it does. Nevermind then Tongue
Open the plugin file and fine this:

<a href=\"$1\"


And change it to this:

<a href=\"$1\" target=\"_blank\"

That's it.
(Nov 23, 2008, 07:06 PM)labrocca Wrote: [ -> ]Open the plugin file and fine this:

<a href=\"$1\"


And change it to this:

<a href=\"$1\" target=\"_blank\"

That's it.

Thanks for this!
Pages: 1 2