The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Does anyone know how to pass a query to vb's pager function (not sure exactly what you call the page 1 2 3 4 Last >> links at the bottom of forumdisplay)? I am integrating some personal pages with vb and would like very much just to use their script/function to break up my long pages over a few pages.
thanks eric |
#2
|
||||
|
||||
![]()
This is what I am using on my vbGlossary modification:
PHP Code:
You will next have to find out the total number of results you have ( which is done in the glossary_count query above ). $pagenav is then inserted into your template. In your main query to get the results, you will need to add this: PHP Code:
Hope that helps ![]() |
#3
|
||||
|
||||
![]()
Great! Thanks.
I was actually just in the process of explaining the problem I was having when i realized that I had forgotten to create the variable $page from the $_GET['page'] value. in case anyone needs to know, I just put this at the top of the page and it worked perfectly: PHP Code:
![]() Thanks so much! ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|