miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

How to disable HTML URLs?

Author Anonymous
Guest
#1 | Posted: 30 Mar 2005 20:46 
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:40 
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
Registered
#3 | Posted: 31 Mar 2005 11:06 | Edited by: Moony 
Thats it!

Riga rulez!

How To miniBB Support Forums / How To / How to disable HTML URLs? 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
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB