logged in users are sent to last post how can I stop this behaviour?
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
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
-
peregrine MVP
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,
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
1
Answers
use the pagenavigator plugin or modify helper functions.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi, I tried the plug in and it did not do what I wanted. What do I need to change in the function?
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,
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Hi the $Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE; did the trick! Thanks!