miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
How To miniBB Support Forums / How To /  
 

How to disable HTML URLs?

 
Author Anonymous
Guest
#1 · Posted: 30 Mar 2005 20:46Reply Quote
Please, could anyone suggest how to disable HTML in posts, so that users could not insert active links inside forum?

Author Team
8-)
#2 · Posted: 31 Mar 2005 10:40Reply Quote
Moony
Actually, this has to be replaced in bb_func_txt.php:

if($urls and !$bbcodes) {
$text=urlMaker($text,$wrap);
}

to:

if($urls and !$bbcodes) {
//$text=urlMaker($text,$wrap);
}

also remove all [url=...] tags from bb_codes.php (encodeBB and decodeBB functions).

Author Moony
Partaker
#3 · Posted: 31 Mar 2005 11:06Reply Quote
Thats it!

Riga rulez!

How To miniBB Support Forums / How To /
 How to disable HTML URLs?
 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
Try the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.