
10-21-2007, 01:55 PM
|
 |
|
|
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by kirupa
Hi everyone,
Where would I add this code to enable only [as] functionality:
Code:
if (!function_exists('handle_bbcode_as'))
{
function handle_bbcode_as(&$parser, $code, $type)
{
return handle_bbcode_highlight( $parser, $code, 'ActionScript' );
}
}
$this->tag_list['no_option']['ActionScript'] = array(
'callback' => 'handle_external',
'strip_empty' => true,
'stop_parse' => true,
'disable_smilies' => true,
'disable_wordwrap' => true,
'strip_space_after' => 1,
'external_callback' => 'handle_bbcode_as'
);
I've looked everywhere, and I can't figure out where in vb 3.5.2 the above code would be included.
EDIT: Nevermind - I fixed it. I had to add it to the XML file itself. Everything works now
:surprised:
|
Could anyone explain exactly how to add an [actionscript] tag please? With documented steps. The information in this thread on how-to do it are very sparse  Thanks
|