How can I hide a post message ?

Stepel

Member
Licensed customer
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 ?
 
I made my helper class and i made it by message_content hook.
Is it good way or not really?
 
Back
Top Bottom