9
I would have to say that in my case the proposed code didn't do much.
though enabling the display check box next to the smileys in the admin panel did help, with both the old and the new code.
so I am guessing that someone decided that the check box no longer means
1)display the smiley in the list on post (reply, new topic etc.) pages, but otherwise use it regularly
instead now it is
2)display the smilie when the code is used. which also means that ALL smileys are displayed below post dialogs. which also means that the "more smileys" button don't make any sense anymore.
I would also point out that option 2 doesn't really make much sense. Besides the thing that it ruins the old way of doing things, and goes against the descriptions, it also don't make much sense to me to have smileys in my db and then disabling them from use. that is what the "delete" button is for? am I wrong?
please return this to the old ways? should I complain on some official channel? I don't know where... on the bug tracker?
anyway the solution that works for me is
in /class/module.textsanitizer.php
line #97
if ($getsmiles = $GLOBALS["xoopsDB"]->query("SELECT * FROM ".$GLOBALS["xoopsDB"]->prefix("smiles").' WHERE display=1')) {
replace with
if ($getsmiles = $GLOBALS["xoopsDB"]->query("SELECT * FROM ".$GLOBALS["xoopsDB"]->prefix("smiles"))) {
this will return the old behaviour. or at least it did for me.