December 29, 2016 in Technical Problems
I just updated my emoticons and was wondering how do I rebuild them in post?
You don't - there is no rebuild posts functionality (go to Product Feedback to request one)
Additionally, emoticons are not stored in the posts as a short form:
Instead as a long form:
<img alt=":D" data-emoticon="" height="20" src="/emoticons/biggrin.png" srcset="/firstname.lastname@example.org 2x" title=":D" width="20" />
So, if your process for updating them involved deleting existing version of the emoticon and creating a new version of the emoticon, then you would need to process a SQL query to update all instances of:
<img alt=":D" data-emoticon="" height="20" src="/emoticons/biggrin_newversion.png" srcset="/emoticons/biggrin@2x_newversion.png 2x" title=":D" width="20" />
A better method to do this would have been to leave the existing emoticon entry in the ACP and replace the file with the new one via FTP instead.
An even better option would be if an 'update emoticon' option existed to allow you to edit an existing emoticon and then upload a new file and have the functionality then rename that file to the correct name so that a rebuild isn't necessary - again, Product Feedback.
@Nathan Explosion you don't have an example query, do you?
This topic is now archived and is closed to further replies.
Started 1 hour ago
Started 2 hours ago
Leon de Graaff
Started 5 hours ago