Free Web Hosting Forum
(#1 (permalink))
Old
zaneboy's Avatar
Junior Member
zaneboy is on a distinguished road
 
Posts: 11
Join Date: Mar 2012
Talking See logged users - 03-13-2012, 09:02 PM

Hello 000Webhost!
I want a little help from you if you can! :P
Anyways, what I want is , something like a shoutbox when I can see Logged in Users in my website.
If anyone have any idea, please make me a tutorial.
Thanks!

Last edited by d3iti; 03-16-2012 at 08:06 AM. Reason: Title does not meet the forum rules.
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
zaneboy's Avatar
Junior Member
zaneboy is on a distinguished road
 
Posts: 11
Join Date: Mar 2012
Default 03-14-2012, 06:34 PM

none wanna help me?
Reply With Quote
(#3 (permalink))
Old
chanh's Avatar
Administrator
chanh is on a distinguished road
 
Posts: 2,010
Join Date: Dec 2008
Default 03-14-2012, 06:45 PM

shoutbox or chat script is not allowed on free hosting.
Reply With Quote
(#4 (permalink))
Old
zaneboy's Avatar
Junior Member
zaneboy is on a distinguished road
 
Posts: 11
Join Date: Mar 2012
Default 03-14-2012, 07:00 PM

Ohh Well, then do you know any way for me to see who is online?
Reply With Quote
(#5 (permalink))
Old
Member
Section9 is on a distinguished road
 
Posts: 38
Join Date: Feb 2012
Default 03-15-2012, 08:43 PM

Quote:
Originally Posted by zaneboy View Post
Ohh Well, then do you know any way for me to see who is online?
Could you give a link, possibly? Did you use a CMD? If yes, there should be a built in system or a mod, but we could figure something out. Without a link, we're nowhere. :/
Reply With Quote
(#6 (permalink))
Old
zaneboy's Avatar
Junior Member
zaneboy is on a distinguished road
 
Posts: 11
Join Date: Mar 2012
Default 03-16-2012, 06:41 AM

would be better if you give me your facebook or msn, something to can talk directly :P
Check your PM

Last edited by zaneboy; 03-16-2012 at 06:44 AM.
Reply With Quote
(#7 (permalink))
Old
Member
Section9 is on a distinguished road
 
Posts: 38
Join Date: Feb 2012
Default 03-16-2012, 10:01 AM

Well, it seems you programmed your website yourself, fully, apart from the forum. On the forum you can ofcourse see everyone so the issue here is the website.
So I assume you have some knowledge about PHP and MySQL cuz you made a login system as well.

Then there is only one thing left. You have to create a table for the online users. What happens is that everytime someone logs in, you put him or her in that table. And if the session timed out (your code checks every 10 min), you should delete that person from the table. Then you display that info of the table in your webpage.

I know it seems awkward when I write it like this (like a story), but that's the explanation for what happens. Next to that, I got a link for you, you could check to see a code that should work. I haven't tested it, but looking at the code it should work.
http://www.phpeasystep.com/phptu/9.html
Reply With Quote
(#8 (permalink))
Old
zaneboy's Avatar
Junior Member
zaneboy is on a distinguished road
 
Posts: 11
Join Date: Mar 2012
Default 03-16-2012, 03:19 PM

Thanks for the info
Yes, I made them but the online always make me an error..
Anyways, what you gave me, it shows me only how much members are online..
Like : Online Users: 1
I want to see, Online Users: Anonymous, zaneboy, and so on
Reply With Quote
(#9 (permalink))
Old
Member
Section9 is on a distinguished road
 
Posts: 38
Join Date: Feb 2012
Default 03-16-2012, 03:50 PM

Quote:
Originally Posted by zaneboy View Post
Thanks for the info
Yes, I made them but the online always make me an error..
Anyways, what you gave me, it shows me only how much members are online..
Like : Online Users: 1
I want to see, Online Users: Anonymous, zaneboy, and so on
Yeah thats true, how stupid of me. I'm sorry.

I don't know if you have that yet, but you should add an online-row in your own USERS table. So you have the variable $online which is 0 when someone is off, and 1 when he's online. Then you can call it, by following this link you can get the php code for it.
http://www.daniweb.com/web-developme...30#post1238130
Reply With Quote
(#10 (permalink))
Old
zaneboy's Avatar
Junior Member
zaneboy is on a distinguished road
 
Posts: 11
Join Date: Mar 2012
Default 03-16-2012, 05:26 PM

there is no need for any php codes to add in the page?
it dosen't work like that, I tried
I think, it should be made by my own, I tried but .. it gives me an error.
Anyways, thanks for all help accorded
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com