Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

"Deleted Discussions/Comments Visible" do nothing?

edited September 2006 in Vanilla 1.0 Help
Apparently, irrespective of whether I have "Deleted Discussions Visible" and "Deleted Comments Visible" selected on my role, it refuses to show deleted comments and discussions. I checked, they're in the database, but they don't seem to appear. Thinking that maybe they were just hidden by the CSS, I looked in the raw html, but they were not visible there either. Did I screw something up upgrading to 1.0.1?

Comments

  • edited September 2006
    D'oh! Is there any way to turn these settings on for all users? I'd write an SQL query, but user preferences are not stored in their own fields.
  • Idunno if you can do regex on an update, otherwise I guess you would have to loop through and update the prefrences for each user.

    Good idea for an add-on? Force user-prefrences... sets defaults for new users...
  • edited September 2006
    Well where are the defaults stored?

    EDIT: Bingo. Just add

    $Configuration['PREFERENCE_ShowDeletedDiscussions'] = '1'; $Configuration['PREFERENCE_ShowDeletedComments'] = '1';
    to conf/settings.php
  • awesome, i spent about half an hour last night regexing users preferences to default to showing bookmarks/search history etc in the panel. that'll make things slightly easier :)
This discussion has been closed.