![]() |
i found a bug. it displays thumbs for uploaded pics that ARENT approved yet by the admin. any fix ?
|
Quote:
|
Yes they are sure - the coppermine.php script isnt set to check for approvals , it just randomly checks all the files. Luckily i have a fix for that if you wish
change the code in coppermine.php line 27 from Code:
$MZresult = @mysql_query("SELECT * FROM ".$prefix."_pictures ORDER BY RAND() LIMIT 0,$amount"); Code:
$MZresult = @mysql_query("SELECT * FROM ".$prefix."_pictures WHERE approved='YES' ORDER BY RAND() LIMIT 0,$amount"); Anyone with VBadvanced , you can get the module for it here : https://vborg.vbsupport.ru/showthread.php?t=119432 |
Bug fixed. Thanks Tazie! ;)
I replaced the coppermine.php file. Everyone that installed this mod can download the new version now. |
Does anyone know how to port this for VB3.6.3 ?? I've tried to put this on my forum and get this error.
Quote:
|
Martin - only spotted this now - where exactly did you put this , and where does that error appear ? Is coppermine running ok on its own ?
A little more info is required to get this going please... |
Quote:
|
Quote:
in the line that says Code:
$copphotos.='<td><a target = "_parent" href="' . $coppath . '/displayimage.php?album=' . $albumid . |
I've installed this (thanks!) and it runs fine, but I'd love to get it to display in the left hand column. Any chance of that?
|
just paste the code into the right hand column tempate instead of forumhome and do the rest the same.
You want a <br> in somewhere to drop it down a line each time , but i dont have that hack so im not sure |
All times are GMT. The time now is 02:23 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|