2011-04-18, 07:28 PM
Go to: ACP > Templates > Your theme's templates > Showthread Templates > showthread_quickreply > and add the following code where ever you want to show smilies;
Now Go to: ACP > Themes > Your Theme > global.css > Edit in Advanced Mode > and add the following css at the bottom of stylesheet;
Now Open ./showthread.php file and find;
It would look like this;
<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}
Now Go to: ACP > Themes > Your Theme > global.css > Edit in Advanced Mode > and add the following css at the bottom of stylesheet;
.smilie_css {
border-color: #FFBE7D;
border: 1px solid #FFBE7D;
color: #000000;
padding: 2px;
background: #FFE6CC;
-moz-border-radius: 3px;
-webkit-border-radius:3px;
}
Now Open ./showthread.php file and find;
eval("\$quickreply = \"".$templates->get("showthread_quickreply")."\";");
and Change it to; $codebuttons = build_mycode_inserter();
eval("\$quickreply = \"".$templates->get("showthread_quickreply")."\";");
It would look like this;