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.
Global Preference Setting
matt
✭✭
Global Preference Setting
0
Comments
Another extension, "Discussion Overview", only makes sense when it replaces the default index page. People can, however, show the overview in a seperate tab -- I don't want that. I want to change some poll settings globally as well.
but all that only makes sense if the users can't change it back individually
I think the only way you're going to get what you want is by creating a Vanilla theme to make the forum look and act exactly as you require. Or perhaps make an extension to remove or replace the parts of Vanilla that you don't want.
I thought if enabling these preferences for every extension is so easy, why isn't disabling them by another extension easy as well? Probably it's best to ask the authors to include an option which disables individual changing of preferences for their extension.
What you should do is use this extension to set the preference globally, then go into the extension responsible for the preference and comment out the line that adds the preferences to the settings pane. But this is a real hack of a way to do it, as it will stop you updating those extensions easily. But it would work.
You'd be looking for lines like the one below. This one is where my extension adds it's preference to the settings pane. Try to find a similar one for "Discussion Overview". Of course, if you're unfamiliar with PHP you could muck things up royally messing with these things.
$Context->Configuration['PERMISSION_GPS_MANAGEMENT'] = '0';
Maybe there's room for an extension to override preferences, removing them from the setting pane before that get a chance to be displayed?
But it bugs me that I have to change that every time I update the extension
I'll give your idea a try. Better than nothing, I think.
$html = <<<END1
See here: http://uk2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
Or am I misunderstanding you?
My FCKeditor one has a VisualEditing Preference. other extensions will have there own stuff.
just run this query in your database
UPDATE LUM_User SET UtilizeEmail = "1" WHERE UtilizeEmail = "0";
Hide my username from the "Who's Online" panel
insanefisher: 'm afraid you have to get deep down and dirty and root around in the extension or database to see what to reset. I don't have time to make it any better, sorry!