Online User Online User
 

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

Online User

Started by jamurillo, November 30, 2005, 11:00:26 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jamurillo

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

natrlhy

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.

jamurillo



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

natrlhy

I currently have it working on 1.4.2:

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

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.