Can't display stats Can't display stats
 

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

Can't display stats

Started by jlove, September 01, 2007, 09:17:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jlove

Ok, last night, I spent waaay too much time (almos 2 hours trying different things) reading the docs to try to figure out how to display the stats, and not images, link you said could be done here.

But, all I could get was blank spaces or error messages. I've tried all of the "Functions that return textual statistics," but the best I could get was cpm_getMediaCount () and cpm_getMediaCountForAlbum ($albumid) to work.

I'd like to get that table of updates, titled "Since Friday, December 10 2004 we've added about 355 images," and I sort of did, but the links didn't work, and there were a bunch of errors all over.


I have to check what the last thing I tried was.

vuud

Quote from: jlove on September 01, 2007, 09:17:28 PM
Ok, last night, I spent waaay too much time (almos 2 hours trying different things) reading the docs to try to figure out how to display the stats, and not images, link you said could be done here.

But, all I could get was blank spaces or error messages. I've tried all of the "Functions that return textual statistics," but the best I could get was cpm_getMediaCount () and cpm_getMediaCountForAlbum ($albumid) to work.

I'd like to get that table of updates, titled "Since Friday, December 10 2004 we've added about 355 images," and I sort of did, but the links didn't work, and there were a bunch of errors all over.


I have to check what the last thing I tried was.


That's a function getAlbumsUpdated since or something like that.

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

jlove

Ok, well that doesn't really help since I still have no clue how to format the code. I tried and I get

Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in another code that I have. (php exec for wordpress.)

capecodgal

It would be useful if you post the code you are currently using

I have gotten this one to work so I know its possible and I even got the answer by reading other posts on this board  ;D I can tell you the answer is definately in here somewhere but if you post the code you have it will be much easier for someone to tell you what is wrong with it



jlove

You can mark this as solved. capecodgal gave me the solution in another thread: http://forum.coppermine-gallery.net/index.php?topic=47051.0