Smilies as CSS Sprites

Discussion in 'Have You Seen...?' started by Kier, Sep 21, 2011.

  1. Brogan Well-Known Member

  2. erich37 Well-Known Member

  3. Brogan Well-Known Member

    Log in to cPanel and click on the phpMyAdmin icon.

    Select the database from the left hand side.

    Click on the Import tab and browse to the file on your PC.

    Or click on the SQL tab and paste the queries into the window.

    Make sure you truncate (empty) the table first though using this query:
    Code:
    TRUNCATE TABLE xf_smilie;
    Then edit and save a smiley to update the cache.
  4. erich37 Well-Known Member

    thanks, but this is too complicated for me...... I will leave it as is.
  5. chousho Active Member

    It's a little awkward (in my opinion), to see the preview of the image just floating to the right.
    I actually prefer image manipulation such as on sites like Facebook--where the whole image is shown, and the "current image" part is completely visible and other parts are darkened out. Also, allowing for "dragging the image" to that position you want, and then updating the values of the spinbox.

    Would this be possible eventually?
  6. Alfa1 Well-Known Member

    Why not serve all images as sprites? That would save an insane amount of page load.
  7. Shelley Well-Known Member

    The more smilies that are added within the spritesheet saved out in png-8 the chances are you'll start loosing quality (I can see it already in the current spritesheet) I understand why the devs ddd this but let's say I add more with more colour variations you'll definitely start seeing the smilies look rougher around the edges and colours looking washed out.

    Then if you use png-24 you need to balance that out whether quality takes priority or kb.

    And that is just one issue you can face with all smilies. You throw everything icons, images, smilies on png-8 spritesheet and you'll def see a loss in quality.

    It's really a juggling act, one way you can go around it results in a compromise and vice versa. It's down to what way you wish to get around it. Regardless of that, you could actually throw everything on a sheet yourself and re-arrange the coordinates smilies, nodeicons, xen ui icons. Nothing really stops people from taking and/or going down this route.
    Audentio likes this.
  8. Alfa1 Well-Known Member

    Most people are not able to do that. This is why its good to have this functionality out of the box. The performance benefit is quite large. I'm just testing it out on vbulletin and pages load ~5 times faster.
  9. Shelley Well-Known Member

    I'm not disputing with regards to the benefits, what I'm saying is there are compromises no matter what route you take. For you it's saving on http requests and gaining speed performance whilst for your average person they may think "hmmm those images look awfully washed out, taccy on png-8" Let me change that. They find out they can't they haven't got the knowledge to deal with spritesheets. It works both ways, since you seem to have the knowledge you can easily throw all the images on a spritesheet and modify to your needs job done 20 minutes or less out of your time.

    Again, I'm not disagreeing with you about the benefits, i know what they are.
    Alfa1 likes this.
  10. infis Active Member

  11. fredrikse Member

    What tool do you use to make these nice looking screencasts?
    chousho likes this.
  12. infis Active Member

    What kind of screencasts do you mean?
  13. Clickfinity Well-Known Member

    I think he means Kier's video in the first post of the thread?
  14. fredrikse Member

    That's correct!

    When I relaunch my existing forum with Xenforo I'm thinking about doing a series of screencasts to educate my memebers and really get the message out what this platform can do :)
  15. Gabby Active Member

    Ok I'm gonna say what I'm sure most girlies may be thinking during and after watching this very helpful video.

    Holly Moley, you have such a wonderful voice Kier. I'm both relaxed and tingly all over. LOL Well if Xenforo fizzles (and we know it won't) you sure will have a career in professional narration or voice over.
    Ok, there I said it.

    Ahh.. I'm so relaxed now. LOL

    On a technical request. The smilie symptom needs some work> Multiple adds, catagories and drag to position would be nice.

    Thank eee... I now have my first forum crush. LOL
    ristis and x_Stricken_x like this.
  16. Caliburn Active Member

    Awesome Kier! Keep it up buddy! xenForo will be the forum to rule them all!

    Today I learned that Kier's voice can give women an orgasm. True story.

    sQsn1.gif
  17. GBLTeam New Member

Share This Page