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
  #1  
Old 05-10-2011, 08:12 AM
Cindykt Cindykt is offline
Member
 
Join Date: Apr 2011
Posts: 24
Gender: Female
Credits: 5,274
Cindykt is on a distinguished road
Default Time/Clock/Seasons

I think it would be really cool to have a time zone feature, like game time. It could also have seasons and hopefully wouldn't be that hard to do. Thoughts?
Reply With Quote
  #2  
Old 05-10-2011, 10:29 AM
Rozel Rozel is offline
Member
 
Join Date: Jun 2010
Posts: 144
Credits: 10,655
Rozel
Default

That would be amazing to have. Just sayin'.
Reply With Quote
  #3  
Old 05-10-2011, 04:41 PM
rickasawr's Avatar
rickasawr rickasawr is offline
Member
 
Join Date: Apr 2011
Location: United States
Posts: 51
Gender: Male
Credits: 7,534
rickasawr is on a distinguished road
Default

It would have to include javascript, i would think.
but a nice idea.
Reply With Quote
  #4  
Old 05-11-2011, 12:34 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,972
Nemesis is on a distinguished road
Default

Sounds kinda interesting. What would the seasons do? Differnet adopts available?
Reply With Quote
  #5  
Old 05-11-2011, 12:40 AM
Cindykt Cindykt is offline
Member
 
Join Date: Apr 2011
Posts: 24
Gender: Female
Credits: 5,274
Cindykt is on a distinguished road
Default

Nothing, just for show XD
Reply With Quote
  #6  
Old 05-11-2011, 08:30 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: 333,134
Hall of Famer is on a distinguished road
Default

umm a timezone feature? I have two ideas how this can be done.

1. Upgrade your PHP to version 5.3.0+. In PHP 5.3.0+, there are lots of new date/time functions that were previously unavailable in PHP 5.2.x or earlier versions. Not sure if it will help with timezone, but its worth trying. However, most shared host do not allow PHP upgrade, so...
2. Use cronjobs.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 05-12-2011, 12:06 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,279
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

This actually could be done WITHOUT cronjobs, and WITHOUT upgrading PHP and WITHOUt Javascript.

You'd need some sort of array or switch statement, then the user identifies what timezone their in. Depending on the difference in time zone from the default you'd add or subtract hours and output their current time whenever a page loads.

The only risk when doing a feature that includes this is if someone wants a pet only available at night, then can simply change their timezone and the code will register night time and that pet will be available.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #8  
Old 05-12-2011, 12:35 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: 333,134
Hall of Famer is on a distinguished road
Default

Good point Kaeliah, I wonder if the date/time functions in old PHP versions actually can check timezone. But yeah, it wont hurt to try.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #9  
Old 05-12-2011, 12:55 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,279
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

you could do localtime() which is PHP 4 & 5.
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #10  
Old 05-16-2011, 03:10 AM
Cindykt Cindykt is offline
Member
 
Join Date: Apr 2011
Posts: 24
Gender: Female
Credits: 5,274
Cindykt is on a distinguished road
Default

Okay... now I'm confuzzled XD
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
I really blew it this time... FoxForest Questions and Supports 7 11-28-2015 05:27 PM
Long Time No See DarthPhoenix Newcomer Center 1 11-08-2014 05:52 PM
Logging in for the First Time Rozel Suggestions and Feature Requests 9 10-23-2011 01:50 PM
Last time I hope RoconzaArt Questions and Supports 4 01-17-2011 09:30 AM
when you have time i need a little help. agnyz Questions and Supports 7 01-17-2009 03:12 PM


All times are GMT -5. The time now is 03:45 AM.

Currently Active Users: 9789 (0 members and 9789 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