Categorie

Smilies Themer Toolbar

IMPORTANT: due to my job, I’m now too busy to maintain my plugins.

This plugin has been abandoned!

If you are a developer and would like to fork, feel free to do so (under the GPLv3 license). No need to contact me.

Smilies Themer Toolbar provides a toolbar to easily add custom smilies to comments.

It integrates with Smilies Themer plugin, and therefore requires it.

You can change your smilies theme in your blog, and the toolbar is automagically updated!

Installation

  • Download and install Smilies Themer plugin (required)
  • Download Smilies Themer Toolbar
  • Extract the files in the .zip archive, and upload them (including subfolders) to your /wp-content/plugins/ directory
  • Activate the plugin through the ‘Plugins’ menu in WordPress
  • Enjoy!

Note: if you like the smilies theme in this page, you can download it here.

Theme integration

By default, Smilies Themer Toolbar is placed after the comments form, but if you want to put it in a nicer position, don’t worry, it isn’t that difficult.

Edit your theme and put this code where you want to show the toolbar:

<?php if (function_exists('sm_toolbar_show')) sm_toolbar_show();?>

Changelog

Please see the FAQ to see the full list of changes.

I’m having issues!

Start reading the FAQ, and if your issue still isn’t solved, try to comment this page.

License

Smilies Themer Toolbar is released under a GPL v3 license.

If you like this plugin, then buy me a coffee!

352 risposte su “Smilies Themer Toolbar”

Great plug in … I got it working with DMSguestbook… need to Copy and Mod sm_toolbar_show(_guestbook), showToolBar(Guestbook) and print_js(guestbook). Basically called sm_toolbar_show_guestbook, which in turn calls showToolBarGuestbook… which calls print_jsGuestbook… In there I changed the findCommentField function to look for the guestbook slug and the guestbook message box ‘gbmsg’

function findCommentField() {
var re = /sign-the-guestbook$/;
for (i = 0;i < document.forms.length;i++) {
var theForm = document.forms[i];
var action = theForm.action
if (re.test(action)) {
stt_comment_field = theForm.elements[‘gbmsg’];
return;
}
}
}

From there I just a added the following line to my dmsguestbook where I wanted the smilies to show


@billyduc: v1.3 (and now 1.4) show the complete toolbar in the “new post” page. From WP2.7 you can also drag the box and place it where you prefer.

@Bernd, NSpeaks: Try v1.4. Now it works also in the HTML editor (and it’s very more usable, you can always see the toolbar, just click and you’re done).

@Marie: to fix the <3 issue, please read the FAQ, I explained how to fix that problem.

@Lucky: lo puoi vedere in azione proprio qui, è la toolbar con le icone. Nell’interfaccia di amministrazione ti compare praticamente la stessa toolbar, solo che la puoi anche spostare dove preferisci tu, con un semplice drag&drop!

@KhaiXY: thank you!!! 😉