Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Anman on April 06, 2006, 05:41:52 AM

Title: Force certain users to have their log_online permanant.
Post by: Anman on April 06, 2006, 05:41:52 AM
For reasons I do not wish to disclose, I have been trying to figure out a way to make my forum always have me "active" in the last X minutes. So basicly, I can visit my forum and then go away for Y hours and I will still apear as active in the last X minutes. I have been playing around with the code and adding  the line "AND ID_MEMBER != 1" to the end of delete queries relating to the table {prefix}_log_online so that I will always have a session. Ive added to the index a code that continously updates my last active date so I will always apear active.

But I cant seem to figure it out completly. Ill log into the forum from another browser or computer and my normal acounts has dissapeared. :/ Dissapointing personaly.

Im using 1.1rc2..

Would anyone have any idea what exaclty needs to be done?