Vakarian96 Posted February 22, 2023 Posted February 22, 2023 Based on the topic: https://invisioncommunity.com/forums/topic/472186-twitter-emoji-dont-work/#comment-2926789 can someone tell me in which file I can change the inclusion from the cdn to my Local Server? So: https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/1f600.png To: https://OWNDOMAIN.tld/twemoji/assets/...... Thanks 🙂
Nathan Explosion Posted February 22, 2023 Posted February 22, 2023 (edited) If the intention is to host the images on your own server instead of the cdn, then it's not as simple as a single file edit. It's... a language string update, to handle the display of a small number of items in the ACP (that's what the issue was in that linked topic) a modification of core ips JS which contains the hard-coded cdn URL (JS which isn't stored in a local file, but in a database table) a modification (via plugin/app hook, ideally) of a function contained in IPS\Output Edited February 22, 2023 by Nathan Explosion SeNioR- 1
Vakarian96 Posted February 23, 2023 Author Posted February 23, 2023 23 hours ago, Nathan Explosion said: a modification of core ips JS which contains the hard-coded cdn URL (JS which isn't stored in a local file, but in a database table) Do you happen to know which database table it is?
Randy Calvert Posted February 23, 2023 Posted February 23, 2023 (edited) Take a look in core_javascript. Again, it's highly recommended you make a backup of your database and understand these modifications are not directly recommended or supported by IPS. So if something breaks... 😉 Edited February 23, 2023 by Randy Calvert SeNioR- 1
Recommended Posts