Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Important security fix: 2.1.10, released 4 May.

logged in users are sent to last post how can I stop this behaviour?

edited June 2012 in Vanilla 2.0 Help

Hello,

I am using the sharethis plug in. However, I noticed that users are always sent to the last post when they click on a discussion.

For example a link changes from

http://www.becariossenescyt.com/discussion/23/fechas-del-toefl-en-ecuador-y-examenes-de-practica

To

http://www.becariossenescyt.com/discussion/23/fechas-del-toefl-en-ecuador-y-examenes-de-practica#Item_1

This screws the sharethis plug in because it tracks it as a different page.

How can I stop this from happening?

I'd like that both logged in and logged out users be directed to

http://www.becariossenescyt.com/discussion/23/fechas-del-toefl-en-ecuador-y-examenes-de-practica

When ever they go to the discussion.

Thanks.

Best Answer

  • peregrineperegrine MVP
    edited June 2012 Answer ✓

    try this in config.php

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

    if it do what you want it to do then
    to make a change in helper_functions.php - you have to look at the code and make the appropriate changes.

    look for the creation of the link

    echo Anchor($DiscussionName,

    UnderDog

Answers

Sign In or Register to comment.