Adds clickable smilies (emoticons) to bbPress. No template edits required. Streamlined for low overhead. Uses swappable icon sets.
Builds on work by Alex King (WP Grins) and Matt Read (More Smilies).
Version: 0.0.8
Last Updated: 2009-2-28
Requires bbPress Version: 0.8.2 or higher
Compatible up to: 0.9





Adds clickable smilies (emoticons) to bbPress. No template edits required. Streamlined for low overhead. Uses swappable icon sets.
Builds on work by Alex King (WP Grins) and Matt Read (More Smilies).
version 0.0.1 is a very early alpha release
It does not have optimizations yet to only load the smilies on demand (via javascript) - but that will come soon. I'm releasing it based on requests and for additional feedback.
You can change the icons very easily to any set that's compatible with "More Smilies" (from the WordPress side) or make your own - just study how the default directory is done. Any of the icon folders in this package will easily work - just upload the set desired in the same place the "default" directory is and edit the line near the top of bb-smilies.php to reflect the new set name.
As always, admin menu coming later (much later).
APPLAUSE FOR _CK_
THANKS!!!!!!!!!!!
This is wonderful. Thank you so much, _ck_ (for this one and all the others!). I've sent over a donation and have asked my forum users to do the same. :-)
version 0.0.2 now ignores smilies inside <code></code> tags (backticks) and will not convert them
Hi _ck_!
Any update instructions? Or just overwrite anything?
You can just replace the plugin file. If you changed the default icon set you'll have to edit the plugin file at the top again.
Why are there spaces added around trhe smilies when clicking them to add them?
Also the simlies appear visible here. How can I let them appear hidden at start?
If you don't wanna use the collpasing menu just ad // infront of line 47 so you get this: //echo '<img onclick="bb_smilies_panel()" src="'. $bb_smilies['icon_url'] . $wp_smilies[":)"] .'" title="'.__('Insert Smilies').'" class="bb_smilies" /> ';
They should start hidden. What browser are you using?
It might be a bug.
Spaces are put around the smilies because it's impossible to parse complex text otherwise.
I use Opera 9 (latest version). The smilies don't start hidden here. I can make them hidden by clicking the smiley twice (which is on the left , I see it on the right at your site so perhaps that's wrong too). When hidden, the open space (where the smilies where) remains. Don't know if that is 'normal' too.
If needed I can make some screenshots.
_Null
Ah I bet this is an Opera specific bug.
I will have to test in it, thanks for the report.
update: nope, works fine for me in Opera.
Yours is Opera for Windows? Or another OS ?
How about other browsers for you - does it work in Firefox? Firefox will at least report javascript errors properly so you'd be able to give me more details.
I also testing with kakumei in Opera, no problems.
There might be some kind of javascript or CSS conflict with some other script.
added:
Oh wait, do you have a custom template? <?php do_action('bb_head',''); ?> is required in your header.php template to make sure plugins work correctly. In this case the custom CSS wouldn't be inserted - is that it?
Hello :) it is possible to integrate a function for choice if you want to activate or deactivate the javascript insertion? I want to show emoticons without javascripts, at the right of the post textarea :p
thanks!
Fred
csseur3, I am working on that feature right at this moment.
I can't put it on the right but I can put it at the top.
In theory you could make the popup visible at all times and move it slightly to the right.
0.0.3 now has an option at the top of the plugin to turn off the popup and just show all the smilies at once.
nice :)
so, i propose to integrate the tango set in the plugin: http://wordpress.org/extend/plugins/tango-smilies/
tango smilies are more beautiful i think :p
Does v0.0.3 have the javascript off option, or are you still working on that?
Hello _ck_,
it is possible to turn off the automatic add in the post form, and create a function to display the smilies how i want ?
i want to redesign the post form and put the smiley at right, in a div. and the automatic adding give me a problem.
thanks ;)
citizenkeith: yes, the javascript off option is in 0.0.3
++
csseur3, just comment out this line to disable the click panel entirely:
// add_action('bb_foot', 'bb_smilies_clicker');
yes, but how to put my smileys where i want?
this is what i want: to do http://pastebin.com/m44d8e1b6
what is the code to put where it is "HERE, THE SMILIES BOX" ? :p
thanks,
Fred
hello,
why that:
.bb_smilies {cursor: pointer; cursor: hand;}
?
there is two "cursor", it is not correct.
You must log in to post.