Greek Wizard
12-19-2006, 09:38 AM
I am hoping someone that knows about coding can help me (us) out for a second of their time.
yes, I could have posted this in the vBookie hack, but many have done in the past with no success regarding the "page 2" problem on the main vBookie page. This goes back all the way from 3.5.x to 3.6.x. It simply does not work.
I have found a way to kind of make it work, but I don't know how to "code" it to make it much easier.
Step 1:
Currently pressing page 2 on any vbookie page (OPEN, SETTLED) will get you the end of this url:
../vbookie.php?do=main&type=type&page=2
We all know this only gives you a blank page.
However if manually you change it to:
../vbookie.php?do=main&type=OPEN&page=2
or
../vbookie.php?do=main&type=SETTLED&page=2
This will solve the problem and work (provided you have enough events to have a page 2)
Step 2 (and this is where I need help)
If we open vbookie.php we find this:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=type");
Changing this to:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main");
Will allow the multiple pages for the OPEN bets to finally work.
However I would like to take this one step closer. I was hoping someone smarter than me would know what to replace the missing &type=type with so whatever page we are on the page 2,3,4 etc work.
vBookie is a great hack, however it's unsupported. I was hoping we could improve it as best we could for those of us who use it.
Thanks.
yes, I could have posted this in the vBookie hack, but many have done in the past with no success regarding the "page 2" problem on the main vBookie page. This goes back all the way from 3.5.x to 3.6.x. It simply does not work.
I have found a way to kind of make it work, but I don't know how to "code" it to make it much easier.
Step 1:
Currently pressing page 2 on any vbookie page (OPEN, SETTLED) will get you the end of this url:
../vbookie.php?do=main&type=type&page=2
We all know this only gives you a blank page.
However if manually you change it to:
../vbookie.php?do=main&type=OPEN&page=2
or
../vbookie.php?do=main&type=SETTLED&page=2
This will solve the problem and work (provided you have enough events to have a page 2)
Step 2 (and this is where I need help)
If we open vbookie.php we find this:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=type");
Changing this to:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main");
Will allow the multiple pages for the OPEN bets to finally work.
However I would like to take this one step closer. I was hoping someone smarter than me would know what to replace the missing &type=type with so whatever page we are on the page 2,3,4 etc work.
vBookie is a great hack, however it's unsupported. I was hoping we could improve it as best we could for those of us who use it.
Thanks.