Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: simplehome on March 12, 2013, 09:24:39 AM

Title: New Smiley not show
Post by: simplehome on March 12, 2013, 09:24:39 AM
I've uploaded a new smiley set. It is pointing to correct path at http://www.xxx.com/Smileys/wanwan/ and it correctly show on "Edit tab" in the back office. However the new smiley set is not showing on post. When I view source, it is pointing to http://www.xxx.com/Smileys/aaron/.

How can I fix this issue ?
Title: Re: New Smiley not show
Post by: Deaks on March 12, 2013, 09:46:42 AM
Sounds like you havent sent the new smileys to default

go to Admin - Forum - Smileys and Message Icons - Settings and under Default Smiley Set change that to wanwan
Title: Re: New Smiley not show
Post by: simplehome on March 12, 2013, 10:12:41 AM
Quote from: Runic on March 12, 2013, 09:46:42 AM
Sounds like you havent sent the new smileys to default

go to Admin - Forum - Smileys and Message Icons - Settings and under Default Smiley Set change that to wanwan

Thanks for your help. I already set the new smileys to default. As I mentioned, it correctly show on Back Office - Admin but not show on post.
Title: Re: New Smiley not show
Post by: simplehome on March 13, 2013, 11:15:01 AM
The issue has not been resolved. Are there any other suggestions ?
Title: Re: New Smiley not show
Post by: simplehome on March 13, 2013, 11:38:13 AM
More info...I tried to use repaire_settings.txt to change smileys path but /aaron is always appended  to the path for example .../Smileys/wanwan/aaron
Title: Re: New Smiley not show
Post by: Arantor on March 13, 2013, 12:18:09 PM
The smileys configuration that you've changed is supposed to point to the Smileys folder, not a given smiley set within it!

After that, it sounds like the system needs to be told that wanwan is a new smiley set (that lives within the Smileys folder)
Title: Re: New Smiley not show
Post by: simplehome on March 13, 2013, 01:26:18 PM
Quote from: Arantor on March 13, 2013, 12:18:09 PM
The smileys configuration that you've changed is supposed to point to the Smileys folder, not a given smiley set within it!

After that, it sounds like the system needs to be told that wanwan is a new smiley set (that lives within the Smileys folder)

I've changes smileys configuration back to point to the Smileys folder and then set wanwan is a new Smileys set. It show correctly in Edit Smileys in admin but not work in post.

Where can I manually set the Smileys path ? or any other suggestions ?
Title: Re: New Smiley not show
Post by: kat on March 13, 2013, 02:03:36 PM
Quote from: simplehome on March 13, 2013, 01:26:18 PMWhere can I manually set the Smileys path ?

Admin>Smileys and Message Icons>Settings.

Oddly enough. ;)

Base URL to all smiley sets

Absolute path to all smiley sets
Title: Re: New Smiley not show
Post by: simplehome on March 14, 2013, 09:07:21 AM
Quote from: K@ on March 13, 2013, 02:03:36 PM
Quote from: simplehome on March 13, 2013, 01:26:18 PMWhere can I manually set the Smileys path ?

Admin>Smileys and Message Icons>Settings.

Oddly enough. ;)

Base URL to all smiley sets

Absolute path to all smiley sets

Base UFL and Absolute path are set correctly but it does not work. I'm wondering that it always point to /aaron appending the path that is set.

I view source and I found this
smf_smileys_url = 'http://www.xxx.com/Smileys/aaron'

How can I resolve this ?
Title: Re: New Smiley not show
Post by: kat on March 14, 2013, 09:26:08 AM
Do you have that smiley set set as the default?
Title: Re: New Smiley not show
Post by: simplehome on March 14, 2013, 09:31:19 AM
Quote from: K@ on March 14, 2013, 09:26:08 AM
Do you have that smiley set set as the default?

I set "wanwan" as my the default but it is pointing to aaron.
Title: Re: New Smiley not show
Post by: kat on March 14, 2013, 09:35:35 AM
Have a look at Admin>Smileys and Message Icons and click "Modify", to the right of the smiley set name.

A quick warning about having different smiley sets...

If you have more than one smiley set, it's advisable to make sure that all sets contain graphics files with exactly the same names in all sets.

The reason for this, is obvious, when you think about it.

If two of your members are using two different sets of smileys, they won't see each-others, if the files don't have the same names! Or, if one image appears in one set, but not the other, they'll just see weirdness.
Title: Re: New Smiley not show
Post by: simplehome on March 14, 2013, 10:02:19 AM
Quote from: K@ on March 14, 2013, 09:35:35 AM
Have a look at Admin>Smileys and Message Icons and click "Modify", to the right of the smiley set name.

A quick warning about having different smiley sets...

If you have more than one smiley set, it's advisable to make sure that all sets contain graphics files with exactly the same names in all sets.

The reason for this, is obvious, when you think about it.

If two of your members are using two different sets of smileys, they won't see each-others, if the files don't have the same names! Or, if one image appears in one set, but not the other, they'll just see weirdness.

Thanks for your suggestion. I've copied all graphic files from 'wanwan' to 'aaron' folder and it works.
:D
Title: Re: New Smiley not show
Post by: kat on March 14, 2013, 10:32:23 AM
That, almost exactly, is what I would've done. :)