Click to See Complete Forum and Search --> : User(s) Online
Hendrick2
10-22-2005, 12:18 AM
I've looked almost everywhere for an easy User(s) online code. I've gotten to page 5 in both Yahoo and Google search. I'm looking for a simple code for user(s) online. Nothing fance at all, just # User(s) Online. My main problem is this...
I want it to be for a certian page, but the page has a long URL. Most codes only accept the main pages, like http://www.javascriptsource.com/, but wouldn't accept a specif page, like http://javascript.internet.com/games/arrange.html The page is somewhat of a post in a message board, but not quite. And the last thing that makes it difficult is I need to it be easy to change the page that the User(s) online checks. I can't/don't want to use FTP or mySQL Database. It's part of a larger code, so therefor I can't make everyone use a FTP or mySQL Database.
I REALLY hope this is possiable.
Thanks.
ray326
10-22-2005, 01:47 AM
That requires something running on the server and it requires that something to understand the concept of sessions.
Hendrick2
10-22-2005, 12:54 PM
But look here:
http://freewebcounter.info/
I just can't insert a long url, which is making this whole code hard to find.
I'll be willing to host a file(s), I just don't everyone who uses this code, to have to host one. It's part of a larger code.
ray326
10-22-2005, 03:52 PM
Hit counters and "current users" counters are completely different concepts. Hit counters are easier but still require at least a little CGI on the server unless you want to do access log analysis.
Hendrick2
10-22-2005, 05:41 PM
My bad, I gave you the wrong link, try here:
http://www.online-users.info/
And once again "I just can't insert a long url, which is making this whole code hard to find."
ray326
10-23-2005, 03:29 PM
Ok, I see the link you're talking about but I don't understand your "can't insert a long url" issue. Can you state it some other way or clarify your meaning?
Hendrick2
10-23-2005, 06:01 PM
<!-- Powered by Online-Users.Info -->
<script language="javascript" type="text/javascript" src="http://www.online-users.info/?online=http://www.hosted-forum.com/index.php?boardid=arcadex&act=SR&f=20&ext1=User online&ext2=Users online"></script>
<!-- Powered by Online-Users.Info -->
That won't work. The image is a broken link. That site there is just a test for the code.
ray326
10-23-2005, 08:13 PM
I just pasted the above into a test page in HTML-kit, previewed it and it worked fine for me. The result was an anchor with the text "1 user online", not an image.
Hendrick2
10-23-2005, 08:25 PM
But what happens is it always shows 1 user online, and never changes. Even when theres two.
charlierobot
10-27-2005, 10:08 AM
You could try www.charlierobot.com it shows that information as well as much more for statistical purposes.
Hendrick2
10-27-2005, 08:33 PM
No, I just need a simple code where I change the url, and it works for the new site.
Someone where I found a perfect example. It was an image, and the image broke with the long url...
Sheldon
10-27-2005, 09:09 PM
You could try www.charlierobot.com it shows that information as well as much more for statistical purposes.
haha yer good idea....... right
Sheldon
10-27-2005, 09:13 PM
that code says one user online no matter what url you put in.
here (http://www.spoono.com/php/tutorials/tutorial.php?id=16) is a php/mysql script
As far as i know, there is NO WAY to do it without some kind of SEVER SIDE programming. Else ask in the JS forum