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
Читать далее...
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
Читать далее...