I have installed a mod that leaves a comment for a member but it has standard phpbb bbcode and I would like to make available the bbcode that is in the rest of the site..
I have added this to the php file
// BBCBMG - BEGIN
include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_bbcb_mg.' . $phpEx);
include($phpbb_root_path . 'includes/bbcb_mg.' . $phpEx);
$template->assign_var_from_handle('BBCB_MG', 'bbcb_mg');
// BBCBMG - END
// BBCBMG SMILEYS - BEGIN
generate_smilies('inline');
include($phpbb_root_path . 'includes/bbcb_smileys_mg.' . $phpEx);
$template->assign_var_from_handle('BBCB_SMILEYS_MG', 'bbcb_smileys_mg');
// BBCBMG SMILEYS - END
include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_bbcb_mg.' . $phpEx);
include($phpbb_root_path . 'includes/bbcb_mg.' . $phpEx);
$template->assign_var_from_handle('BBCB_MG', 'bbcb_mg');
// BBCBMG - END
// BBCBMG SMILEYS - BEGIN
generate_smilies('inline');
include($phpbb_root_path . 'includes/bbcb_smileys_mg.' . $phpEx);
$template->assign_var_from_handle('BBCB_SMILEYS_MG', 'bbcb_smileys_mg');
// BBCBMG SMILEYS - END
and this to the tpl file
<tr align="center" valign="middle">
<td class="row2" valign="top">
{BBCB_MG}
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:98%" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
</td>
<td class="row2" valign="top">
{BBCB_MG}
<textarea name="message" rows="15" cols="35" wrap="virtual" style="width:98%" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
</td>
and stripped all the phpbb bbcode from the tlp file but sadly no bbcode is showing in the posting box....
I have spent some time looking throught the code to see what I have missed and searched here but cannot find anything....
any help would be greatly appreciated....
Thanks