The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Show last post of previous page as first on next?
Hi vB coding gurus, I have a question that's probably been asked maybe a number of times (a google search is hard to get right).
Is it possible to create a plug-in that will make 'showthread' show the last post of the previous page as the first post on the next page? Example: Say 20 posts per page. I want that 20th post to show as the first post on Page 2 and so on. Why? Well as you get on a bit you forget what you saw 5secs earlier and so having that topic of discussion being readily available will make it easier to continue it on... hopefully! I'm not looking for a global first page or anything, I've already seen them. I had a look at showthread.php but it made me cry a little so I'm asking you, the wise ones, if this is possible to do and how. Thanks. |
#2
|
|||
|
|||
Hmm...I guess you could try subtracting 1 from $lowerlimit if it's not 0, then I think you'd also need to increase the number of posts read when $perpage is used, to be $perpage + 1. I haven't tried it but I have a feeling if you were to just add one to $perpage, the page counters wouldn't work right.
Maybe another approach would be to only display $perpage posts, but calculate the first post based on the page (that's what's done now, but it just uses $limitlower = ($vbulletin->GPC['pagenumber'] - 1) * $perpage) But that way, I don't know if the page numbers make sense. It might be easier to just have the post from the previous page be in addition to $perpage. |
#3
|
|||
|
|||
Thanks kh99 I'll try some of those suggestions out on my test board. Appreciate the reply.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|