Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How can I remove the #item_ or..

edited February 2012 in Vanilla 2.0 - 2.8

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 ✭✭✭
    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

    There was an error rendering this rich post.

  • sahotataransahotataran ✭✭✭
    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

    There was an error rendering this rich post.

Answers

  • sahotataransahotataran ✭✭✭
    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

    There was an error rendering this rich post.

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

  • sahotataransahotataran ✭✭✭
    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

    There was an error rendering this rich post.

Sign In or Register to comment.