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]   Go Down

Author Topic: Number of Users Online?  (Read 7122 times)

0 Members and 1 Guest are viewing this topic.

sbpoole

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 66
Number of Users Online?
« on: November 19, 2003, 03:06:32 am »

I would like to show in anycontent.php the number of users currently online.  I searched the forums but found no resolve.  Anybody have code for this already?  Many thanks, Sonny
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Number of Users Online?
« Reply #1 on: November 19, 2003, 04:30:16 am »

DefenceTalk has implemented this.

Basically you can take any "Online Users" script from say Hotscripts and put it in anycontent.php BUT that will show only the number of users

However if you want something like what phpBB shows it will take a bit (lot) more hacking
Logged
SANIsoft PHP applications for E Biz

sbpoole

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 66
users
« Reply #2 on: November 19, 2003, 04:52:31 am »

Thanks tarique, that's all I need is just the number of users online.
Logged

boii

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 65
Number of Users Online?
« Reply #3 on: November 23, 2003, 07:48:39 am »

Logged

sbpoole

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 66
Number of Users Online?
« Reply #4 on: November 23, 2003, 08:20:59 am »

I did find that.  Didn't work!  Thanks anyway, I found what I need.  Sonny
Logged

jlovenet

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
online users..... i'm dumb
« Reply #5 on: January 26, 2004, 06:13:06 pm »

okay so i tried what you guys suggested but it's still not working?

i just want something saying "blah usersonline"
i mean the which members thing is cool but i'll settle for just blah members online!

how do i do it?!

a
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Number of Users Online?
« Reply #6 on: January 26, 2004, 06:45:20 pm »

@jlovenet

If you are posting on a topic that has been discussed, please keep your posting to that thread. I've merged your post with the original thread.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

jlovenet

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Number of Users Online?
« Reply #7 on: January 31, 2004, 06:13:30 pm »

sorry. i still don't get this tho....

it still didn't work?

how would i get it to work?

like if i get a perl users online script from lissaexplains.com

how would that work on the picture gallery?

also did anyone figure out the other thing about members and stuff?

a
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Number of Users Online?
« Reply #8 on: February 01, 2004, 01:50:05 pm »

this thread is within the board "feature requests", and there's a good reason for it: people can ask for features here that don't exist. The feature you want to have simply isn't there! If you need it urgently, you'll have to code it. It's no use having a pre-made script like the one you're referring to, copy-and pasting it somewhere (and a PERL script isn't an option at all: a file can be either parsed by PHP or PERL, not both). I suggest you take a look into some php script classes that can do what you need and modify them (you'll need some understanding how php works though). If you can't do that, you'll have to wait for someone coming along and coding it for you - no use in bumping on and on.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 19 queries.