Jump to content

tired170

Clients
  • Posts

    59
  • Joined

  • Last visited

Reputation Activity

  1. Like
    tired170 got a reaction from BradSmith in Expanded "ignore user" features   
    Hate to bring a four year topic back to life, but in case anyone else is still looking for an answer, we just updated the ignore feature on our board to cover the second solution above.

    In the Topic View -> post template we created a simple test to check for the _ignored value before the post is rendered:

    <if test="userIgnored:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <!-- USER IGNORED; SKIP POST --> <else /> <!-- SHOW POST --> </if> Works perfectly. Now, if I can get a hook to pass the same _ignored value to the $data array in the forumIndex template I can do the same for entire topics started by ignored users.
×
×
  • Create New...