miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · 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:03Reply Quote
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:20Reply Quote
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:03Reply Quote
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:27Reply Quote
Forget it ! :)

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

Author bjcolsn
Partaker
#6 · Posted: 15 Sep 2014 21:02Reply Quote
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 Lead Developer
#7 · Posted: 16 Sep 2014 15:04Reply Quote
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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
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
Proceed with the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.