15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Re-cycled miniBB Support Forums / Re-cycled /   

[url] code / How to avoid new window (target=_blank )

Author bjcolsn
#1 | Posted: 9 Sep 2014 00:03 
Hi all !
i dont know what to change in bb_codes.php so that all posted URLs ([url] codes) dont open in a new window ?
Which target=_blank should i remove ?

Thanks a lot ! Bj

Author Jaime
#2 | Posted: 9 Sep 2014 11:20 
There was once a question Making urls open in the same window .. with the right answer ;-)

Author bjcolsn
#3 | Posted: 9 Sep 2014 22:03 
Thanks Jaime !
i still have a problem...
it works great for [url] bbcodes...
but not for direct http:// etc.

Where else should i then remove the _blank code ?
thanks !

Author bjcolsn
#4 | Posted: 10 Sep 2014 21:27 
Forget it ! :)

Author Paul
Lead Developer
#5 | Posted: 14 Sep 2014 04:07 
How did you fix it please?

Author bjcolsn
#6 | Posted: 15 Sep 2014 21:02 
I've removed the remaining target="_blank" in the codes, ie. in :
bb_func_txt.php: urlMaker()
bb_codes.php: encodeBB(), decodeBB()

as Jaime told me to !
isn't it correct ?


Author Paul
Lead Developer
#7 | Posted: 16 Sep 2014 15:04 
Yes, you did it right :) thx for report.

Re-cycled miniBB Support Forums / Re-cycled / [url] code / How to avoid new window (target=_blank ) Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB