Quote:
Originally Posted by Dr Steevil
Try again.
I need help with the parse code plug-in. I have created the plug-in (I call it Profile Field Parser) in the member_complete hook per instructions. My code is arranged as follows:
Code:
{
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
$userinfo['field1'] = $bbcode_parser->parse($userinfo['field1'],0, true);
}
I copied and pasted that code several times, changing the fieldx value to reflect the fields I need parsed.
My problem is that images aren't appearing. It just converts the file path to a link which of course when clicked shows the image in another browser window. I can't figure out what is wrong, because the use of the [IMG] tag works elsewhere on the site just fine. Is the product location of the plug-in wrong? I have it in vBulletin.
|
Its either conflicting with something else on your site OR you dont have it in the MEMBER_COMPLETE hook location.