Reset user profile field when user logs out?
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 [DATE]1254581416[/DATE] at [TIME]1254581416[/TIME] ---------------
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?
|