Coppermine neueste Bilder Mod für SMF
#11
Hallo Clemens,

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
  Zitieren


Nachrichten in diesem Thema
[Kein Betreff] - von pattex - 14.11.2008, 15:43
[Kein Betreff] - von Clemens - 14.11.2008, 17:02
[Kein Betreff] - von pattex - 15.11.2008, 02:20
[Kein Betreff] - von pattex - 15.11.2008, 12:03
[Kein Betreff] - von Clemens - 15.11.2008, 12:26
[Kein Betreff] - von pattex - 15.11.2008, 12:40
[Kein Betreff] - von pattex - 15.11.2008, 12:52
[Kein Betreff] - von Clemens - 15.11.2008, 13:06
[Kein Betreff] - von Clemens - 16.11.2008, 23:03
[Kein Betreff] - von pattex - 17.11.2008, 00:05
[Kein Betreff] - von Clemens - 17.11.2008, 00:15
[Kein Betreff] - von Clemens - 17.11.2008, 22:38
[Kein Betreff] - von pattex - 17.11.2008, 23:35
[Kein Betreff] - von Clemens - 17.11.2008, 23:51

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste