Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 [2]   Go Down

Author Topic: Stats  (Read 19276 times)

0 Members and 1 Guest are viewing this topic.

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Stats
« Reply #20 on: October 17, 2006, 08:13:47 am »

@freynolds: If you want to post what code you have so far on this thread (as an attachment, renaming .php to .php.txt or using a zip/rar/tgz), I'd be willing to look at it and help with a plugin version.  Or you can private message me if for some reason you don't want it public yet.
Logged

freynolds

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Stats
« Reply #21 on: October 18, 2006, 05:15:40 am »

Thanks Paver, inside the attachment I added the two php scripts I coded to make the stats.

At the time I'm using mysql_connect function to conect and show the info. I know that I need to replace this with just cpg_db_query. But I've done this so that I could at least test what I'm doing.

Things as tables and pictures also need to be reformed so it can be fited into coppermine.

But probably I can do that stuff on my own, my problem is making the plugin setup and that sort of thing which I've no clue at all how to do, and that I don't want to mess up my whole gallery trying.

Thanks
Logged

freynolds

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Stats
« Reply #22 on: October 31, 2006, 03:50:26 am »

since nobody cares about this... lock it down...

if anyone interested... pm me.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Stats
« Reply #23 on: November 01, 2006, 06:23:08 am »

A plugin version of the contributed code is available here: Summary of Hit Statistics.

@freynolds: If this plugin does basically what you want, please say so and we can close this support thread (by marking it "solved").  Further discussion can continue on the plugin thread.
Logged

freynolds

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Stats
« Reply #24 on: November 02, 2006, 12:15:01 am »

The plugin works exactly as I wanted to!
Thx!
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.018 seconds with 19 queries.