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: Online User  (Read 6384 times)

0 Members and 1 Guest are viewing this topic.

jamurillo

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • J.A. Murillo, photographer
Online User
« on: November 30, 2005, 11:00:26 pm »

Can Online Users be added to view in CPG 1.4.2 front page ?

Ex.:

We have 437 registered users
The newest registered user is: jam
In total there is 3 user online  2 Registered, and 1 Guests
Registered Users: panama
Logged

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
Re: Online User
« Reply #1 on: December 01, 2005, 12:12:04 am »

Please read this post by another member:

http://forum.coppermine-gallery.net/index.php?topic=5373.msg100833#msg100833

Read the first page of that post to gain instructions on how to begin adding this mod.

You can also do a search for who is online and you will find the threads for this mod.
Logged

jamurillo

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • J.A. Murillo, photographer
Re: Online User
« Reply #2 on: December 01, 2005, 06:27:02 pm »



Whoisonline works for cgg 1.3.x not for cpg 1.4.2 .
Logged

natrlhy

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 77
Re: Online User
« Reply #3 on: December 01, 2005, 06:47:23 pm »

I currently have it working on 1.4.2:

The main modification I made was referenced by the link I previously posted.

Code: [Select]
Registered Users online: Andrew

We have 40 registered users
The newest registered user is Andrew
In total there is 1 user online :: 1 Registered, and 0 Guests
Most users ever online: 3 on November 30, 2005 @ 6:27 pm PST

Basically any references to db_query need to be changed to to cpg_db_query in the onlinestats.php file.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.