Jump to content

Alert me when a user logs in


gregoryhu

Recommended Posts

I'm certain it can be done...

 

One way I can think of:  Use AJAX (or even just meta refresh tag) to run a script every X seconds (like every few minutes or so) which runs a select against the user table and/or posts table and checks the most recently added/updated row (by datetime).  If the datetime has been updated since the last check, then a change has happened, and play the sound (probably need flash to make that seamless).  If you wanted this to only happen for a specific user(s), you can of course take that into account in the SELECT.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.