coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: theramius on July 09, 2007, 05:50:48 PM

Title: samples for outputs
Post by: theramius on July 09, 2007, 05:50:48 PM
hi

oh my saviour of hours of work, mr. vuud  ;)

can you please post a view examples of codes?
like for the one you told about in your WHAT IS CPMFETCH post

Aside from images, it can also returns other data such as (note: the album names are links)

Since Friday, December 10 2004 we've added about 355 images
Category name Album New count
Haley - The early years (1999-2002) 2000 Haley - the second year 17 new
  1999 Haley - the first year  69 new
  2001 Haley - the third year    30 new
Haley, Christi and me Our furry friends 18 new
  May 2003 - Beckett Trip 15 new
  Misc - Just don't fit anywhere 11 new


thanks in advance for your answer

yours sincerely
The Ramius aka Stefan
Title: Re: samples for outputs
Post by: capecodgal on July 09, 2007, 07:35:45 PM
I would like to know this one as well  ;D
Title: Re: samples for outputs
Post by: vuud on July 09, 2007, 10:50:41 PM
Quote from: theramius on July 09, 2007, 05:50:48 PM
hi

oh my saviour of hours of work, mr. vuud  ;)

can you please post a view examples of codes?
like for the one you told about in your WHAT IS CPMFETCH post

Aside from images, it can also returns other data such as (note: the album names are links)

Since Friday, December 10 2004 we've added about 355 images
Category name Album New count
Haley - The early years (1999-2002) 2000 Haley - the second year 17 new
  1999 Haley - the first year  69 new
  2001 Haley - the third year    30 new
Haley, Christi and me Our furry friends 18 new
  May 2003 - Beckett Trip 15 new
  Misc - Just don't fit anywhere 11 new


thanks in advance for your answer

yours sincerely
The Ramius aka Stefan

I think that is:

cpm_showAlbumsUpdatedOverLastDays

See the documenation for exact usage of course.
Title: Re: samples for outputs
Post by: theramius on July 10, 2007, 01:48:48 PM
hi

thanks for the quick answer :)

yes, i know that it is cpm_showAlbumsUpdatedOverLastDays but i cant get an output that looks similar to the one you stated
tried it with the help of the documentation :(
do you still have this code saved somewhere?

yours sincerely
Stefan
Title: Re: samples for outputs
Post by: theramius on July 10, 2007, 05:59:34 PM
hi

ok, got it
it was not the one we wrote about earlier
cpm_listMediaAddedOverLastDays
outputs a list like i wanted it

thanks again for your great programming skills ;)

ys
Stefan