1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

@imagePath for Smilies Please

Discussion in 'XenForo Suggestions' started by DRE, Jun 12, 2012.

  1. DRE

    DRE Well-Known Member

    Please let use use @imagePath for Smilies.

    Currently default smilie path is set as


    Using this link though: @imagePath/xenforo/xenforo-smilies-sprite.png

    Does not work. It only works in Style Properties or in CSS files.

    I ask because I'd like to use a CDN for all smilies when I set it in Style Properties/General/Path to images.
    rafass, CyclingTribe, Claudio and 4 others like this.
  2. Adam Howard

    Adam Howard Well-Known Member

    This would only be logical.

    I would add onto the request that all images currently within XenForo should comply to the @imagePath protocol. The fact that it currently doesn't, seems odd and perhaps was a general oversight.

    8thos likes this.
  3. DRE

    DRE Well-Known Member

    Yeah. We're able to do something like that in vBulletin.
  4. Adam Howard

    Adam Howard Well-Known Member

    We're able to do something like that not just in vBulletin, but also phpBB, SMF, IPB, Burning Board, Word Press, ect...ect...
    8thos likes this.
  5. Lisa

    Lisa Well-Known Member

    I would be happy just to be able to use different smiley sets depending on the style :)
    8thos and Shelley like this.
  6. Shelley

    Shelley Well-Known Member

    Replacement variables were great for this especially if you had multiple styles, with different coloured backgrounds and you happen to have gif smilies that are prone to matting issues because say one background on one style was light and the other styles background was dark.

    8thos and Lisa like this.
  7. DRE

    DRE Well-Known Member

    Well that's pretty deep. This feature would be even more awesome now that you mentioned that.
  8. allmoz

    allmoz Member

    yea... i tried this today... a shame...
    specialy cose for some special days like halloween or chrismas , is awesome to change some emoticons whit the special day style
  9. Weppa333

    Weppa333 Active Member

    in the meantime, you can perfectly put hardlinks to the smileys, with the cdn domain+url
    (this is what I did)
    For each smiley.

    It works as expected, even in the ACP.
  10. Shelley

    Shelley Well-Known Member

    I'm not following you, my own fault. Could you possibly explain further how you accomplished this, and a link to your forum where you've managed to do this?

    Just so I understood you've successfully have different smilies per style?
  11. MattW

    MattW Well-Known Member

    I think they are referring to the URL for each smiley in the ACP.

    So rather than being /styles/default/xenforo etc, it's the full URL of the file hosted elsewhere, such as
    Shelley likes this.
  12. Shelley

    Shelley Well-Known Member

    Nothing to get excited about then. Thanks. I thought they somehow did the replacement type thing that you can do in vb.

Share This Page