Add a custom re-write rule in VBSeo

h@ck3r

New Member
I've had VBGarage running on my sire for a while now, but only just noticed that I can't click to the next page of garages (page 2).

When I click it, it directs me to:

HTML:
http://www.mysite.com/forum/vbgarage.php?do=$_REQUEST[do]&perpage=25&page=2

Which is a blank white page.

I'm guessing I need to add a custom re-write rule to VBSeo. Can anyone please tell me how to do this?
Any help appreciated :)
 
dlcomplete said:
custom rewrite rule(crr):
'vbgarage\.php\?do=$_REQUEST[do]&perpage=25&page=2' => 'vbgarage'

Thanks but it's not working

I also tried:

PHP:
'^vbgarage\.php\?do=$_REQUEST[do]&perpage=25&page=2' => 'vbgarage'

But it still doesn't work.

Anyone able to offer any help with this?

For the time being; I've edited VBgarage.php...

found this code:

PHP:
	if ($perpage == 0 or $perpage > 200) { $perpage = 25; }

And replaced with:

PHP:
	if ($perpage == 0 or $perpage > 200) { $perpage = 1000; }

.....so it shows 1000 garages per page, instead of 25.

However I would like to get this fixed properly, so any help welcome.

Thanks
 
Back
Top