Add bbcodes in quick reply »  Show posts from    to     

Icy Phoenix


Old Docs - Add bbcodes in quick reply



-ktm- [ Thu 19 Apr, 2007 21:21 ]
Post subject: Add bbcodes in quick reply
OPEN ROOT/VIEWTOPIC.PHP

FIND
Code: [Hide] [Select]
// Force Topic Read - END

AFTER ADD
Code: [Hide] [Select]
// 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





OPEN TEMPLATES/MG_THEMES/XS/XS_TOPIC.TPL

FIND
Code: [Hide] [Select]
<td class="row1" align="left" width="200" valign="top" nowrap="nowrap"><span class="gen"><b><?php echo $lang['Message_body']; ?>:<br /><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="200" height="1" border="0" alt="" /></b></span></td>
<td class="row2" align="left" width="100%"><textarea name="message" rows="15" cols="35" style="width:98%" tabindex="3" class="post"></textarea></td>

REMPLACE WITH
Code: [Hide] [Select]
<td class="row1" align="left" width="200" valign="top" nowrap="nowrap"><span class="gen"><b><?php echo $lang['Message_body']; ?>:<br /><img src="{T_TEMPLATE_PATH}/images/spacer.gif" width="200" height="1" border="0" alt="" /></b></span></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>


PREVIEW:

preview


Vortex [ Sat 21 Apr, 2007 09:21 ]
Post subject: Re: Add Bbcodes In Quick Reply
And if I wish to add it to signature edit page?


Zuker [ Sat 21 Apr, 2007 13:34 ]
Post subject: Re: Add bbcodes in quick reply
Vortex, they are already there


Vortex [ Sat 21 Apr, 2007 15:47 ]
Post subject: Re: Add Bbcodes In Quick Reply
Oh man... sorry


I am still XS-minded


fab120 [ Sat 21 Apr, 2007 19:55 ]
Post subject: Re: Add Bbcodes In Quick Reply
Wow!!!

Great MOD!!!!!!!

Thanks!




Powered by Icy Phoenix