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
Registered
#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
Registered
#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
Registered
#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 !
Bj

Author bjcolsn
Registered
#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
Registered
#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 ?

Bj

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:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


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