Try this: In arcade.php search for "//get games", right under that is:
Code:
//get games
$DB->query("select g.*, c.password from ibf_games_list as g
left join ibf_games_cats as c on (g.gcat = c.c_id)
where g.active = 1 ".$show_all.$search.$catselect."
order by ".$this->arcade->settings['g_display_sort']." ".$this->arcade->settings['g_display_order']." ".$query_limit);
while( $this_game = $DB->fetch_row() )
{
$games[] = array( 'gid' => $this_game['gid'],
'gwidth' => $this_game['gwidth'],
'gheight' => $this_game['gheight'],
change to (parts in red added, don't miss the comma after 'password'):
Code:
//get games
$DB->query("select g.*, c.password, c.cat_name from ibf_games_list as g
left join ibf_games_cats as c on (g.gcat = c.c_id)
where g.active = 1 ".$show_all.$search.$catselect."
order by ".$this->arcade->settings['g_display_sort']." ".$this->arcade->settings['g_display_order']." ".$query_limit);
while( $this_game = $DB->fetch_row() )
{
$games[] = array( 'gid' => $this_game['gid'],
'cat_name' => $this_game['cat_name'],
'gwidth' => $this_game['gwidth'],
'gheight' => $this_game['gheight'],
This should fill in $entry['cat_name'].