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

Categories

In this Discussion

Who's Online 19

6apxatCurtisOdenShadowdareericgilletteestlf349141590tc74x00422 +10 guests

Bookmarks/Your discussions not showing in CP by default in 0.9.2.2?

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?

Comments

  • Posts: 290
    also, Mark, long topics break the style with shorter browser windows.

    image
  • Posts: 4,883
    re: panel - go to your account and use the forum preferences form. re: css - Yeah - can someone fix that? *hates css*
  • Posts: 214
    mark - I had the same problem with my own stylesheet, fixed it now. I posted the relevant bits of CSS in another topic somewhere, let me go look for it. edit: here - http://lussumo.com/community/comments.php?DiscussionID=182&page=1#Item_45
  • Smaller font size!!
  • Posts: 290
    @mark: doh didn't even think that.. thanks. /me dons the n00b hat.
  • I think ... Display your browsing history in the control panel Display your private discussions in the control panel Should be on by default.
  • Posts: 290
    hmm.. i think Your discussions and Your bookmarks should be on by default.. :)
  • Posts: 101
    vote for everything control panel should be on by default
  • Posts: 3,235
    Yeah, I'd say discussion filters should be there just for the sake of hunting them down, options in the CP simply extend it without confusing the person. Caught myself asking the same silly question of "where the hell did that option just go?!".
  • Posts: 6
    so how can I turn the 'Display your bookmarks in the control panel' on by default for all users?
  • I'd like to know this too...
  • Posts: 4,883
    The plan was originally that I was going to make it a configuration setting in the next revision. But now I've gone ahead and taken these functions out of the application and moved them into extensions. So, it will take editing of your extensions after the next release.

    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.
This discussion has been closed.