Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 22, 20232 yr 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 🙂
February 22, 20232 yr 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, 20232 yr by Nathan Explosion
February 23, 20232 yr Author 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?
February 23, 20232 yr Community Expert 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, 20232 yr by Randy Calvert