The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Pretty simple issue. I have a special "preview signature" mod in a mod approval system, but currently the field doesn't render the BBcode when previewing. How can I fix that? Rendering HTML isn't an issue, I'd even prefer it not to.
Thanks. |
|
#2
|
|||
|
|||
|
You'd need to run it through the vBulletin BBCode parser. Parse BBCode (in 3.5)
|
|
#3
|
|||
|
|||
|
Quote:
I gave it a test go, and it seems to parse the BBCode, but not the images. Code:
if ($signature)
{
require_once(DIR . '/includes/class_bbcode.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$parsed_text = $parser->parse($text);
Many thanks. |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|