Members who reacted to message #5282

All (12) Like Like (6) Haha Haha (6)

    1. Haha

      Flash63

      Well-Known Member
      • Messages
        2,130
      • Reaction score
        5,945
      • Points
        338
    2. Like

      wascaptain

      Well-Known Member From NULL
      • Messages
        1,123
      • Reaction score
        4,731
      • Points
        338
    3. Haha

      curious2garden

      Well-Known Mod From SoCal
      • Messages
        47,356
      • Reaction score
        218,419
      • Points
        388
    4. Like

      manfredo

      Well-Known Member
      • Messages
        8,122
      • Reaction score
        46,080
      • Points
        363
    5. Haha

      farmerfischer

      Well-Known Member From mars pluto Saturn
      • Messages
        8,141
      • Reaction score
        19,521
      • Points
        388
    6. Like

      EhCndGrower

      Well-Known Member
      • Messages
        1,863
      • Reaction score
        8,978
      • Points
        313
    7. Like

      Ozumoz66

      Well-Known Member From SW Ontario
      • Messages
        2,466
      • Reaction score
        16,000
      • Points
        313
    8. Haha

      BobBitchen

      Well-Known Member From In da garden
      • Messages
        7,918
      • Reaction score
        45,419
      • Points
        388
    9. Like

      Unga Bunga

      Well-Known Member 63
      • Messages
        981
      • Reaction score
        3,480
      • Points
        193
    10. Haha

      Jeffislovinlife

      Well-Known Member
      • Messages
        17,328
      • Reaction score
        95,258
      • Points
        363
    11. Haha

      Laughing Grass

      Well-Known Member From Toronto, ON
      • Messages
        25,998
      • Reaction score
        184,222
      • Points
        388
    12. Like

      lokie

      Well-Known Member From the great state of CONFUSION.
      • Messages
        12,454
      • Reaction score
        61,250
      • Points
        388
  • Loading…
  • Loading…
Top
// Add this to your XenForo extra.js template or include in a separate JS file // 1. Basic Twemoji Implementation $(document).ready(function() { // Load Twemoji library $.getScript("https://unpkg.com/twemoji@14.0.2/dist/twemoji.min.js", function() { // Function to replace native emojis with Twemoji function replaceTwemoji() { // Parse the DOM to replace emojis twemoji.parse(document.body, { folder: 'svg', ext: '.svg', callback: function(icon, options) { // Exclude certain characters if needed switch (icon) { case 'a9': // © copyright case 'ae': // ® registered trademark case '2122': // ™ trademark return false; } return ''.concat(options.base, options.folder, '/', icon, options.ext); } }); } // Initial replacement replaceTwemoji(); // Watch for new content (like when loading new posts) $(document).on('xf:layout', function() { replaceTwemoji(); }); // 2. Modify the XenForo emoji picker to use Twemoji if (XF.EmojiCompleter) { // Override the default emoji completer XF.EmojiCompleter = XF.extend(XF.EmojiCompleter, { insertEmoji: function(shortname) { // Call the original method to insert the emoji this.__super(shortname); // After insertion, replace with Twemoji setTimeout(function() { replaceTwemoji(); }, 10); } }); // Replace emojis in the picker $(document).on('shown.bs.dropdown', '.js-emojiContainer', function() { setTimeout(function() { twemoji.parse(document.querySelector('.js-emojiContainer'), { folder: 'svg', ext: '.svg' }); }, 50); }); } }); }); // 3. Add CSS for proper emoji display $(document).ready(function() { // Add CSS for emoji styling $("