The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Help needed using bbcode_parser on non forum text
Hi
I'm using the following code to parse forum text. This is in a VBa CMPS module I have written that displays from selected forum posts in a list of 'Whats Occurring' on my site home page Code:
require_once(DIR . '/includes/class_bbcode.php'); $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list(),true); $occuredUser[$i]['announcetxt'] = $bbcode_parser->parse($occuredUser[$i]['announcetxt'], $forum['nonforum'], true); However it does not Parse smilies (they just don't show up when the parsed text is output) Smilies are enabled on my site and work in forums, PMs etc What am I doing wrong? Cheers Rich --------------- Added [DATE]1307283641[/DATE] at [TIME]1307283641[/TIME] --------------- Had a play a bit further but still can't sort this myself In Vbulletin OPtions -> BB Code Settings Allow Smilies in Non Forum Specific Areas = Yes I also tried the following as it seemed promising... Code:
$occuredUser[$i]['announcetxt'] = $bbcode_parser->parse($occuredUser[$i]['announcetxt'], 'nonforum', true); $occuredUser[$i]['announcetxt'] = $bbcode_parser->parse_smilies($occuredUser[$i]['announcetxt'], true); Parsed text OK, no smilies still - and a headache coming on |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|