Members who reacted to message #4691

All (10) Like Like (10)

    1. Like

      FresnoFarmer

      Well-Known Member From Pah-áh-su, California
      • Messages
        8,644
      • Reaction score
        18,841
      • Points
        388
    2. Like

      biscuitkid

      Well-Known Member From space
      • Messages
        456
      • Reaction score
        225
      • Points
        83
    3. Like

      TWS

      Well-Known Member
      • Messages
        13,431
      • Reaction score
        25,542
      • Points
        388
    4. Like

      Mohican

      Well-Known Member From Dogtown
      • Messages
        18,817
      • Reaction score
        49,582
      • Points
        388
    5. Like

      fumble

      Well-Known Member From dancing in my kitchen
      • Messages
        6,287
      • Reaction score
        11,461
      • Points
        388
    6. Like

      angryblackman

      Well-Known Member From Candyland
      • Messages
        6,956
      • Reaction score
        8,244
      • Points
        388
    7. Like

      757growin

      Well-Known Member From Top of the hill
      • Messages
        4,269
      • Reaction score
        11,760
      • Points
        338
    8. Like

      FLkeys1

      Well-Known Member From So. California
      • Messages
        1,664
      • Reaction score
        7,440
      • Points
        313
    9. Like

      S'Manta

      Well-Known Member From California
      • Messages
        2,264
      • Reaction score
        6,252
      • Points
        303
    10. Like

      lmoore2680

      Well-Known Member 45 From midwest
      • Messages
        1,264
      • Reaction score
        1,358
      • Points
        263
  • 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 $("