Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla is proud to present version 2.2.
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.

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

solonovasolonova New
edited February 2012 in Vanilla 2.0 Help

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.


  • 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.