• 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.4.3 Latest
Buy Hosting
    • All categories
    Load new posts
Log in to post
  • NicolasN

    Client actions for posts

    Scheduled Pinned Locked Moved Plugin Development client javascript plugin action
    5
    0 Votes
    5 Posts
    3k Views
    rbeerR

    @pitaj
    Boy, that was quick! Thanks 🙂

  • barisB

    action:topic.save, action:topic.restore, action:topic.edit changes

    Scheduled Pinned Locked Moved NodeBB Development 0.6.0 action
    1
    0 Votes
    1 Posts
    2k Views
    barisB

    If you have any plugins that use action:topic.save, action:topic.restore or action:topic.edit please read below on the changes coming in 0.6.0. If you have any questions about how to update to the new hooks please feel free to ask.

    The parameter passed to all three hooks has been changed from a topic id to a topicData object.

    plugins.fireHook('action:topic.save', topicData);
    plugins.fireHook('action:topic.restore', topicData);
    plugins.fireHook('action:topic.edit', topicData);

    topicData object contains at least the following data.

    { tid: 3, title: 'test topic', mainPid: 5 }
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
  • Login

  • Don't have an account? Register

  • Login or register to search.