Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Critical: Update to 2.1.8, released 15 Jan.

How can I remove the #item_ or..

edited February 2012 in Vanilla 2.0 Help

I want that when the user has already visited a discussion, that the URL with the #item_ won't hide the text at the top. right now, when the user visited a discussion, it brings him to the last comments, but hides all the above comments. I don't want that. Is it possible to fix, or maybe change the time that is related to the #item generation (which I want to set to never))?

Using latest version

Thanks

Tagged:

Best Answers

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    edited February 2012 Answer ✓

    as i see you are looking for this setting

    $Configuration['Vanilla']['Comments']['AutoOffset'] = TRUE;

    use

    $Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE;

    to make your users to come to first comment rather than going to the last comment if they have already visited that discussion

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

    solonova
  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    Answer ✓

    sorry forgot to mention.

    this like you need to add into /conf/config.php.

    look if the line is already there then you can just make it FALSE or just add the line in the config.php

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

Answers

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    edited February 2012 Answer ✓

    as i see you are looking for this setting

    $Configuration['Vanilla']['Comments']['AutoOffset'] = TRUE;

    use

    $Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE;

    to make your users to come to first comment rather than going to the last comment if they have already visited that discussion

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

    solonova
  • In which file this line is located?? WHich folder?

  • sahotataransahotataran Developer, Bay Area - CA ✭✭✭
    Answer ✓

    sorry forgot to mention.

    this like you need to add into /conf/config.php.

    look if the line is already there then you can just make it FALSE or just add the line in the config.php

    Theme Charcha for great desktop and mobile experience! - drop me a message :)

Sign In or Register to comment.