miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Re-cycled miniBB Support Forums / Re-cycled /  
 

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

 
Author bjcolsn
Partaker
#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
Partaker
#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
Partaker
#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
Partaker
#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
Partaker
#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 )
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑