17.11.2008, 00:05
Hallo Clemens,
du musst diese Zeile in der BoardIndex.php ersetzen:
durch
Gruß
pattex
du musst diese Zeile in der BoardIndex.php ersetzen:
Code:
$sql = "SELECT * FROM ".$pr."albums as a,".$pr."pictures as p WHERE p.aid=a.aid AND (a.visibility=".($usergroup[0]+100)." ".$sql1." or a.visibility=0) ORDER BY p.pid DESC LIMIT ".$n."";
durch
Code:
$sql = "SELECT * FROM ".$pr."albums as a,".$pr."pictures as p WHERE p.aid=a.aid AND (a.visibility=".($usergroup[0]+100)." ".$sql1." or a.visibility=0) ORDER BY rand() DESC LIMIT ".$n."";
Gruß
pattex