https://www.icyphoenix.com/viewtopic.php?f=35&t=5911&p=39869#p39869
-----------------------------------
Riwer
Wed 27 May, 2009 15:17

Re: Album Problem.
-----------------------------------
the "polemic" categories have a specific permission for certain groups, (based in number of posts)
but isn't the problem.

I find the solution, in album.php this function:


[code linenumbers=true]
// --------------------------------
// Build allowed category-list (for recent pics after here)
// $catrows array now stores all categories which this user can view.
// --------------------------------
$allowed_cat = ''; // For Recent Public Pics below
for ($i = 0; $i < count($catrows); $i ++)

{
	// --------------------------------
	// build list of allowed category id's
	// --------------------------------
 $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; 

}
//
// END of Categories Index
//
[/code]

I'm edited this function and work fine for:
Random_Pictures
Highest_Rated_Pictures
Most_Viewed_Pictures

but not work ok for:
Recent_Public_Pics

i'm looking this better but I think what this fuction is bug too  :|


