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.
Bookmarks/Your discussions not showing in CP by default in 0.9.2.2?
lament
✭
just did a fresh install on another site, posted 2 test topics and bookmarked one of them.
in the Control Panel on the left, it's not showing the actual topic discussions under Bookmarks and Your Discussions. Instead it's just showing links to "Your discussions" and "Your bookmarks" under Discussion Filters.
how can i get that functionality back?
in the Control Panel on the left, it's not showing the actual topic discussions under Bookmarks and Your Discussions. Instead it's just showing links to "Your discussions" and "Your bookmarks" under Discussion Filters.
how can i get that functionality back?
0
This discussion has been closed.
Comments
In the meantime, you'd have to hunt it down in the code, which is no small task. Normally I open up the project in komodo and do a "find in files" on the setting name, which in this case is: ShowBookmarks.
What you're looking for are statements like this one on line 146 of library/Vanilla.Functions.php:
if ($Context->Session->User->Setting("ShowBookmarks")) {
If you take a look at the "Setting" method of the User object, you'll see that it takes two arguments - the second argument is optional and defaults to "0" or "off". So, if the user doesn't have this setting, then it will be considered to be off. If, however, you changed line 146 to say this:
if ($Context->Session->User->Setting("ShowBookmarks", 1)) {
Then the default for that setting (in this place in the site) would be "on".
Of course you'd have to find all instances of
$Context->Session->User->Setting("ShowBookmarks")
in the site and set the default for all of them.