bbPress

Simple, Fast, Elegant

bbPress plugin browser »

bbPress Smilies (0.0.5)

Download

Version: 0.0.5

Last Updated: 2008-12-2

Requires bbPress Version: 0.8.2 or higher

Compatible up to: trunk

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(6)

Your Rating

Author: _ck_


  1. It's a workaround for buggy IE where there is no cursor "hand" like other browsers. So it does the pointer cursor and ignores the second. Meanwhile other browsers do the second. I suspect you found it or don't like it because validation throws an error.

    You seriously need to stop wasting your time with validation. Instead of getting creative work done you are spending valuable hours on syntax stuff that will work for decades in all browsers.

    Throw off the shackles of validation.

    Posted: 3 months ago #
  2. For some reason, the toolbar doesn't appear in my theme and I can't figure it out :( (my bbcode toolbar doesn't appear either!)

    I THINK it has something to do with my CSS, but idk.

    The toolbars appear ok in any of the downloaded themes, but not in mine :(

    My theme was based off of one of the bbpress raw theme 1col_fluid

    my site:

    www.liricistas-asura.com/bbpress

    Posted: 3 months ago #
  3. Resolved.

    Found the solution in your bbcode toolbar thread.

    was missing the do_action

    GREAT Plug in ^.^

    Posted: 3 months ago #
  4. Great plugin! I've notice a little problem, though, that might be theme dependent. I'm using a modified version of morning mist (or whatever it's called) on 0.9.0.2.

    I'm running both this plugin and your bbcode buttons plugin. When I click on the smiley face, the smilies to choose from pop up behind the bbcode buttons, so I can't see or choose from the ones in the top row. Any chance you could get it to pop up in front of the buttons instead? Otherwise I'll just tweak it to have the menu below the text box, which I'm trying to avoid.

    Thanks!

    Posted: 3 months ago #
  5. citizenkeith

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    For those using the Private Messages plugin, you can add bbPress Smilies to PMs. Around line 26, you should see this line:

    add_filter('post_text', 'bb_smilies_convert');
    add_action('bb_head','bb_smilies_css');
    add_action('bb_foot', 'bb_smilies_clicker');

    Add this one:

    add_filter('pm_text', 'bb_smilies_convert');

    Posted: 3 months ago #
  6. citizenkeith

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Note that the above hack only works for NEW private messages. It won't show up in replies. I confess my limited knowledge of PHP and bbPress is to blame...

    Posted: 3 months ago #
  7. I'll add that filter to the default on bb-smilies since it can't hurt anything if you don't have it. Though really, the plugin should filter all pm_text through post_text if it wants all plugins to apply, like bbcode-lite.

    Posted: 3 months ago #
  8. citizenkeith

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Though really, the plugin should filter all pm_text through post_text if it wants all plugins to apply, like bbcode-lite.

    I couldn't agree more. That's the most frustrating thing about using the Private Messages plugin at this time.

    Posted: 3 months ago #
  9. citizenkeith

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Just noticed something funky...

    Some of my forum members get goofy with smilies and use a lot of them in a post. For example, it's common for somebody to reply with a "Five Star" rating of a post. We don't have stars, but we have a "right on" smilie, so they'll post the following code:

    :righton: :righton: :righton: :righton: :righton:

    However, not every smilie appears. Usually, you get four smilies and one of them in the middle will just appear as :righton: in text.

    Now I just gave somebody "two thumbs-up" and it came out with one smilie followed by one :thumbsup: text.

    Posted: 3 months ago #
  10. Check for spaces between smilies. There must be at least once space. The reason for this is if you have a smilie like 8) and then someone ends a sentence like this: (She had a baby at 18) it doesn't become a smilie.

    Posted: 3 months ago #
  11. citizenkeith

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Thanks, _ck_. One space doesn't work... two spaces works. :)

    Posted: 3 months ago #
  12. I'd like to second the Tango icons request... can those be added, please?

    Posted: 2 months ago #
  13. Hey _ck_,

    Can you make it so that they smilie picker goes away after you choose a smilie? I think it's a little confusing when I open it up to pick a smilie, and then it doesn't disappear after I pick one.

    Posted: 2 months ago #
  14. To make the clicker go away you can try this (untested).

    Put this line
    bb_smilies_clicker.style.visibility='hidden';
    at the end of
    function bb_smilies(myValue) {
    just before the closing }
    ie.

    bb_smilies_clicker.style.visibility='hidden';
    }


    @citizenkeith, one space should be working as of 0.0.4

    Those wanting Tango can just follow the directions and mimic what's in the default folder. Just make a tango folder and put in the tango graphics and a mapping file and change the icon set used in the plugin at the top.

    Posted: 2 months ago #
  15. Works great! Thanks a lot!

    Posted: 2 months ago #
  16. pircy

    Member

    Great, Thanks.

    Posted: 1 month ago #
  17. musnake

    Member

    Tango People: use the array in the tango-smilies.php file to replace the mapping...

    This works just fine: WP2.6.2 + bPress 1.0a2.

    Thanks.

    Posted: 1 month ago #
  18. Ipstenu

    Member

    For some reason the plugin pushed the size of my textbox out too far for my theme. I 'fixed' it by commenting out the following and then hardcoding in the smilies below the text box (which is where I like 'em :) ) Everything seems to work still.

    function bb_smilies_panel() {
            if (bb_smilies_clicker.style.visibility!='visible') {
            // var obj = bb_smilies_textarea; var pos = {x: obj.offsetLeft||0, y: obj.offsetTop||0};
            // while(obj = obj.offsetParent) { pos.x += obj.offsetLeft||0; pos.y += obj.offsetTop||0; }
            // bb_smilies_clicker.style.left = '300px';
            // bb_smilies_clicker.style.top = pos.y + 'px';
            bb_smilies_clicker.style.left = '300px';
            bb_smilies_clicker.style.visibility='visible';
            } else {bb_smilies_clicker.style.visibility='hidden';}
    }
    Posted: 1 month ago #
  19. It's extremely hard (impossible actually) to make a default placement that will work with all themes so I had to go with what worked with the built-in and a few others. But glad you worked it out.

    I may revisit this in the future and add other placement options depending on it's popularity and donations.

    Posted: 1 month ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.