Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Daddy Posted December 29, 2016 Posted December 29, 2016 I just updated my emoticons and was wondering how do I rebuild them in post?
Nathan Explosion Posted December 29, 2016 Posted December 29, 2016 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: :D Instead as a long form: <img alt=":D" data-emoticon="" height="20" src="/emoticons/biggrin.png" srcset="/emoticons/biggrin@2x.png 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.png" srcset="/emoticons/biggrin@2x.png 2x" title=":D" width="20" /> to: <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.
Daddy Posted December 29, 2016 Author Posted December 29, 2016 @Nathan Explosion you don't have an example query, do you?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.