peterska2
01-30-2005, 11:08 PM
I've got a category hack installed on my v3arcade and I've suddenly found myself a bit stumped.
The problem is this. I can only show 10 categories on the arcade page.There is no page navigation or anything like that. I am wanting to have28 categories.
My Setup was like this
New Games
A - C
D - F
G - I
J - L
M
N - P
Q - S
T - V
W - Z
Numerical Games.
Basically using the first character of each games name to put them intoorder and to stop there being loads of pages of arcade and so onlyhaving the first 10 or 20 games played.
Well now I want to have a category for each letter of the alphabet(that makes 26), a category for numerical games, and one for new games,giving a total of 28 categories.
I tried changing the $perpage=10 to $perpage=30 but this didn't work.
I've searched here and v3arcade.com for the hack that I used as I can'tfind it on my harddrive. The next problem is that I can't find it oneither site.
So can anyone either tell me what I need to do to increase the numberof visible categories or point me in the right direction for thecategory mod that contains the following lines in arcade.php
//######################### CATEGORY MOD BEGIN###########################
//$pagenav = construct_page_nav($g, "arcade.php?$session[sessionurl]do=main$searchstring");
$pagenav = construct_page_nav($g,"arcade.php?$session[sessionurl]do=category&categoryid=$categoryid$searchstring");
// ######################### CATEGORY MOD END ###########################
It doesn't have an ACP interface at all so adding and removing categories has to be done via phpmyadmin.
Thanks in Advance
Kerry-Anne
(PS Please help coz it's my birthday and I'll cry if you don't :( ;) :p)
The problem is this. I can only show 10 categories on the arcade page.There is no page navigation or anything like that. I am wanting to have28 categories.
My Setup was like this
New Games
A - C
D - F
G - I
J - L
M
N - P
Q - S
T - V
W - Z
Numerical Games.
Basically using the first character of each games name to put them intoorder and to stop there being loads of pages of arcade and so onlyhaving the first 10 or 20 games played.
Well now I want to have a category for each letter of the alphabet(that makes 26), a category for numerical games, and one for new games,giving a total of 28 categories.
I tried changing the $perpage=10 to $perpage=30 but this didn't work.
I've searched here and v3arcade.com for the hack that I used as I can'tfind it on my harddrive. The next problem is that I can't find it oneither site.
So can anyone either tell me what I need to do to increase the numberof visible categories or point me in the right direction for thecategory mod that contains the following lines in arcade.php
//######################### CATEGORY MOD BEGIN###########################
//$pagenav = construct_page_nav($g, "arcade.php?$session[sessionurl]do=main$searchstring");
$pagenav = construct_page_nav($g,"arcade.php?$session[sessionurl]do=category&categoryid=$categoryid$searchstring");
// ######################### CATEGORY MOD END ###########################
It doesn't have an ACP interface at all so adding and removing categories has to be done via phpmyadmin.
Thanks in Advance
Kerry-Anne
(PS Please help coz it's my birthday and I'll cry if you don't :( ;) :p)