WordPress.org

Ready to get started?Download WordPress

Forums

Smilies Themer Toolbar
Plugin's JS missed semicolons (8 posts)

  1. Andrej Mihajlov
    Member
    Posted 3 years ago #

    Hello,

    your plugin's JS (stt-common.js) has some lines which is not ended by semicolon.
    I use some plugins to merge all JS into one big file and I found that your JS breaks everything after that because it doesn't have semicolons at the end of lines and the final JS becomes a real mess.

    Please, fix it. Thanks!

  2. frasten
    Member
    Plugin Author

    Posted 3 years ago #

    Sure, it will be fixed in the next version of the plugin. Thank you for reporting!

  3. Moogle Stiltzkin
    Member
    Posted 2 years ago #

    andrew, do you have a working version of this for the latest wordpress ? i would be interested to know :X thx.

  4. Andrej Mihajlov
    Member
    Posted 2 years ago #

    Moogle, No, it simply stop working and I had to remove it.

  5. Moogle Stiltzkin
    Member
    Posted 2 years ago #

    So what do you use now ?

    I found a good and more updated alternative that adds a smily box to the wysiwyg editor so i can click on smilies to appear in my post.

    Theres also a comment integration, but i don't think it would work with my disqus wordpress comment plugin. I haven't tested that, but even if it didn't i don't mind.

    wp-Monalisa
    Version: 1.7
    Updated: 2011-12-21
    http://wordpress.org/extend/plugins/wp-monalisa/

    i tested it works.

    But whenever i go to the plugin settings page and press save, my site becomes inaccessible. So i was hoping that author could fix that :/

  6. Andrej Mihajlov
    Member
    Posted 2 years ago #

    I made custom toolbar and put it in my theme template, WordPress has smiles itself. Unfortunately I am not able to customize smiles but it's not so important for me.

  7. Moogle Stiltzkin
    Member
    Posted 2 years ago #

    ah dang... i personaly don't mess with themes directly. i usually just add in features via plugin since it's simple :}

    Oh well... thx anyway for the info :}

    Nice tabby by the way. My aunt has 1.

  8. Xaliber
    Member
    Posted 2 years ago #

    I think this plugin stops working because of newer version of jQuery. With the latest version (1.6.4) makes it stop working, but with jQuery v1.4.4 the plugin works great.

    If someone could modify this to make it compatible, it would be great...

    /* <![CDATA[ */
    (function($) {
    	/* OnClick action */
    	$("#smilies_toolbar img").click(function() {
    		var text = $(this).attr('alt');
    		/* get an html escaped version of the text: */
    		tempdiv = $('<div/>');
    		text = tempdiv.text(text).html();
    		tempdiv.remove(); // Free up memory
    		var commentbox = $("form[action$=wp-comments.php] textarea:visible");
    		if (!commentbox.length) return;
    		commentbox.insertAtCaret(text);
    	});
    	$("#smilies_toolbar img").css('cursor', 'pointer');
    })(jQuery);
    /* ]]> */

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic