Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 01-26-2011, 08:25 AM
Forsaken Forsaken is offline
Member
 
Join Date: Jan 2011
Posts: 6
Gender: Male
Credits: 120
Forsaken is on a distinguished road
Default

ok so why not add something to the header that just adds say a one to the a cell in the user table everytime the header loads and then make a cron that takes away the one each minute.

It would be off by 59 seconds give or take but but if a person just wanted an idea of the useage that would work.

Or make it add the new time stamp to header so each time it loaded they put in a new time stamp.

My game shows the users online and it shows the number of seconds since they made their last click.

if something like this is still wanted I can make it work but I don't want to put a lot of time into something that people don't really want.

I'll be honest tho this script is written in a code that I don't really work with a lot, I was playing with it just to see and I got the cron 1 minute thing working, that is pretty simple but i was having a problem getting it to read the time stamp right.

I work in php but this thing is totally different from the way that I write. I am sure I can get the time stamp to go but like i said i don't want to spend a lot of time if really isn't wanted.

Last edited by Kaeliah; 01-26-2011 at 08:59 AM. Reason: Tripple post
Reply With Quote
  #12  
Old 01-26-2011, 08:33 AM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,887
RoconzaArt is an unknown quantity at this point
Default

You may want to use the edit button in the future.
__________________
Reply With Quote
  #13  
Old 01-26-2011, 08:39 AM
Forsaken Forsaken is offline
Member
 
Join Date: Jan 2011
Posts: 6
Gender: Male
Credits: 120
Forsaken is on a distinguished road
Default

Sorry old habit I am use to my forum and in that one people use it for more of a chat than a forum, i will refrain from doing so in the future.
Reply With Quote
  #14  
Old 01-26-2011, 08:57 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,282
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Quote:
Originally Posted by Forsaken View Post
ok so why not add something to the header that just adds say a one to the a cell in the user table everytime the header loads and then make a cron that takes away the one each minute.

It would be off by 59 seconds give or take but but if a person just wanted an idea of the useage that would work.

Or make it add the new time stamp to header so each time it loaded they put in a new time stamp.

My game shows the users online and it shows the number of seconds since they made their last click.

if something like this is still wanted I can make it work but I don't want to put a lot of time into something that people don't really want.

I'll be honest tho this script is written in a code that I don't really work with a lot, I was playing with it just to see and I got the cron 1 minute thing working, that is pretty simple but i was having a problem getting it to read the time stamp right.

I work in php but this thing is totally different from the way that I write. I am sure I can get the time stamp to go but like i said i don't want to spend a lot of time if really isn't wanted.
I fixed the posts. ^.^

Anyway, some of your suggestions might work, but they'd take up a lot of resources. Redoing a timestamp EVERY time someone loaded a page? I had a small site that got over 2000 page loads a day. I can't imagine how much it would be for a larger site.

Maybe make the session time out shorter, then everytime someone logs in record in it a new table and have a cron run by every hour to check to see if they're still logged in.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #15  
Old 01-26-2011, 10:44 AM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,598
Bloodrun
Send a message via Yahoo to Bloodrun
Default

The easiest way to do it is to have the cookie from the login, store an 'isonline' variable, and have it delete itself after 15 minutes of no activity on the site, in case people forget to log out.
__________________
Have any questions?
Feel Free to PM Me! =D
What you could get with a Premium Member account.
The Forum has been released!
Reply With Quote
  #16  
Old 01-26-2011, 08:23 PM
HIddenPanda's Avatar
HIddenPanda HIddenPanda is offline
I Am... Da Sheep
 
Join Date: Jul 2010
Posts: 52
Gender: Male
Credits: 5,330
HIddenPanda
Default

Below... Possible idea... may make a plugin if anyone says they want it, I will gladly code it

... Pseudo-code ACTIVATE

Code:
$var = Get Current Page

$res = Select all rows from table $prefix_activity

if Number of Rows in $res > 249 {
Delete oldest activity
}

Insert into $prefix_activity user, time, and current page

//Show page normally
ONly bad part is, you would have to insert on every page you want it to work on OR put it in functions.php or (if my idea is used...) templatedeff.php (or whatever i called it, i forgot)

This would work similar to the way you can view what the last activity on MyBB forums were, like whenever I go to HallOfFamer's profile, Majority of the time, hes lurking on the WHo's Online page... and i can see that

So on the Latest Activity page of this mod It will list UP TO 250 Latest page visits and who was it, and WHen they did it

You could optionally set it lower, just so it takes up less database space...


Comprende?

So HoF want me to write that out for 1.2 ? :D xD
__________________
dasheep.tk

Last edited by HIddenPanda; 01-26-2011 at 10:56 PM.
Reply With Quote
  #17  
Old 01-26-2011, 08:36 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 26,276
PTGigi
Default

A Who's Online list for our sites? Gah I'd love that, it's the best page in the world to sit on XD
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
Reply With Quote
  #18  
Old 01-31-2011, 02:14 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,098
Missy Master is an unknown quantity at this point
Default

ohh man, I want, I want!!! An online list would be KILLER!!!
Reply With Quote
  #19  
Old 02-11-2011, 06:37 PM
Lunaria Lunaria is offline
Member
 
Join Date: Feb 2011
Posts: 20
Gender: Male
Credits: 1,129
Lunaria is on a distinguished road
Default

I agree with Annatar! I would love one of them!
Reply With Quote
  #20  
Old 02-16-2011, 02:03 PM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,098
Missy Master is an unknown quantity at this point
Default

GOT it!

Will be posting it shortly!!
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
Who's Online page parayna Questions and Supports 2 12-11-2014 12:20 PM
Online Page Nieth Questions and Supports 7 11-26-2013 06:10 AM
Who's Online Page Yuki Night Questions and Supports 5 01-28-2013 11:53 PM
online pet/art tools Nemesis Other Chat 1 11-11-2012 01:34 PM
Who's Online Missy Master Mys v1.1.x Mods 4 02-26-2011 09:26 AM


All times are GMT -5. The time now is 04:10 AM.

Currently Active Users: 9793 (0 members and 9793 guests)
Threads: 4,080, Posts: 32,024, 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