Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 May 2001, 22:01
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Whos Online for whole site?

Hi, I installed Tubedogs Whos Online hack, but what I want it to do is show whos online throughout the whole site. Not just on the forums.

I realize all I would need to do is put the code into the page with the get cookie routine. Is that correct? Well, my question is

what is the code to enter into a page, so that whos online in the forums sees the people on the other pages also?


Thanks in advance.
Reply With Quote
  #2  
Old 22 May 2001, 22:35
fruitsalad fruitsalad is offline
 
Join Date: Nov 2001
Currently i dont think u can do this.

They way that tubedogg wrote it the last time i looked at it, is such that when the script is not able to detect where on the forum they are it defaults to browsiing the boards

so in your case if you put it on the whole site it will just say the default locatin. ie. Browsing board.
Reply With Quote
  #3  
Old 22 May 2001, 22:38
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Actually that wouldnt matter, because on my site all I have listed is the names of the people. Not where, they are or anything else. So that wouldnt be a problem at all.

Reply With Quote
  #4  
Old 22 May 2001, 23:06
fruitsalad fruitsalad is offline
 
Join Date: Nov 2001
Do you realise that there is 2 versions of who's online
1 of them only tells who's browsing the boards and the other more advanced one actually tells their location

I think you can achieve what you want by require the forum's global.php on all ur website documents
Reply With Quote
  #5  
Old 23 May 2001, 00:13
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
Ok, cool. I will try that. Thanks very much.
Reply With Quote
  #6  
Old 23 May 2001, 01:40
c-pr0mpt's Avatar
c-pr0mpt c-pr0mpt is offline
 
Join Date: Oct 2001
That did not work. I cant seem to figure this out.
Reply With Quote
  #7  
Old 23 May 2001, 03:39
fruitsalad fruitsalad is offline
 
Join Date: Nov 2001
beware though
although global.php seems small now, it calls upon function.php which is around 70Kb+ added to every one of your pages to which you require the global.php. Not just the size, imagine the increase in server load.

If you are not concerned about tracking their location, I dont think it is necessary anyway, Just so long as your users do not click logout and then go surf the rest of your site, their session will not have expired straight away and they would still appear in the online list.
Reply With Quote
  #8  
Old 23 May 2001, 12:52
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Also those who visit your main page before visiting your forums will receive an error if you include global.php.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 23:32.

Layout Options | Width: Wide Color: