• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

[nodebb-plugin-chat-emote] /em emotes in chat

Scheduled Pinned Locked Moved NodeBB Plugins
6 Posts 3 Posters 3.0k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by psychobunny
    #1

    NodeBB Chat Emote Plugin

    This NodeBB plugin allows users to do /em emotes in the real-time chat window.

    emote

    Installation

    npm install nodebb-plugin-chat-emote
    

    Note: you need to be fully up to date for this to work, at least this commit: 45a5b888248de651f7cebd96882a9ce81f6039f8

    1 Reply Last reply
    1
  • SchamperS Offline
    SchamperS Offline
    Schamper Plugin & Theme Dev
    wrote on last edited by
    #2

    Nice! I want to put this into shoutbox eventually, but I'll have to majorly refactor the parsing first... I'll steal your code then 😄 (nah I'll give you creds)

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #3

    haha its like, one line of code go for it 😛

    1 Reply Last reply
    0
  • SchamperS Offline
    SchamperS Offline
    Schamper Plugin & Theme Dev
    wrote on last edited by
    #4

    Looked at your code for a bit, adding your own hook into core first eh 😄

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #5

    Hahaha, that's one of the advantages of being a core dev... I suppose that's why our plugins only count on weekends 😉

    1 Reply Last reply
    0
  • SchamperS Offline
    SchamperS Offline
    Schamper Plugin & Theme Dev
    wrote on last edited by Schamper
    #6

    Been thinking and I suppose it's best if I just use filter:messaging.parse as well for the shoutbox. That way it's also easily expandable by plugin 😄

    Edit:
    On closer inspection might not be such a good idea as I originally thought 😄 Will be tricky with the uids, seeing as with shouts you only have 1...

    Edit2:
    Got it working 🙂

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development