This is the archived version of my b2evolution code blog.
If you require any help regarding b2evolution then
visit it's support forums
You can find my current blogs here
Code : {@link : WafflesOn}
Personal : {@link : InnerVisions}
| « The Blacklist | Yayyyyyy, it's gone live at last :D » |
Posted on 30th Dec 2006 in : Skins, Plugins & Widgets
Well, this time the skin changes are my fault ![]()
For those of you running 1.9.2 who are using a customised skin, you need to make the following changes to _feedback.php to make the smilies toolbar appear :-
PHP:
<span style="color:red">echo '<div class="comment_toolbars">';</span> | |
<span style="color:red">// CALL PLUGINS NOW:</span> | |
<span style="color:red">$Plugins->trigger_event( 'DisplayCommentToolbar', array() );</span> | |
<span style="color:red">echo '</div>';</span> | |
// Message field: | |
$Form->textarea( 'p', $comment_content, 10, T_('Comment text'), T_('Allowed XHTML tags').': '.htmlspecialchars(str_replace( '><',', ', $comment_allowed_tags)), 40, 'bComment' ); | |
<span style="color:red">// set b2evoCanvas for plugins</span> | |
<span style="color:red">echo '<script type="text/javascript">var b2evoCanvas = document.getElementById( "p" );</script>';</span> |
Yeah yeah, so shoot me, at least you can have a smiley toolbar and smilies in comments without hacks now though huh?
If you're running 2.0 then look out for some groovy changes comming up with the smilies plugin, don't bother looking for them yet though as I haven't uploaded the new version ![]()
¥
Page archived : 11th Feb 2010