Jump to content


- - - - -

refreshing people online


This topic has been archived. This means that you cannot reply to this topic.
12 replies to this topic

#1 keri

keri

    Member

  • Members
  • PipPipPip
  • 41 posts

Posted 10 March 2007 - 03:09 AM

Is there something that refreshes people online automatically instead of having to refresh the whole page to see who is online?

#2 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts

Posted 10 March 2007 - 03:46 AM

Sounds difficult. You need to make contact with the server to get the updated information. Perhaps you could use AJAX, but it can be very resource intensive.

#3 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts

Posted 10 March 2007 - 04:05 AM

QUOTE(Chelsove @ Mar 10 2007, 04:46 AM) <{POST_SNAPBACK}>
Sounds difficult. You need to make contact with the server to get the updated information. Perhaps you could use AJAX, but it can be very resource intensive.

I was thinking that, naturally AJAX seems the way to go. But rather than automatically refreshing it on a time base (which would murder resources with a rusty butter knife) - have a link to refresh the online list. Eg: There are 2 members and 3 guests ect ect - Click here to update the online list.

I'd give it a go but I'm not sure my limited knowledge will take me all the way. I'm gonna' try though laugh.gif

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#4 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts

Posted 10 March 2007 - 04:41 AM

However, if you need to click on a link anyway, can't you just refresh?

#5 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts

Posted 10 March 2007 - 05:08 AM

Dean had a mod that did that, I think, but it might have only been for 2.1.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#6 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts

Posted 10 March 2007 - 05:16 AM

QUOTE(Chelsove @ Mar 10 2007, 05:41 AM) <{POST_SNAPBACK}>
However, if you need to click on a link anyway, can't you just refresh?

Refreshing would refresh the entire page - I'm talking click refresh, and just the online list refreshes. Like it would, although not set to a timer.

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#7 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts

Posted 10 March 2007 - 05:26 AM

Yes, that part I understand. I was referring to the effort. If it's a burden to click refresh to learn who's online, then it's also a burden to click on a link, isn't it. It depends what the OP meant, the motivation.

#8 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts

Posted 10 March 2007 - 05:34 AM

The burden of clicking refresh is that you have to wait for the entire page to refresh... It wouldn't be as bad if you were just refreshing that little area.

Ove's gonna' snap...

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#9 Chelsove

Chelsove

    I've seen the future but I left it all behind

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 736 posts

Posted 10 March 2007 - 05:36 AM

Fair enough, that's an argument you could use. I admit defeat, hehe

#10 LinuxBoy

LinuxBoy

    Advanced Member

  • Banned
  • PipPipPipPip
  • 70 posts

Posted 10 March 2007 - 09:05 AM

QUOTE(Michael @ Mar 10 2007, 12:08 AM) <{POST_SNAPBACK}>
Dean had a mod that did that, I think, but it might have only been for 2.1.



I guess that was not working for anyone !!

But it will be really Good idea indeed for this Mod Ajax step in wink.gif
Posted Image

#11 Michael

Michael

    See code 431.322.12 of the Internet Privacy Act

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 22,042 posts

Posted 10 March 2007 - 04:13 PM

That's what it did, it used ajax, so the entire page didn't have to refresh, just this section.
Michael McCune - IPS Marketplace Moderator

My Stuff: My Forum · My Resources · My Tutorials
Contact Me: Email · Facebook · Twitter

#12 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts

Posted 10 March 2007 - 04:36 PM

Dean has a nasty habit of making buggy mods and not supporting them... Which, looking at DScripting is what happened with this one.

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#13 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts

Posted 15 March 2007 - 01:20 PM

QUOTE(Michael @ Mar 10 2007, 02:08 AM) <{POST_SNAPBACK}>
Dean had a mod that did that, I think, but it might have only been for 2.1.

That's it: http://www.invisionmodding.com/inde...showtopic=14785

But it got an error while using Opera browser.