Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Topics seen as if they were new messages when logged out

edited November 2007 in Vanilla 1.0 Help
Hello there, I'd like to know which are the files to edit because I don't want to see topics as if they were new messages (yellow colour) when logged out. Thanks in advanced, martin.-

Comments

  • I discovered how to do it. I'll post it just in case someone needs it. Open: library/Vanilla/Vanilla.Class.Discussion.php Find: $this->DelegateParameters['StatusString'] = &$sReturn; $this->CallDelegate('GetStatus'); After add: if ($this->Context->Session->UserID == 0) { $sReturn = ' NoNewComments'; $sReturn .= ' Read'; } Good luck! ;)
This discussion has been closed.