The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi
In the hook : showthread_getinfo .. I've added the following code : if ($thread[forumid] == 111) { $perpage = 1; } I want the forum id 111 to always show 1 post per page. This works fine, however, when I think click "page 2", I get page 1. I assume I need to fiddle with the $pagenumber somewhere. Any pointers would be very helpful ![]() Cheers Simon |
#2
|
|||
|
|||
![]()
have you tried:
$vbulletin->options['maxposts'] =1; |
#3
|
|||
|
|||
![]()
Hi
Thanks for your reply. I tried adding your code line below mine in the hook which made no difference ![]() I think tried using your code in place of mine, and it shows all posts on the same page. oops! sorry, I included a typo. I've just corrected that and it works a treat! Thank you sir ![]() |
#4
|
|||
|
|||
![]()
ups
sorry you have the false hook its global_start sorry i didn't see that! this is my plugin and it works great: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|