Custom Fields
Quote from JohnStaples on September 15, 2018, 10:52 amWould it be possible to add custom fields to a forum? I’d love to be able to use the forum as both a forum and a job board where jobs are posted. So, all of the forums that are just regular forums would not need any custom fields. But the one forum for posting jobs would need several custom fields. Any way to do this? Thanks in advance!!
Would it be possible to add custom fields to a forum? I’d love to be able to use the forum as both a forum and a job board where jobs are posted. So, all of the forums that are just regular forums would not need any custom fields. But the one forum for posting jobs would need several custom fields. Any way to do this? Thanks in advance!!
Quote from Asgaros on September 15, 2018, 6:53 pmHello @johnstaples
If you want to implement custom code and logic into your forum, you can use the available hooks and filters.
- asgarosforum_editor_custom_content_bottom hook: Can be used to implement custom inputs/etc to the lower editor area
- asgarosforum_after_topic_submit hook: Can be used to implement the saving-logic for your custom inputs for new topics
- asgarosforum_after_post_submit hook: Can be used to implement the saving-logic for your custom inputs for new posts
- asgarosforum_after_post_message hook: Can be used to output the saved custom data at the end of a post
Hello @johnstaples
If you want to implement custom code and logic into your forum, you can use the available hooks and filters.
- asgarosforum_editor_custom_content_bottom hook: Can be used to implement custom inputs/etc to the lower editor area
- asgarosforum_after_topic_submit hook: Can be used to implement the saving-logic for your custom inputs for new topics
- asgarosforum_after_post_submit hook: Can be used to implement the saving-logic for your custom inputs for new posts
- asgarosforum_after_post_message hook: Can be used to output the saved custom data at the end of a post