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

Space After Smilie 1.0.0

No permission to download

Chris D

XenForo developer
Staff member
#6
I won't be updating this add-on because there's lots of iterations that people might want including spaces or double spaces or spaces before or after so I will now leave the rest of it up to you guys :)

If you want to make these changes yourself, open this file in a text editor:

library/SpaceAfterSmilie/BbCode/Formatter/Base.php

You will see two variables in this file:

$_smilieTemplate
$_smilieSpriteTemplate

You can modify these as you wish. As you know, by default this add-on creates a space at the end of the smilie. You can see where these two spaces are created as they are indicated by  

To put the space at the beginning you would just add &nbsp; right before <img on each line.

So with that information you can now easily play around with it yourself. Have the space before and after, have multiple spaces if you wish. Good luck :)