I've made some changes to /admin/adminlib.php and /admin/setting/appearance.php so that I now get a list of all the smilies and can add, delete, or edit any of them to give me what I need. They are written to a single database record in mdl_config and look something like this:
-Edit:
Well, you WOULD be able to see it but the codes are being converted to smilies! They are the same codes you'd see if you hit the smiley button in the html editor.
Unfortunately, this is where my skills run into a dead end - I need to be able to pull this list back into the $emoticons variable in /lib/weblib.php so that Moodle uses the list in the database rather than the hardcoded list in /lib/weblib.php.
Could anyone share how to do this? Nothing that I've tried seems to load anything.
Thanks,
Matt