I'm creating an open source AI moderation system for wpForo, I have got it working and am almost ready to share it. But things are holding me back. The before post/post_edit/topic hook actions ( such as 'wpforo_before_add_post') aren't running.
I just checked whether there is documentation on wpForo hooks for this stuff, before and after hooks. I didn't find anything. AI helped by getting a few but they don't work. Can you please make a documentation page on wpForo hooks, especially for post and topic life cycle: on before and after post , on before and after edit, on before and after delete. etc.
Hi,
You can find the documentation here: https://wpforo.com/docs/wpforo-v2/development/wpforo-hooks/
Total Hooks: 609 occurrences
- Action Hooks: 227 unique hooks
- Filter Hooks: 382 unique hooks
Furthermore, due to the problem of not being able to append the message at the end of the post body, I am requesting a hook to programmatically filter the post data after it has been added. I am currently investigating the changes I need to make to use the current hook correctly
Specifically, I am requesting a filter for after add topic, after add post, after add topic-edit, and after add post-edit. currently my code is unable to make changes to the topic or post body, hence I am unable to append the AI response at the end of the post.
Hi @cola ,
Thank you very much for your effort. The new major version of wpForo 3 is almost ready and the beta version will be released for early adopters very soon. This is an AI Edition of wpForo which includes 15 major AI features with about 50 AI sub-features. It covers all AI based moderation as well. During this active development and major release process we cannot play with the hooks and we'll be able to do core hook changes once the first beta is released.