The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Constructing Pagenav
Hi,
I'm trying to incorporate the vbulletin 3.0.x pagenav into a modification of member.php. I've got a query pulling total results ($results) and even have php to figure out $previous, $i (page num) and $next links. But I can't seem to figure out how to build around these variables, a la..... PHP Code:
thanks |
#2
|
||||
|
||||
construct_page_nav($param1, $param2, $param3);
$param1 is the total number of items, $param2 is the basic link of that page, $param 3 is optional for the sub string of that link (in $param2. for e.g: construct_page_nav($totalitemsfromquery, "script.php?$session[sessionurl]id=$id", "&cmd=sort&sort=$sort&order=$order& ;pp=$perpage&daysprune=$da ysprune"); hope this help. |
#3
|
|||
|
|||
Thanks deathsemporer.
I'm still getting a divide by zero error though. PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|