forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: tyio on December 28, 2006, 12:20:32 pm
-
Hi :)
just wonder to know, if there is a "$objCpm->cpm_XXXX" that permit to show the album thumb (specially choose into coppermine) and allow me, when i click into it, to go on the album :)
thanks for your time, i'll do a simply Flash files, because i see you'ren't so familiar with it, to show you what i'll do with your code :)
^^
-
Hi :)
just wonder to know, if there is a "$objCpm->cpm_XXXX" that permit to show the album thumb (specially choose into coppermine) and allow me, when i click into it, to go on the album :)
thanks for your time, i'll do a simply Flash files, because i see you'ren't so familiar with it, to show you what i'll do with your code :)
^^
The release from the other day (1.9.5) has a function:
$objCpm->cpm_getAlbumListFrom(2,2,"cat=5");
params are $rows, $columns, $source, $optionarray
That I think will do what you want.
-
thanks for reply :)
sorry, i didn't have a notifcation ;((((
i use your coding, using 1.9.6 but seems not to recognize the syntax, giving me a :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY a.aid ORDER BY a.aid DESC' at line 1
and i only use
<?php
include "./cpmfetch.php";
$objCpm = new cpm();
$objCpm->cpm_getAlbumListFrom(2,2,1);
$objCpm->cpm_close();
?>
-
thanks for reply :)
sorry, i didn't have a notifcation ;((((
i use your coding, using 1.9.6 but seems not to recognize the syntax, giving me a :
and i only use
Please use this, and paste me the output:
<?php
include "./cpmfetch.php";
$objCpm->cpm_debugMode(true);
$objCpm = new cpm();
$objCpm->cpm_getAlbumListFrom(2,2,"cat=5");
$objCpm->cpm_close();
?>
I assume this is in the cpmfetch folder since the new cpm() is empty.
Thanks!
-
Oh, many thanks for your quick answer :)
there is a pb in the syntax you just give to me, i have
Fatal error: Call to a member function on a non-object in /home/www/XXXX/cpmfetch/tyio.php on line 3
and it's the $objCpm->cpm_debugMode(true); that going wrong ;(( (i have test the install.php and no pb with the little test fonction, so, no pb with the path )
any idea :)
if you need a url , tell me :)
-
http://tyio.3dvf.net/cpmfetch/install.php
here the link of the install mod :)
and here a link of the files you give :
http://tyio.3dvf.net/cpmfetch/tyio.php
-
Ah, i have sucess one thing
now, i use this kind of syntax
$objCpm->cpm_getAlbumListFrom("cat=3",5,2);
and i have well the album showed
but i have some problem, do you think possible just to show, the last album updated of all the category and just the album thumbsnail that link to the album root ?
thanks :)
-
Oh, many thanks for your quick answer :)
there is a pb in the syntax you just give to me, i have
and it's the $objCpm->cpm_debugMode(true); that going wrong ;(( (i have test the install.php and no pb with the little test fonction, so, no pb with the path )
any idea :)
if you need a url , tell me :)
Sorry, that was the old (pre 1.9) syntax
Should be:
$objCpm->debugMode(true);
But if it works, don't worry too much about it :)