The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
vb's pagination
im trying to use vb's pagination but it isnt working
i keep getting division of by zero on line 1611 in includes/functions.php. this is the code: PHP Code:
it show the lil page nav page with "Page of 0" |
#2
|
||||
|
||||
Hmm ... would be interesting to know which line is line 1611
Anyway, I don't see a division in that code so it must come from a function being called. |
#3
|
||||
|
||||
Try adding $perpage=10; before the call to construct_page_nav()
|
#4
|
||||
|
||||
ok got it working but its not display all the pages possbily, there is 4 pages possible but it only shows "Page of 4" "1" "2" ">" "last>>"
each "blahblah" represents another box |
#5
|
|||
|
|||
You also need to define $pagenumber before you call construct_page_nav(). Set it to the current page number the user gave to you in their GET request.
I had the same issue, and this solved it. |
#6
|
|||
|
|||
This thread is almost a year old, I think An-net solved the issue.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|