Advanced search  

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

Pages: [1]   Go Down

Author Topic: Can't display stats  (Read 4725 times)

0 Members and 1 Guest are viewing this topic.

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Can't display stats
« 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.
« Last Edit: October 02, 2007, 08:23:49 am by GauGau »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Can't display stats
« Reply #1 on: September 03, 2007, 07:38:23 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.

Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Can't display stats
« Reply #2 on: September 21, 2007, 04:03:30 am »

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.)
Logged

capecodgal

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 123
Re: Can't display stats
« Reply #3 on: September 26, 2007, 01:42:37 pm »

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


Logged

jlove

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: Can't display stats
« Reply #4 on: September 28, 2007, 06:50:57 am »

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

Page created in 0.017 seconds with 20 queries.