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.

Disable anchors/jump to last forum post

edited August 2007 in Vanilla 1.0 Help
Is there any way to disable the "Jump to the last read comment when clicking on discussion topic" option for an entire Vanilla install? I've just finished adding about 20 tutorials, each with several steps in separate comments, to my forums. I think my users will be terribly confused when they click on a tutorial and find themselves at the end instead of the beginning! Thanks in advance!


  • Options
    edited August 2007
    It's a user option. If you want you can turn it off globally using the Global Preference Setting extension. Would that do the trick?

    What would perhaps be more useful would be a way to turn that option off for a whole category... Mark? :)
  • Options
    OK, I set JumpToLastReadComment = 0. The preferences field in the database is a little confusing (s:21:"JumpToLastReadComment";i:0;?) so I'm not sure if I did it right... It looks like I have to re-set any changes each time a new member joins... Is that right? Thanks for your help!
  • Options
    You can turn the default preference off by adding this line to conf/settings.php:$Configuration['PREFERENCE_JumpToLastReadComment'] = '0';
    Now all new users will have it turned off. (This, and other defaults can be found in appg/settings.php, If you wish to change them, they should be copied to conf settings first.)

    Wouldn't be very hard to override the user's preference based on whatever conditions you set in a extension... I suspect what would be hard would be making some links jump and others not on the same page...
This discussion has been closed.