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

  • #1 written by Tishi 
    about 5 years ago

    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 written by Viper007Bond 
    about 5 years ago

    Haha, no prob. :)

  • #3 written by Ashley 
    about 5 years ago

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

  • #4 written by blue 
    about 4 years ago

    Really nice and util plugin, thxs for share :)

  • #5 written by Aneesah 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

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

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

  • #7 written by Aneesah 
    about 4 years ago

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

    Thank you!

  • #8 written by Tish 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

    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 written by Tish 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

    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 written by Tish 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

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

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

  • #14 written by Tom Parker 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

    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 written by Tish 
    about 4 years ago

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

    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

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

  • #17 written by Viper007Bond 
    about 4 years ago

    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 written by Tish 
    about 4 years ago

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

  • #19 written by Viper007Bond 
    about 4 years ago

    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 written by Tish 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

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

  • #22 written by Charlotte 
    about 4 years ago

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

  • #23 written by Viper007Bond 
    about 4 years ago

    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 written by Charlotte 
    about 4 years ago

    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 written by Viper007Bond 
    about 4 years ago

    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 written by xfuture 
    about 3 years ago

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

  • #27 written by Vief 
    about 3 years ago

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

If you wish to post code, write it like [code]blah[/code] so it will display properly.

No pingbacks yet.
Page generated with 116 queries in 0.36347 seconds ( 98.58% PHP, 1.42% MySQL )