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.
page turning problem
jeongwee
✭✭
vanilla 2.1b2
how do i do ,so the page wont auto turn to the last comment (#latest) when every time i click on a discussion ?
its so trouble to see the discussion content when a discusion had 2+ pages,i have to click page 1 to make the page go back so i can see the discussion content.
does anyone also felt its uncomfortable?
0
Best Answer
-
Shadowdare MVP
In Vanilla 2.1+,
$Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE;
doesn't remove#latest
from the URL. It stops the HTML tag with the "latest" ID from being rendered in the view, so having#latest
in the URL doesn't do anything.Add Pages to Vanilla with the Basic Pages app
1
Answers
nvm , i have solved it just add a $Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE; to config.php.
No. Latest only redirects to page 2 if I have already read the discussion. So I do not need to see it again.
Just in case you were also interested in opinions about the feature ;-)
looks still not working.......why?
i tryed delete #latest in a url before enter it, looks works.it auto turn to the start of a discussion without delay.
does there a way to delete #latest on each discussion url?
like when we open a discussion the original url is
http://vanillaforums.org/discussion/25132/we-won-people-s-choice-award-for-best-forum-software#latest
how do we make it ,so every time when we open a discussion the url is
http://vanillaforums.org/discussion/25132/we-won-people-s-choice-award-for-best-forum-software
everyone know that?
@R_J said: No. Latest only redirects to page 2 if I have already read the discussion. So I do not need to see it again.
problem is its also add a #latest on a unread discussion.its so uncomfortable.
if a disussion had a lot of comments,ppl have to turn back the page to checking the new comments by manually .
whatever you have to roll a page sometimes,auto turn to the latest comment just annoyed.
also for the discussion poster,he will like ppl to see his dicussion content frist.
In Vanilla 2.1+,
$Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE;
doesn't remove#latest
from the URL. It stops the HTML tag with the "latest" ID from being rendered in the view, so having#latest
in the URL doesn't do anything.Add Pages to Vanilla with the Basic Pages app
@Shadowdare hmm, you are right.
i just found the page which still turning to the end are posted before i addedd $Configuration['Vanilla']['Comments']['AutoOffset'] = FALSE;
You could try a custom route, I think, but I couldn't help you with that, sorry...