1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I hide a post message ?

Discussion in 'XenForo Development Discussions' started by Stepel, Nov 20, 2014.

  1. Stepel

    Stepel Member

    Hi,

    I added column to table xf_post.
    I want to change displayed post if the value in this column is 1.
    I don't want to change REALLY message in database, I just want to "hide" real message and put there example my phrase.

    What is the best way to do it ?
    Should i ovverride preparePost method in Post Model ?
     
  2. Stepel

    Stepel Member

    I think that i make helper..and "hide" message by template modification...
     
  3. Stepel

    Stepel Member

    I made my helper class and i made it by message_content hook.
    Is it good way or not really?
     

Share This Page