Log in

View Full Version : Unparsing Html


marksyzm
12-18-2006, 07:57 AM
I've been trying to implement the userpages hack from vbulletin.org, but am unsure about how you remove html coding from a particular field... basically I just want to use bbcode only, instead of both bbcode and html which is how it's working at the moment.

The field I want to unparse is:

$pagedata = unhtmlspecialchars($pagedata['pagedata']);

RS_Jelle
12-19-2006, 09:13 PM
With the vBulletin BBCode parser you can disallow HTML. Have a look at this tutorial (https://vborg.vbsupport.ru/showthread.php?t=82693) for the syntax ;)