PDA

View Full Version : Preventing "open in new page"


djmini
01-11-2006, 04:08 PM
I've noticed that when I add a link in a bbcode module, that the link opens a new page.

How would I add the url AND code it so it does not open a new window/page?

Thanks!

Brian
01-11-2006, 05:31 PM
IIRC, that's hard coded into the vBulletin BB code system, so you would have to find it in the files and change it there.

Our Sponsors
 

djmini
01-11-2006, 05:53 PM
aw shucks.

Thanks anyhow.

Brian
01-11-2006, 05:57 PM
You could always add a new bb code for links that you want to open in the same window.

Our Sponsors
 

djmini
01-11-2006, 06:16 PM
what would that code look like?

Morwyn
03-25-2006, 10:29 AM
In the BBtag manager.

Let's call the tag "url2".

Replacing code would look like this (was asked this question in private):

<a STYLE="text-decoration:none" href="{option}" target="_self">{param}</a>

Example:
nom du site

Set "yes" to use a second parameter

lard
02-07-2007, 05:37 PM
I have attempted this to open a chat client in the same module but with no luck unfortunately

Is there another way to get a link in a module to open in the module?

I have tried this with a template and also now BB code and any hints appreciated,

Many thanks,

Lard