vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Sakera's Pagenav Improvement (https://vborg.vbsupport.ru/showthread.php?t=147872)

Sakera 05-21-2007 09:00 PM

Sakera's Pagenav Improvement
 
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 if you use this hack.

dope15gd 05-22-2007 08: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 08: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 08:17 PM

thats why i added a screenshot to illustrate it :P

Jon_Simmonds 05-22-2007 08: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 08:27 PM

to much nice to explain .

rjmjr69 05-22-2007 08:28 PM

Quote:

Originally Posted by Sakera (Post 1252929)
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 08:31 PM

Quote:

Originally Posted by Jon_Simmonds (Post 1252937)
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

PHP 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 02: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 03:46 PM

Quote:

Originally Posted by bchertov (Post 1253280)
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 ?


All times are GMT. The time now is 05:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02007 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete