Quote:
Originally Posted by Allan
This hack work with vB 3.6.x ?
|
It works with my vB 3.6.5, so yes. I'd apply some changes, though:
Quote:
Originally Posted by msimplay
hmm problem again quotes are turning from " to "
|
Quote:
Originally Posted by ImportPassion
ya, i posted about that on vb.com, but no reply. not sure why that is happening.
|
HTML tags are removed from profile fields by default, so you should allow them while parsing the bbcode, otherwise it gets the double htmlspecialchars-treatment which means that " is turned into " and that " is then turned into ".
Also you'd have to use do_parse() instead of parse() (I don't know if it's the same with vB 3.5, I'm using 3.6):
Code:
$profilefield['value'] = $bbcode_parser->do_parse($userinfo["$profilefieldname"], true, true);