The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
some small help needed...
Ok, what my goal is here is to allow the forum administrator to use HTML in posts.. i tracked it down to this code in the admin/functions.php that had to be altered... i THINK
Code:
if(!$dohtml) { // kill any rogue html code // $bbcode=str_replace("&","&",$bbcode); $bbcode=str_replace("<","&lt;",$bbcode); $bbcode=str_replace(">","&gt;",$bbcode); $bbcode=str_replace("<","<",$bbcode); $bbcode=str_replace(">",">",$bbcode); } Code:
if(!$dohtml and !($bbuserinfo[usergroupid]==6)) { // kill any rogue html code // $bbcode=str_replace("&","&",$bbcode); $bbcode=str_replace("<","&lt;",$bbcode); $bbcode=str_replace(">","&gt;",$bbcode); $bbcode=str_replace("<","<",$bbcode); $bbcode=str_replace(">",">",$bbcode); } -jamslam P.S. i thought about putting this in the help me finish forum, but thought that it was short enough to just go here.. however, if it is in fact a longer hack, pardon my ignorance and you may do with it what you will. thanx again. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|