Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2011, 10:03 AM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 10,343
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default I'm showing up more then once

http://neon.planetkalzy.com/

When I'm logged in, It shows I'm logged in twice on the online list. and just today its reading me three times now. Its only doing this to my account. I don't know what could be causing this. O - o; Maybe someone has an Idea? ^_^;
__________________
Call me KC!
http://alkseeyakc.deviantart.com/
Reply With Quote
  #2  
Old 07-13-2011, 03:42 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 487,750
Hall of Famer is on a distinguished road
Default

umm this is interesting, it only happens to your account but not with others? Theres a chance that you opened multiple whos online pages in your webbrowser. I am sure theres a way to fix this, which can be done easily.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 07-14-2011, 05:27 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 96,828
SilverDragonTears is on a distinguished road
Default

Does it to me too, but I just never thought to bother with it.
__________________

Check out SilvaTales
Reply With Quote
  #4  
Old 07-15-2011, 08:16 AM
Inf3rnal's Avatar
Inf3rnal Inf3rnal is offline
Member
 
Join Date: Mar 2011
Location: Florida
Posts: 108
Gender: Male
Credits: 21,810
Inf3rnal is on a distinguished road
Default

There is a quick way to produce this. Login using 2 browsers then go to the online list.

You will be there twice.
Reply With Quote
  #5  
Old 07-18-2011, 11:54 AM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 10,343
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default

I get it when I just visit the page sometimes. XD; I have not had it happen for a while. Maybe I had more then one tab open and that caused that some how.
__________________
Call me KC!
http://alkseeyakc.deviantart.com/
Reply With Quote
  #6  
Old 07-20-2011, 08:27 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 96,828
SilverDragonTears is on a distinguished road
Default

It happens to me and others members quite often =/
__________________

Check out SilvaTales
Reply With Quote
  #7  
Old 07-21-2011, 12:55 PM
Inf3rnal's Avatar
Inf3rnal Inf3rnal is offline
Member
 
Join Date: Mar 2011
Location: Florida
Posts: 108
Gender: Male
Credits: 21,810
Inf3rnal is on a distinguished road
Default

Maybe add an if/else statement.

something like:

if username = username
show once?
Reply With Quote
  #8  
Old 08-27-2011, 11:48 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 96,828
SilverDragonTears is on a distinguished road
Default

ok it's driving me mad.... .anyone feel like helping with this?
__________________

Check out SilvaTales
Reply With Quote
  #9  
Old 08-28-2011, 12:36 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 487,750
Hall of Famer is on a distinguished road
Default

Well I am offering one possible solution, not sure if it works since I have never encountered this glitch myself on demo site(makes sense though, there is usually only me on demo site).

Go to your inc/functions.php file and find this:

PHP Code:
if($isloggedin != "yes")

{

    
$loggedinname "Visitor";

}



$result runquery("SELECT * FROM ".$GLOBALS['prefix']."online WHERE `session` = '".$session."'");

$count mysql_num_rows($result);

if(
$count == 0)

{

    
runquery("INSERT INTO ".$GLOBALS['prefix']."online VALUES('$loggedinname', '$session', '$time')");


Replace with:
PHP Code:
$result runquery("SELECT * FROM {$GLOBALS['prefix']}online WHERE `session` = '{$session}'");

$count mysql_num_rows($result);

$result2 runquery("SELECT * FROM {$GLOBALS['prefix']}online WHERE `username` = '{$loggedinname}'");

$count2 mysql_num_rows($result2);

if(
$isloggedin != "yes")

{

    
$loggedinname "Visitor";

}

if(
$count == and $count2 == 0)

{

    
runquery("INSERT INTO {$GLOBALS['prefix']}online VALUES('$loggedinname', '$session', '$time')");


This way it should fix the problem of same user appearing more than once from who's online page. Again I cant tested this myself with only me on demo site, so run it on your active site with members and see if it works. It will not be included in Mys v1.2.3, so Id recommend you to upgrade before fixing this.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #10  
Old 08-28-2011, 12:45 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 96,828
SilverDragonTears is on a distinguished road
Default

K I tried it so I'll let you know how it works... about upgrading....

If I'm going to lose all my edits I may not upgrade. I have probably made over 100 if not more edits to my scripts.
__________________

Check out SilvaTales
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Images not showing? katsRme Feedback and Suggestions 15 08-19-2012 07:08 PM
New Rats Not Showing Up? AlexC Questions and Supports 20 04-12-2011 06:48 PM
images not showing dragonqueen Questions and Supports 7 05-22-2010 11:11 PM
Not Showing Name SJC Questions and Supports 4 04-21-2009 06:03 AM
Certain adoptables not showing Killgore Questions and Supports 5 02-22-2009 05:58 PM


All times are GMT -5. The time now is 04:02 PM.

Currently Active Users: 711 (0 members and 711 guests)
Threads: 4,081, Posts: 32,031, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636