Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthormartin_uy
    • CommentTimeNov 7th 2007
     # 1
    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.-
    • CommentAuthormartin_uy
    • CommentTimeNov 7th 2007
     # 2
    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! ;)
Add your comments
    Username Password
  • Format comments as