18 comments found

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 1 000 and 5 000 dollars
  • Sweden

Nice. Might buy it.

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

can this be added to an html page as well?

  • Elite Author
  • Author had a File in an Envato Bundle
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Interviewed on the Envato Notes blog
  • Has been a member for 5-6 years
  • Exclusive Author
+3 more

khuul,

Unfortunately PHP scripts cannot be included in an html page unless you use an iframe but that’s not a great solution.

The alternative is to simply change your .html files into .php ones and use the include code as described in the readme. Changing your files from .html to .php will not affect how they function at all, the only difference will be that they now understand PHP code and the script will work.

Thanks for your interest, Jigowatt

  • Bought between 100 and 499 items
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • United States

Does that count all users that are online anywhere on the web site (on any page) or only users who are viewing that particular page? For example, I am on the home page, other user is on “about us” page, is it going to display 2 users online, or will it display 1 user online on home page, and one user online on about us page?

  • Elite Author
  • Author had a File in an Envato Bundle
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Interviewed on the Envato Notes blog
  • Has been a member for 5-6 years
  • Exclusive Author
+3 more

palusko,

Thanks for your interest, the count is for users anywhere on the website.

It’s best used in PHP websites (included in the header.php file or similar so the function is included for every page load) if the user visits the page that includes the script (header.php would be requested every time a page loaded), a record for that user is entered into the database and will remain there for the time period you set.

Jigowatt

  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • United Kingdom

hey jigowatt

i like the look of your scripts, just wanted to say well done,

you really have pushed the boat out with your user managment system and users online

i am working on a big golf project at the moment, meeting the client tomoro , think i will be pushing them towards a login system now

please keep up the good work

respect for SCOTLAND

  • Sold between 10 000 and 50 000 dollars
  • Referred between 100 and 199 users
  • Bought between 100 and 499 items
  • Has been a member for 5-6 years
  • Exclusive Author
  • United States

Been cranking out some solid stuff lately. Keep up the good work!

  • Bought between 10 and 49 items
  • Canada
  • Has been a member for 4-5 years
  • Referred between 50 and 99 users
wpskins Purchased

Very nice script. Easy to add to your site.

  • Greece
  • Sold between 1 000 and 5 000 dollars
  • Has been a member for 5-6 years
  • Exclusive Author
  • Referred between 50 and 99 users
  • Bought between 50 and 99 items

does it also reports the “most users online” as well?

jigowatt

@makis77

This isn’t a standard feature however in this script, however with little PHP knowledge it could be adapted to suit your needs. You could use it as both or adapt it to be a ‘most users online’ script.

Thanks for the interest, Jigowatt

  • Bought between 1 and 9 items
  • Has been a member for 4-5 years

Hi Jigowatt, I want to use it to both, most ever users online and currently users online? Can I purchase assitance for som cost?

thank you for great script.

  • Bought between 10 and 49 items
  • Has been a member for 3-4 years

This is awesome. Will be buying soon. You have some really great scripts.

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Netherlands

Just tested the Live preview with from my Home PC and Work PC, i see 2 users are online. How long does it take for the user number to change back to zero, when closing both browsers (home and work pc).

jigowatt

Should be five minutes default. You can modify that in the file directly.

  • Bought between 50 and 99 items
  • Has been a member for 2-3 years

Hi, My website is running asp.net? Can i use this script ?

jigowatt

Only if your website can handle PHP .

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years

is this site wide or i can use it page by page like…

Total users online: 20 (3 viewing this page)

Thanks

jigowatt

This is a global script, it combines all pages.

Regards

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • United Kingdom

Interested, but found it looking for a script that finds out what country the IP address is from.

I want to be able to serve up the correct currency for the User, via their IP address…

can your script do this? can it differentiate between England, wales and Scotland?? That would be cool!

looking forward to potentially using this, if such a feature can be added??

jigowatt

Hi,

The script only uses the IP to determine that it is a unique visitor and uses it to count the number of users online. Its doesn’t do anything else with the IP (other than store it to the database).

It is possible to modify the script to then check where the IP is coming from but it not something built in currently.

Hope that helps.

Default-user

Thanks sort of, need to re-consider as I have now created a IP/ Country analyser myself, but need something like our tracker – so will re-evaluate and hope to take it for a test drive…

jigowatt

No Problem. let me know if you need any more help.

  • Bought between 100 and 499 items
  • Has been a member for 4-5 years
  • United States

Is it possible for me to install this on 1 domain (company website), but insert the php code onto our different URLs in our network of websites, so that it’s 1 install, but it tracks the users (as a whole) on all our sites together?

Can it do this “out of the box”? As I have little php coding knowledge to alter the script.

Thanks.

jigowatt

Hi,

Nope, it doesn’t do it out of the box and will require modification to get it to work how you want.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Purchase this script. Installed it and I can’t get it to work. I place the code in a file named online.php.

http://www.fliverr.com/usersonline/online.php
Default-user

Disregard the above, I figured it out.

  • Bought between 100 and 499 items
  • Has been a member for 6-7 years
  • United States

you say this will work globally throughout a php website. I believe you are saying that is if it is templated and calling a header.php file am I correct? What if I have simply a few php pages that are basically html that I turned into php pages. Will it still work globally “that” way? like home.php, about.php, contact.php all simply have html and css and are not really calling echos or includes? thanks


by
by
by
by
by
by