The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Please help. Need to parse bbcode in a user profile field and pass it to a template.
I posted a few days ago about this, but a member told me about user profile fields. Very helpful. I've managed to get the profile field to show in the template that I want (member info), however, when I add BBcode or html to the profile field, vbulletin just shows the code in the browser and doesn't parse it.
I know the dangers of html in vbulletin. I'm just trying things to see what works and what doesn't. So what I need to do is this... I need to be able to show my profile field in the template but have it be parsed. I figure a plugin is needed, but I can't seem to get the code to work. I've read mod about parsing bbcode. Code:
require_once(DIR . '/includes/class_bbcode.php'); $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $parsed_text = $parser->do_parse($text, $do_html, $do_smilies, $do_bbcode, $do_imgcode, $do_nl2br, $cachable); I know the template, plugin, and vbulletin "all become one" after the server works, but I can't grasp the concept well. Please help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|