How to save additional data to a Post

Status
This content is read-only, or is not open for further replies.

delzhand

Guest
offline
I'm trying to add a checkbox to posts that allows users to toggle a change to the way the post is presented in a thread.

I've successfully added a column to the xf_post table. I have a listener that exposes the data to the post, and I'm able to both show a checkbox in the post_edit template populated with the right value and add a css class in post_macros where I need it. I manually flagged some posts in the database to test it out and these parts work great.

However, I'm struggling to...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom