Showing the Album thumb Showing the Album thumb
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Showing the Album thumb

Started by tyio, December 28, 2006, 12:20:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tyio

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 :)


^^

vuud

Quote from: 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 :)


^^


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.


Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tyio

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 :

QuoteYou 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

Quote<?php
  include "./cpmfetch.php";
  $objCpm = new cpm(); 
  $objCpm->cpm_getAlbumListFrom(2,2,1);
  $objCpm->cpm_close();
?>

vuud

Quote from: tyio on January 13, 2007, 01:15:32 PM
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!

Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

tyio

Oh, many thanks for your quick answer :)


there is a pb in the syntax you just give to me, i have

QuoteFatal 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 :)

tyio


tyio

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 :)

vuud

Quote from: tyio on January 13, 2007, 02:20:00 PM
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 :)


Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco