miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
How To miniBB Community Forum / How To /

How to disable HTML URLs?

 
Anonymous
Guest
#1 | Posted: 30 Mar 2005 20:46
Reply 
Please, could anyone suggest how to disable HTML in posts, so that users could not insert active links inside forum?
Team
8-)
#2 | Posted: 31 Mar 2005 10:40
Reply 
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).
Moony
Forums Member
#3 | Posted: 31 Mar 2005 11:06 | Edited by: Moony
Reply 
Thats it!

Riga rulez!
 
Your Reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 46
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®