News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Smiley's grayed out

Started by njtweb, August 25, 2020, 07:58:45 AM

Previous topic - Next topic

njtweb

When I go to select another set, they're grayed out and I can't change. I haven't been in there in a long time, probably 4 years. Any reason they'd be grayed out? I also only have "Smiley Sets" and "Settings" in the Smileys and Message Icons part of the ACP.

Thanks for any help in advance.

njtweb

I never knew working with smileys would be as archaic as it is. I figured out why it's grayed out, because I have custom turned off.

However, I have 6 different smiley packs and I can't change them from default. In fact I can delete every single folder of packs, including default and the the same set of smileys are still there.

They URL is https://www.mysite.com/Smileys/ and the absolute path is /home/mysitename/public_html/Smileys

aaron
Akyhne
bsa
default
Shiny_Smiley_Icons
yarex2

njtweb

I give up. Spent 5hrs deleting, re-uploading, re-assigning smileys with what seems like hundreds of cache dumps during and after. I can only get one set to work.

shadav

in your admin under forum go to smileys and message icons then go to settings
change
Default Smiley Set
to what set you want as default

make sure that the box is checked for
Enable customized smileys
(otherwise, the default smileys will be used.)

and if you want custom icons make sure that the box is checked for
Enable customized message icons
(otherwise, the default message icons will be used.)

if you want to allow members to pick which smiley set they can use and not just use the default then make sure the box is checked for
Enable smiley set selection by members

also check the permissions for the folders....make sure they are at least 755

njtweb

I've done this many times, many, many times. I've changed all of the image folder and the files to 755 and when I change to use custom I see half of the default smileys still resolving and the rest, (the smileys I want to use) are all loaded as broken image icons.

shadav

i'm assuming that the "half of the default smileys still resolving" is a caching issue
in your admin go to maintenance and run task to empty cache
then press ctrl + f5 to refresh your browser

if the images still don't show correctly, right click an image and click on open image in new tab/window
does the old or new image show up? if old then press ctrl + f5 again and when image reloads is it the old or the new one now?

for the "Broken image icons"
try running the repair tool
https://wiki.simplemachines.org/smf/Repair_settings.php

njtweb

These are the steps I did.

Upload the new smiley pack folder to the the /Smileys directory
Admin > Smileys and message icons
New Smiley Set > Name the set > Select the Set > Check "Default" > Save
Admin > Maintenance > Run Routine > Empty File Cache
Chrome & FF > Settings > Emty Cache
and for extra confirmation
Ctrl F5 and Shft F5
Nothing changes.
I go to Admin > Smileys and message icons > Settings
I select the new Smiley Set
I check custom > Save
I go through all of the file cache dump process again
I see 7 of the default smileys resolving and all of the new smiley pack images a broken links
I right click on the broken links > Open image in another tab
404 image not found for all of them, but all of the images are in their folder for the new smiley packs.

ITS DRIVING ME INSANE!

shadav

just curious
what's the file names on the broken ones and the extension?

I don't know if it matters but are there any spaces in the file name? and odd characters that aren't alphanumeric? no !@#$%^&* in the name?


try the repair tool  :laugh: it's usually the fix all  :laugh:

njtweb

I'll try the repair tool next. Do I upload directly to the root?


shadav

yes, upload it to the root of your forum and then open it in your browser

njtweb

I did that and opened it and there's a zillion settings in it. Do I just run it with the settings as is?

shadav

you should see where it says something about suggested setting for each line
use what it suggested

njtweb

Quote from: shadav on August 25, 2020, 03:14:25 PM
you should see where it says something about suggested setting for each line
use what it suggested


Ran it, nothing changed.
Your settings were saved. Please confirm all the paths and URLs below, and that your forum works.
Make sure you remove this file!

efk

So you solved it? I think you are not the first who had problems with smileys since 2.0.17 came.

njtweb

Quote from: efk on August 25, 2020, 05:57:03 PM
So you solved it? I think you are not the first who had problems with smileys since 2.0.17 came.

Hi, I actually marked it solved after I gave up trying to figure out for 5 hours this morning.

@Shadav responded later today and offered some suggestions which I tried with no success, specifically the Repair_Tool.

shadav

sorry....I tried
might need someone to actually go poking around in admin and ftp

only other thing would be are you using a custom theme? does it do this with the default theme?
any mods installed?

maybe someone better knowledgeable will come along and offer help

the only last thought I have is how did you upload them? sometimes some ftps can show that it uploaded when in fact it really didn't
maybe try another ftp or your hosts file manager to upload them

Arantor

So did you upload the images to each of the smiley set folders?

If you didn't, you'll have issues with different sets because the whole point of the set is that it expects to find the same filename in whichever set you're currently using - and the set *you* are using is in your profile, which can be different to the set the site is using.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

njtweb

I uploaded both through the package manager and manually, directly to the Smileys folder. Each pack in their own folder in /Smileys/ and then I did the rest through Admin > Smileys and Message Icons.

Arantor

The ones you uploaded via the package manager will only follow the default definitions of smileys.

If you add custom smileys with custom images you need to put them in every set folder that you're actually using, even if you upload them through the admin interface.

Thing is, it looks to me as though the set you have as default is the Varex set and without any customisations being added - and with no missing images in the posting interface. I'm really not quite sure what you've done at this point.
Perhaps it would have been better if I'd simply never bothered. Y'all clearly would be less unhappy that way.

njtweb

I did this, I cleared out the /Smileys folder. Made 3 new folders with the same names, Added the same pack of smileys to each of the folders. Did the cache dumping routine and wound up with the same issue. I have no idea what is going on. I officially give up, don't care and have had enough. White flag.....


Advertisement: