New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smileys - user profile issue #4920
Comments
I cannot reproduce this by setting smiley_set to a blank value. Setting it to a random value that certainly doesn't exist sets the dropdown to the Fugue option with a broken icon, however. Can you check the value in your database? |
Yes, confirmed. The exact steps:
No user maint prior. Chrome browser. |
If I clear it out (e.g., using phpmyadmin), and use chrome, the above is easily reproduced. If I use Firefox, the behavior is different. Text smileys are displayed instead of broken icon links. In either browser, if I select 'forum default' what gets stored is 'classic', the forum default. It doesn't empty it out like it should. |
I changed the latter behavior with my smiley preview pr. However I still can't reproduce the other behavior in Firefox. |
Check the Database entry in table prefix_themes. Is the variable with the name of the smileyset with saved with 'cust_x' (sample cust_fugue)? In my database saved a smiley set with added with 'cust_' before the name of the smileyset. Only after I removed cust_ the smileyset was displayed. It can could only have happened with my upgrade from 2.0.15 to 2.1 beta 4. But maybe it will help. x the name of the smileyset |
No prefixes here. Sounds like a mod? |
it is the standard table themes. With prefix i mean smf_ . I don't know if you use the same prefix. Before the test upgrade I uninstalled all mods and other themes. |
@wintstar - I see no smiley settings in my themes table, either on a fresh 2.1 install or on a 2.0.15 => 2.1 upgrade. I have no themes intalled other than the normal default one in these environments. Maybe a screenshot would help? |
The first and 3rd issues above are both due to change to this line: I don't know how to address the 2nd bullet, the initial page load issue. Maybe we need an onload in there, since the js won't otherwise just run on its own? |
I am testing a fix for this. Will submit a PR shortly. |
No, I don't have a screenshot. But I will check it again today and upgrade a test forum. |
In 2.0, my default is the forum default, which is represented as an empty field in the members table. (Note that in 2.0 & 2.1, 'No smileys' is represented as 'none' in the DB.)
Post upgrade, in 2.1, an empty value in the members table is now represented as "no smileys" and a broken icon appears:
The text was updated successfully, but these errors were encountered: