Log in

View Full Version : Reset user profile field when user logs out?


ngaming.net
10-03-2009, 12:05 PM
Just a small background on this:

I have set something to integrate in real-time with the Cyb Chatbox in which someone clicks a flag and it will display them in a special little panel below. Basically, the idea of this is to show whether they are available or not for something.

I need for the last possible outcome to be resolved in this though, which is the profile field this is all based off to be reset to its default value when the user goes offline.

I appreciate any help anyone can offer me!

--------------- Added 1254581416 at 1254581416 ---------------

I sort of found a solution for this by putting the conditional to show the users inside a conditional to show whether they're online, so I guess that will have to do.

Anyone has any other ideas?

ngaming.net
10-05-2009, 10:22 PM
Nobody?

Lynne
10-05-2009, 11:51 PM
How did you modify the profile field in the first place? This isn't going to be that easy to change since there is nothing that really happens to trigger the user as offline - they simply stop posting, or opening pages on the site and the session gets wiped after the Session Timeout is done.