Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

['Discussions']['Dismiss'] dont work

solonovasolonova New
edited February 2012 in Vanilla 2.0 - 2.8

My Vanilla versionis:

I added this line in my config.php:

$Configuration['Vanilla']['Discussions']['Dismiss'] = FALSE;

But the users can still dimiss discussions. What am i doing wrong?

Thank you.


  • Options
    solonovasolonova New
    edited February 2012

    Ok i found the problem.

    Not work in announcement, then i edit "viwes/discussions/helper_function.php" and comment this line:

    $Sender->Options .= '<li>'.Anchor(T('Dismiss'), 'vanilla/discussion/dismissannouncement/'.$Discussion->DiscussionID.'/'.$Session->TransientKey(), 'DismissAnnouncement') . '</li>';

    Problem solved ! Thanks to me ! :P

Sign In or Register to comment.