Hello,
Well, I updated my forum at last version and I'm having some issues.
Now I don't have this column:
And actually I have this:
How can I add that column?
Thanks!!
ACP > Configuration > Settings > Clickable Smilies and BB Code > Choose 'On' for 'Clickable MyCode Editor'.
Your screenshot looks like the quick-reply box though, which never has that editor.
you want add editor in Quick Reply?
In showthread.php
find
// Get the thread details from the database.
add above
$codebuttons = build_mycode_inserter();
$smilieinserter = build_clickable_smilies();
In ACP --> template & style --> themplates --> your theme --> Show Thread Templates --> showthread_quickreply
find
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> <strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
Replace
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> <strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>{$smilieinserter}
find
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
Replace
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>{$codebuttons}
(2012-12-13, 02:24 PM)martec Wrote: [ -> ]you want add editor in Quick Reply?
In showthread.php
find
// Get the thread details from the database.
add above
$codebuttons = build_mycode_inserter();
$smilieinserter = build_clickable_smilies();
In ACP --> template & style --> themplates --> your theme --> Show Thread Templates --> showthread_quickreply
find
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> <strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
Replace
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> <strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>{$smilieinserter}
find
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
Replace
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>{$codebuttons}
In showthread I dont have "// Get the thread details from the database."
This is my showthread template:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
var fitonpage_location = "showthread";
-->
</script>
</head>
<body>
{$header}
{$pollbox}
<div class="float_left">
{$multipage}
</div>
<div class="float_right">
{$newreply}
</div>
{$ratethread}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
<tr>
<td class="thead" colspan="2">
<div style="float: right;">
<span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
</div>
<div>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
{$classic_header}
</table>
<div id="posts">
{$posts}
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top-width: 0;">
<tr>
<td colspan="2" class="tfoot">
{$search_thread}
<div>
<strong>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong>
</div>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div>
<br style="clear: both;" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="float_left">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
</ul>
</div>
<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br style="clear: both;" />
{$usersbrowsing}
{$footer}
</body>
</html>
(2012-12-13, 11:28 AM)Beardy Wrote: [ -> ]ACP > Configuration > Settings > Clickable Smilies and BB Code > Choose 'On' for 'Clickable MyCode Editor'.
Your screenshot looks like the quick-reply box though, which never has that editor.
Are selected both with "yes" and still nothing mate.
(2012-12-13, 04:03 PM)lesone Wrote: [ -> ]In showthread I dont have "// Get the thread details from the database."
In showthread
.php of your mybb files and not in showthread template
check again
In ACP --> template & style --> themplates --> your theme --> Show Thread Templates --> showthread_quickreply
find
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
Replace
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>{$codebuttons}
Nothing mate.
here is my showthread_quickreply:
<br />
<form method="post" action="newreply.php?tid={$tid}&processed=1" name="quick_reply_form" id="quick_reply_form">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<input type="hidden" name="subject" value="RE: {$thread['subject']}" />
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="posthash" value="{$posthash}" id="posthash" />
<input type="hidden" name="quoted_ids" value="" id="quoted_ids" />
<input type="hidden" name="lastpid" id="lastpid" value="{$last_pid}" />
<input type="hidden" name="from_page" value="{$page}" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="method" value="quickreply" />
<span style="float: right; font-weight: bold" class="smilie_css"><a href="javascript:clickableEditor.openGetMoreSmilies('clickableEditor');"><img src="images/smilies/smile.gif" title="Insert Smilies."></a></span><br />{$codebuttons}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.gif" id="quickreply_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->quick_reply}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<tr>
<td class="trow1" valign="top" width="22%">
<strong>{$lang->message}</strong><br />
<span class="smalltext">{$lang->message_note}<br /><br />
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" {$postoptionschecked['signature']} /> <strong>{$lang->signature}</strong></label><br />
<label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="1" /> <strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>{$smilieinserter}
</td>
<td class="trow1">
<div style="width: 95%">
<textarea style="width: 100%; padding: 4px; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>{$codebuttons}
</div>
<div class="editor_control_bar" style="width: 95%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote">
<span class="smalltext">
{$lang->quickreply_multiquote_selected} <a href="./newreply.php?tid={$tid}&load_all_quotes=1" onclick="return Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}</a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}</a>.
</span>
</div>
</td>
</tr>
{$captcha}
<tr>
<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" id="quick_reply_submit" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
</tr>
</tbody>
</table>
</form>
<br>
<table width="91%" align="center" border="0" cellspacing="0" cellpadding="0" id="clickable_smilies" style="padding-left:5px">
<tr>
<td style="text-align: center"><img src="url del smiley especifico" border="0" class="smilie" alt="LISTA DE EMOTICONOS" /></td>
<td style="background:transparent;" align="center"><span class="smalltext"><strong>[<a href="javascript:clickableEditor.openGetMoreSmilies('clickableEditor');">Mas emoticones</a>]</strong></span>
</td>
</tr>
</table>