Skip to content
  • Client actions for posts

    Plugin Development
    5
    0 Votes
    5 Posts
    3k Views
    R
    @pitaj Boy, that was quick! Thanks
  • 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 }