The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Adding a request to pagenav?
I am trying hook into the pagenav to add a request within showthread.
I have been able to achieve this using the pagenav_page hook and defining $address .= '&test' but this is causing a weird error with multiple pages. It is adding 1 request for each page that exist. so if I have 2 pages in a thread, the page 2 link becomes showthread.php?t=6&test&test&page=2 and page 4 becomes showthread.php?t=6&test&test&test&test&page=4 I am trying to get it showthread.php?t=6&test&page=4 no matter how many pages there are. I have looked through the functions and noted address is defined as $address = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "t=$thread[threadid]"; I have tried re defining address as $address = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "t=$thread[threadid]&test"; within pagenav_page but it will not detect the threadid when I do it this way. Is there a way I can get this to work properly? end goal showthread.php?t=6&test&page=4 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|