View Full Version : Forum Display Enhancements - Sakera's Pagenav Improvement
Sakera
05-21-2007, 10:00 PM
What is this?
A hack to change how the page navigation works in threadbit, for threads there.
It's more likely that users that has followed the thread before needs the last pages, than the first ones, and new users starts at page #1 anyway. So the way it works originally isn't too good.
Se attached screenshot to understand this better.
Features
Follows the rules set in the vbulletin options for page navigation generally.
Version History:
1.0 - First release
Please click INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=145187) if you use this hack.
dope15gd
05-22-2007, 09:01 PM
thats pretty clever. I'm not sure that I need it, but it should be useful for other people.
thanks
rjmjr69
05-22-2007, 09:16 PM
Ok since your explanation is a bit off what this does is displays the LAST PAGE of a thread instead of the first......Reversing the normal display order.
Nice idea
reserved awaiting for reports of any errors and or bugs
Sakera
05-22-2007, 09:17 PM
thats why i added a screenshot to illustrate it :P
Jon_Simmonds
05-22-2007, 09:25 PM
what would be good is for un registered members to show 1,2,3 etc and for registered members to show 30,31,32 etc
Barakat
05-22-2007, 09:27 PM
to much nice to explain .
rjmjr69
05-22-2007, 09:28 PM
thats why i added a screenshot to illustrate it :P
I know... the problem is the lazy half brain dead users who will end up asking you for more details. Me, Personnaly got it from the screenshot too. You did gteat work keep the hacks coming..
Thanks for your hard bwork and time much appreciated
Sakera
05-22-2007, 09:31 PM
what would be good is for un registered members to show 1,2,3 etc and for registered members to show 30,31,32 etc
To achieve this, edit the plugin and add this around the code
if ($vbulletin->userinfo['usergroupid'] != 1)
{
// PREVIOUS CODE HERE
}
Personally i see no use for this as still, unregistered users that hasn't followed the thread from before will go to the first post anyway.
bchertov
05-23-2007, 03:15 PM
My thought about how a thread display should work is that the thread should be displayed as if the user clicked on the "View first Unread" link at the top of the thread. Doesn't that make sense?
Sakera
05-23-2007, 04:46 PM
My thought about how a thread display should work is that the thread should be displayed as if the user clicked on the "View first Unread" link at the top of the thread. Doesn't that make sense?
That the pagenav should start on the page the user last read ?
Sakera
05-23-2007, 04:46 PM
Confirmed working with 3.6.7
bchertov
05-24-2007, 04:41 PM
That the pagenav should start on the page the user last read ?More that that, it should go to the first unread post. So if there are 50 posts a page, with a total of 170 posts on a thread, and the last post the person read was number #62, the thread should be initially displayed on page 2 and positioned on post #63.
The current VB logic determines the "first unread post" when processing the threaddisplay logic. So maybe a redirect is needed to so the page is displayed with a "#" anchor jump.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.