Advertisement:

Author Topic: Smileys missing completely  (Read 1172 times)

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Smileys missing completely
« on: February 12, 2019, 06:42:39 AM »
Dear all,

I've successfully converted an existing 2.0.15 forum to 2.1 RC 1 and so far managed to make my way through the small issues I've faced alongside that conversion, but now I got to a point I somehow don't manage to solve:
My converted Forum doesn't show the available Smileys in the "Post" form.
Not at all.
It's not that the smileys aren't there (they are, and they are enabled and visible in the "Edit Smileys" settings page.
It's also not that the smileys which are installed won't work. When I manually enter the corresponding smiley "code", it will show in the message just normal.
It's just that the "bar" of smileys, which is usually shown on top of the "Post" form textbox, is missing completely.
Furthermore I've got the SMFPacks Shoutbox 1.4 installed (which is 2.1 RC 1 compatible), and it works well except for the fact that the smiley icon is missing on the shoutbox too.

I'm kinda lost here as all settings seem to be fine.
Any help would be appreciated!

Cheers!
Mike

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,286
  • Gender: Female
Re: Smileys missing completely
« Reply #1 on: February 12, 2019, 06:46:26 AM »
What browser are you using?
What is real?

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #2 on: February 12, 2019, 07:00:25 AM »
I've tried Chrome and Firefox so far.

Cheers!
Mike

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,286
  • Gender: Female
Re: Smileys missing completely
« Reply #3 on: February 12, 2019, 07:14:45 AM »
There's a bug with smileys not showing in IE, I guess that's not the case.

Have you made sure the smileys are set to display in the editor? They can be disabled on the quickreply box.

Edit: Theme settings -> "Use full editor toolbar in Quick Reply"
What is real?

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #4 on: February 12, 2019, 07:25:35 AM »
I don't even have that setting.
Here are my Theme Settings:


Cheers!
Mike

Offline Gwenwyfar

  • Great Wizard's familiar
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,286
  • Gender: Female
Re: Smileys missing completely
« Reply #5 on: February 12, 2019, 07:32:15 AM »
It's under Member Options.
What is real?

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #6 on: February 12, 2019, 07:39:44 AM »
There's even less of it:


Cheers!
Mike

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #7 on: February 12, 2019, 07:43:17 AM »
Ah I see, it's in each member's own "Look and Layout" settings.
Enabled that setting, doesn't change a thing.
I've also enabled the "Wysiwyg" setting, also no change.

Cheers!
Mike

Offline maximus23

  • Native Language Support Specialist
  • SMF Super Hero
  • *
  • Posts: 11,329
  • Gender: Male
  • Smf 2.1 RC2
    • Smf Français Forum non Officiel
Re: Smileys missing completely
« Reply #8 on: February 12, 2019, 07:44:36 AM »
Pas de support par PM ou Courrier...Veuillez utiliser le forum pour vous avoir une réponse rapide à votre demande d'aide. Merci.
Amitiés et à Bientôt...
No support by PM or Mail...You will get better and faster responses in the support forums. Thank you.
Have a nice day...

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #9 on: February 12, 2019, 08:00:36 AM »
Thanks, applied the fix, doesn't change things either.
I do have a clue now.
Looking at the smf_smileys database table, it starts with the smileys that have been defined on my old 2.0.15 board:

...then at the end of that (formerly working) list, something new comes up...


That new (non-working) part, and only that, is what I see in the "Edit Smileys" settings:


Seems to me like the Upgrade Process somehow messed up the smiley configuration.
Only question is: Which is the right way to get this fixed?

Cheers!
Mike

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #10 on: February 12, 2019, 08:37:08 AM »
For what it's worth, I've dropped both "smf_smileys" and "smf_smiley_files" tables and re-imported the smiley set from start, which restores both tables with apparently valid content, and it restores the smileys in the admin panel's smiley settings as well, however the result is still the same: No clickable smileys anywhere.

I'm lost again...

Cheers!
Mike

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,434
    • sbulen on GitHub
Re: Smileys missing completely
« Reply #11 on: February 12, 2019, 10:45:12 AM »
Which sets do you have? 

What happens if you change the default set?
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #12 on: February 12, 2019, 11:04:08 AM »
I've tried the preinstalled "Default" set and the (also standard me thinks) "Akyhne" set.
Changing them shows absolutely no effect on posting, but I can see that the corresponding smileys have been imported correctly in the database.

Cheers!
Mike

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,434
    • sbulen on GitHub
Re: Smileys missing completely
« Reply #13 on: February 12, 2019, 12:55:47 PM »
The 2.0 sets included the default directory (alienine, in .gifs), Aaron & Akyhne.

The 2.1 sets include fugue and alienine (in .pngs).  Those should have been copied over to the Smileys directory when you unpacked the install zip. 

A few more questions -

What are the permissions settings for your Smileys folders & files?

Do you see alienine & fugue in the dropdown when you use the New Smiley Set function under Smiley Sets?

Do you see alienine & fugue folders in your file system?

What do you see when you Inspect (right click, choose Inspect) the smileys bar in the editor?   (Should look something like the attached...)
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #14 on: February 12, 2019, 01:53:53 PM »
The 2.0 sets included the default directory (alienine, in .gifs), Aaron & Akyhne.

The 2.1 sets include fugue and alienine (in .pngs).  Those should have been copied over to the Smileys directory when you unpacked the install zip.
Okay, that's understood.
Yes, the new 2.1 sets are there (in .pngs), I've selected "fugue" now so we're all on the same page and have set this to be the only (and therefore default) smiley set there is.

What are the permissions settings for your Smileys folders & files?
This particular system is a Windows Server 2016 (IIS) and in order to make sure that this cannot be an issue, I've added full permission to "everyone" to the whole SMF 2.1 folder and subfolders for the time being.
I've tried on another Windows Machine with XAMPP locally and get the very same issue.

Do you see alienine & fugue in the dropdown when you use the New Smiley Set function under Smiley Sets?

Do you see alienine & fugue folders in your file system?
Yes to both, seen and selected.

What do you see when you Inspect (right click, choose Inspect) the smileys bar in the editor?   (Should look something like the attached...)
There's the issue: I don't have no smileys bar in the editor.
My editor looks like this:


The only place where I can see the smileys bar is in the admin settings:


I can inspect that bar and it looks fine to me:


The problem is that I cannot for my life get that bar to show in the editor...

Cheers!
Mike

Offline shawnb61

  • Developer
  • SMF Hero
  • *
  • Posts: 1,434
    • sbulen on GitHub
Re: Smileys missing completely
« Reply #15 on: February 12, 2019, 02:05:19 PM »
I think we may need to eliminate the possibility the Shoutbox is the problem... 

Could you try de-installing Shoutbox?



Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #16 on: February 12, 2019, 02:47:38 PM »
Did so before already, no change.

Cheers!
Mike

Offline SychO

  • Lead Customizer
  • SMF Hero
  • *
  • Posts: 1,526
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Smileys missing completely
« Reply #17 on: February 12, 2019, 03:09:14 PM »
So you can't even see the smileys when creating a new topic ?

Imazighen

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: Smileys missing completely
« Reply #18 on: February 12, 2019, 04:14:35 PM »
I'd be inspecting the browser tool's "console" for JS errors.

Offline Storebror

  • Semi-Newbie
  • *
  • Posts: 31
  • Gender: Male
  • Learn - Challange - Improve
    • Special Aircraft Service
Re: Smileys missing completely
« Reply #19 on: February 13, 2019, 12:44:20 AM »
Okay, we're a tad further.
Today I have started from scratch again, with the full backup of my SMF 2.0.15 forum, then uninstalled all mods, made sure that the log was (and stayed) error-free and then performed the upgrade again.
Smileys were there.
Then I installed the shoutbox mod.
Smileys were gone.
Then I uninstalled the shoutbox mod.
Smileys were there, but I got errors about missing hooks.
Removed the hooks, smileys were there, errors gone.
Installed shoutbox, smileys were gone.
Left the shoutbox installed but deactivated in settings: Smileys were there, no errors.
Activated shoutbox again: Smileys are gone.

And indeed there are JS errors, two of them.

First error:
Code: [Select]
Error parsing header X-XSS-Protection: 1, 1; mode=block: expected semicolon at character position 1. The default protections will be applied.
index.php?action=post;topic=60554.0;last_msg=666330:1
Clicking on the error link shows that it complains about the main source's doctype, this "error" cannot be taken serious apparently:
Code: [Select]
<!DOCTYPE html>
Second error:
Code: [Select]
colorpicker.js:78 Error parsing header X-XSS-Protection: 1, 1; mode=block: expected semicolon at character position 1. The default protections will be applied.
ColorPicker_ColorBox @ colorpicker.js:78
The complaint concerns this line of code:
Code: [Select]
document.write('<div>');and it complains about anything past the dot after "document".
This seems odd to me.
"document.write" should not be allowed anymore?

Cheers!
Mike