Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter
Support for Vanilla Forums Cloud product

In this Discussion

Follow Us


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

solonovasolonova New
edited February 2012 in Questions

My Vanilla versionis: 2.0.18.2

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.

Answers

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