![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#8
|
||||
|
||||
![]()
Update!
There is a slight problem with this code. And that is, if a person does not hit the log-out button, it will continue to say that the person is online. Until he/she logs in again, in which it will say he/she is offline, until the Next time they log on. So a little diaphram to help you understand that: First Login, (does not log off) -Is Online. Second Login (it doesnt matter if he/she logs off or not) -Offline. Third Login (has to log off so the cycle doesnt repeat) -Is Online (when they are actually online) Now there is a solution to this problem. But it isn't has "Professional" as the first. If you don't want to go through all this work, to end up with this possible broken cycle, all you have to do insert the following, in your account.php, accountpost.php, and profile.php: Note: You will need the same Database entry as in the first one, so use that one. account.php Find where it says: PHP Code:
Under the first group: PHP Code:
PHP Code:
PHP Code:
PHP Code:
accountpost.php Find where it says: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Find where it says: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Certain Items Won't Be Added? | AlexC | Questions and Supports | 4 | 03-27-2012 03:22 PM |
A modification | jcga1992 | Questions and Supports | 7 | 11-07-2011 02:31 PM |
Modification Directory | Kaeliah | Mys v1.1.x Mods | 14 | 02-28-2011 05:14 PM |
Anna's New Mods -- UPDATED ! Mod added at the bottom! | redheadturkey | Mys v1.1.x Mods | 17 | 01-17-2011 07:38 AM |
Adoptables not being added | Ashje | Questions and Supports | 2 | 12-16-2009 11:35 PM |
What's New? |
What's Hot? |
What's Popular? |