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

XF 1.4 will upgrading overwrite my custom smilies?

Brogan

XenForo moderator
Staff member
#2
If you are using the default style directory, yes.

You should use a custom style directory if you are using non standard images (of any sort).
 

vbuser

Active member
#3
I modified the default style. Is there anyway I can save these changes? I realize now I should have created a separate style.
 

Brogan

XenForo moderator
Staff member
#4
Create a new style directory on the server and copy the files from the default style directory to it.

Then update the image path in the style properties.

upload_2015-1-14_11-6-29.png

That will prevent your customised images from being overwritten when upgrading.
 

Martok

Well-known member
#5
I modified the default style and I have put all of my smilies in the default smiley directory. I didn't think this was a problem though as the files have different names and extensions (they are all .gif whereas the default are .png).
 

Brogan

XenForo moderator
Staff member
#6
As long as your smiley files have a different name and/or extension, that's fine.

If they are the same name and extension as the default files though, they will be overwritten when upgrading.
 

Martok

Well-known member
#7
@Brogan out of interest, when I moved from phoBB to XenForo nearly 2 years ago (wow, time has flown!) I simply edited the default style to what you see today. At the time I thought it was the way to do it. Should I have created a new style and edited that instead? I didn't think it was needed and never use the default 'out of the box' style (and just create a new version of it if I ever need to test something).
 

Brogan

XenForo moderator
Staff member
#8
You don't need to create a new style in the ACP - you can just edit the default style.
A new default style can always be created so it's not necessary to leave the original default style untouched.

However, if you are going to customise any of the style images then I would recommend having a custom style directory and then update the path as shown above.