The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#10
|
||||
|
||||
![]()
Here is all the information that you need: (most if is based on your plugin already)
I have a custom template which appears in inside my profile page, which includes the following code: $userinfo[field20] and $userinfo[field31] (and a few others, but for the sake of the example I will include these two) Plugin Name: Init BBCode-Parser Location: member_start Code:
require_once(DIR . '/includes/class_bbcode.php'); $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); Location: member_complete Code:
$userinfo['field20'] = $parser->do_parse($userinfo['field20'], 1, 0, 1, 0, 1, 0); $userinfo['field31'] = $parser->do_parse($userinfo['field31'], 1, 0, 1, 0, 1, 0); The numbers refer to different things, here they are in order: $do_html, $do_smilies, $do_bbcode, $do_imgcode, $do_nl2br, $cachable |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|