Users Online Today Users Online Today
 

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

Users Online Today

Started by Sami, August 22, 2006, 06:51:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sami

Users Online Today (Like SMF add-on package) ver 1.0
   Main mod: http://forum.coppermine-gallery.net/index.php?topic=17308.0
   Main idea: probinson77

   Special thanks to razorbiker , who ordered ;) this plugin

Install:
- unzip package to plugins folder and use plugin manager to install it
- after installation add onlinetoday to :
    config => Album list view => The content of the main page

config:
- if you want to show this stat to admin only , open up plugins/online_oday/codebase.php and replace (around line 63)
this

if($matches[1] != 'onlinetoday') {

with this

if($matches[1] != 'onlinetoday' || !GALLERY_ADMIN_MODE) {


- if you want to show this stat to Registered user only , open up plugins/online_oday/codebase.php and replace (around line 63)
this

if($matches[1] != 'onlinetoday') {

with this

if($matches[1] != 'onlinetoday' || !USER_ID) {


There isn't any configuration page for this plugin , yet !
‍I don't answer to PM with support question
Please post your issue to related board

terrorhawk

Very cool.
It looks likes it works
Only one strange thing.
it not alway's shows if the user was online.
It looks likes it doesnt show a user if u use the remember me function

Sami

#2
yes this plugin use xxx_users table as a reference and that table doesn't change the user-last-visit value for those who select remember me option there is two solution:
- changing the core files of CPG to change that value
- use custom table to store this plugin data
‍I don't answer to PM with support question
Please post your issue to related board

Farnsi

Quote from: Sami on August 28, 2006, 07:20:51 AM
yes this plugin use xxx_users table as a reference and that table doesn't change the user-last-visit value for those who select remember me option there is two solution:
- changing the core files of CPG to change that value
- use custom table to store this plugin data
Nice Mod, thank you!
Could you help me a little and explain how to use a custom table to store the plugin data? I guess it would be the most elegant way to solve the "problem" mentioned above, right?

I´m running version 1.4.9 with the modpack and the "Who is online"-plugin.

Greetings!
Regards,
Farnsi

Pascal YAP


Gephri

Nice Mod!

Could you help me a little and explain how to use a custom table to store the plugin data? I guess it would be the most elegant way to solve the "problem" mentioned above, right?

I´m running version 1.4.9 with the modpack and the "Who is online"-plugin.

Sami

- Create a custom table like xxx_uotlog
- Run custom Mysql query at authentication to add some user info to xxx_uotlog
‍I don't answer to PM with support question
Please post your issue to related board

Gephri


m@rk

#8
I made a modification and permit to name it v1.1.

Modifications:


  • Internationalisation (languages English, German included)
  • Layout modification
  • Links to user profiles only for members
  • Display Your IP and ISP

François Keller

French.php lang file attached  ;)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

orTubes

This plugin only shows the registered users, has as to also show how many guests they are connected?

http://www.ortubes.com
Http://orgames.ortubes.com


Invalid ID

I am new to this, so kindly tell me what file(s) will be uploaded.

I first unzipped cpg1.4.x_plugin_pack_v3, found online_today, so wanted to install it. So I used Plugin Manager to install it, but uploading configuration.php and codebase.php gives a message "The file uploaded is not a plugin package."

What should I do?

Thanks

Sami

You should upload "online_today" folder to plugins folder
‍I don't answer to PM with support question
Please post your issue to related board

fotovagu

very nice plugin. thanx :)

is it possible to change this to show Users online in  last 24 Hours ?


thanx
fotovagu

Darth Unrivaled

I install this plugin, yet it doesn't work. It always shows 0 users online. I made the change to show to only register users. Does this mod work if you have turn on the bridge between CPG and BBS? Being that it doesn't use the user table anymore and if so is there a work around for this?

Nibbler

No, this plugin is not bridge compatible.

Hein Traag

dutch.php attached

will

Had this plugin a while but I haven't used it until now, I get this database query error and this mysql error:

While executing query "SELECT user_id,user_lastvisit FROM `newgallery2007`.ibf_members WHERE user_lastvisit LIKE '2007-11-19%'" on 0

mySQL error: Unknown column 'user_id' in 'field list'

My gallery is bridged, is this why? If so is there a way of making it work with my bridged gallery ;)

Nibbler