![]() |
i should know this but don't
how do i select the number of posts on a page in a thread? (rather than all posts in the thread?
|
Is there even a variable that defines that number?
|
i hope so as the $bbuerinfo[maxpost] variable seems to be set at -1 for most of my users, although i suppose that i could user
PHP Code:
|
hmm, doesn'T $perpage already give you the ammount of posts per page?
|
thinking about it $perpage should be the same as $bbuserinfo[maxposts]
|
it's a bit more complicated ^^
example from showthread.php: PHP Code:
|
so you trying to tell me that my code is wrong and $postsonthispage wouldn't return anything?
|
well, it would return something, but not what you want to get.
|
lol :( any help on how to aquire the data i'm trying to get?
i thought maybe the errors in this line? PHP Code:
PHP Code:
|
hmm, try to use $counter, iirc it already stores the ammount of actual shown posts.
|
All times are GMT. The time now is 08:37 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|