Smilies Switcher

Description:

This plugin is designed to run alongside the plugin Theme Switcher. It allows you to have different smilies per theme.

See the readme.txt file in ZIP file for details on how to use it.

Download:

Support / Feature Request Forum:

http://www.viper007bond.com/wordpress-plugins/forums/viewforum.php?id=12

27 Comments On This Page

  1. THANK YOU!!!!!!!!!!!!
    Sorry about the excessive use of capital letters and exclamation marks. But…
    THANK YOUUUUUUUUUUUUUUUUUUUU!!!!!!!!!!!!!!!!!!!
    Is the only way I can express myself :)

  2. Haha, no prob. :)

  3. This is great! I’ve been waiting for someone to come up with a plugin for this! Thanks so much!! :)

  4. Really nice and util plugin, thxs for share :)

  5. Hi, I’m feeling too lazy to post in the forums, so if you don’t mind, can I ask a question here? :D Immediately after I activate the plugin, I get ‘cannot modify header information’ errors at the top of the page, and the file mentioned is wp-admin/admin.php. Is it because I have another plugin (polls) that needs stuff added before the opening html tag?

    Thanks in advance!

  6. Read this: http://codex.wordpress.org/Answers-Troubleshooting#Headers_already_sent

    That should help you find and fix the problematic file. ;)

  7. Ah, right. It was in my smilies.php, I copied and pasted er, wrongly. ^^;

    Thank you!

  8. I was wondering… Would it be possible to modify the script in some way so that you could put something like somewhere and it would pull up the folder name (so you could have different images depending on the theme etc)? I tried it but it doesn’t work and I’m a php n00b so yeah :P

  9. Umm, that’s what this plugin does — allows you to have different smilies per theme. Read the included readme, it explains how you put each themes smilies within your theme folders. ;)

  10. I meant like… You could have <?=$theme?> somewhere eg in a code for an image and it would bring up the folder name for the current theme. Just on a page or anywhere out of the loop. Sorry if I’m being a n00b but I’ve tried stuff like that and I can’t get it to work :S So I was just wondering if it’s actually possible.

  11. I don’t get what you’re asking.

    If you’re just looking for the URL to your current theme, try using something like bloginfo('template_directory');.

    But I don’t get what any of this has to do with my plugin. :/

  12. I thought the bloginfo thing didn’t work with the theme switcher, that’s all. Or maybe it does. Sorry, I’m having an “I feel dumb” day -_- Basically, I want an image (not a smiley) that will change when the user changes their theme. I figured that since your plugin works with the theme switcher, that there would be a way to do that with it, or maybe I’m just being dumb again lol. Sorry for causing confusion =\

  13. No, this plugin just changes the smilies array based on what theme is active. ;)

    Try the WordPress support forums though for your problem. :)

  14. Hmmm right i’ve uploaded everything iin the correct place but the smilies are still pulling from the original location, i’ve setup smilies.php dir as “smilies/” so this means theres a dir in the main theme folder called “smilies” i’ve put my smilies in there but… its just not working.. is it because I am using WP 2.0? although theme switcher wrks with 2.0…

    Tom | http://www.tomwrote.info

  15. Confirmed. I’ll work on getting it to work with WordPress 2.0.

    Edit: I take that back — it works fine. I just had forgotten to activate Theme Switcher (my plugin only runs if Theme Switcher is activated).

  16. Hey there… I just updated to WP 2.0.4, and it says:

    [code]Warning: file(/home/.eiffel/tish/twiskers.net/wp-content/themes/phoenixblue/style.css) [function.file]: failed to open stream: No such file or directory in /home/.eiffel/tish/twiskers.net/wp-includes/functions.php on line 1733

    Warning: implode() [function.implode]: Bad arguments. in /home/.eiffel/tish/twiskers.net/wp-includes/functions.php on line 1733

    Warning: uksort() [function.uksort]: Invalid comparison function. in /home/.eiffel/tish/twiskers.net/wp-content/plugins/smilies-switcher.php on line 39[/code]

    when I activate the plugin. Just letting you know :P
    Thanks,
    Tish

  17. Ah, they got rid of that pretty pointless function it seems: http://trac.wordpress.org/changeset/3640

    I’ll throw together an update for my plugin.

  18. Cheers, this plugin is really fantastic :D I upgraded WP and then I thought… where are my smilies? :O

  19. ZIP file updated. I think all I changed really was the removal of the uksort(), but you might as well download the ZIP and upload the new plugin file just incase (no need to change your smilies.php for your theme).

    Let me know if you have any further issues. :)

  20. The new plugin file wasn’t in the zip :P But I took out the uksort() line and now it works perfectly. Thanks a bunch! :)

  21. Grr, sorry, it looks like the upload of the ZIP went bad. Should be fixed now. :)

  22. can you use this plugin with another smilies plugin like wp-grins or custom smileys?

  23. WP-Grins probably works fine with this as all mine does is change the smilies array based on what theme is active.

    Custom smileys is most likely not compatible with this plugin, but everything that plugin does is done with my plugin (changing smilies).

  24. can we put the smilies in a different folder besides that specific theme folder? When I tried to change the smilies.php, it made all of the images broken images.

  25. No, they have to be somewhere inside the theme’s folder. Since the whole point of this plugin is to have different smilies per theme, I figured that keeping each theme’s smilies in the theme’s folder would make the most sense. :)

  26. haha….is a good plugin. Thanks for sharing :)

  27. It worked fine in WP 2.0 but now I upgraded I get errors and had to deactivate the plugin :( I’m sad.

Leave a Comment

PLEASE DO NOT USE THIS COMMENT AREA FOR SUPPORT REQUESTS!! Instead, please use the support forums that I've specificly set up to handle all problems and bug reports for the plugins listed on this site. You can find them right here.

If you would like to leave a trackback to this entry, use this URL. This is also a Gravatar enabled blog, so if you have a Gravatar account, use it!

 

Click Here to Quote Any Selected Text On The Page

XHTML: You can use these tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

#