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

Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

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

solonovasolonova New
edited February 2012 in Vanilla 2.0 - 2.2

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.