i have installed the hack now - and I have changed a bit to that the user can only use VbCode, NOT html code. Any html code is not parsed, its displayed.... to do this, I change the updatecustom function bit....
above the insert to the DB, add the following line
Code:
//strip characters and do vB code
$custompage = bbcodeparse2($custompage,0,1,1,1);
that will turn the text the user enters in to the relevant code....
the problem is, when the text is loaded to be edited again, I cant seem to find the function to turn it back in to vbCode.... anyone know how?