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
  #21  
Old 03-22-2012, 10:42 PM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,053
!Alive is on a distinguished road
Default

Alright, if I think of anything I'll let you know. X3

As for your question I get what you mean, but I am not sure how I would be able to accomplish that.
Reply With Quote
  #22  
Old 03-22-2012, 10:46 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,217
SilverDragonTears is on a distinguished road
Default

Cool :) I'm so happy with this so it's totally cool!
__________________

Check out SilvaTales
Reply With Quote
  #23  
Old 03-22-2012, 10:58 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,217
SilverDragonTears is on a distinguished road
Default

Ok one more thing :) I think this may require a cron job or something... I think I'm more new to this than you.... but how can I only have the adopts available at certain times? Maybe a few minutes every hour?
__________________

Check out SilvaTales
Reply With Quote
  #24  
Old 03-22-2012, 10:58 PM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,053
!Alive is on a distinguished road
Default

I'm happy I was able to help.
Reply With Quote
  #25  
Old 03-22-2012, 11:02 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,217
SilverDragonTears is on a distinguished road
Default

Added one more question in for you :) Sorry, lol
__________________

Check out SilvaTales
Reply With Quote
  #26  
Old 03-22-2012, 11:04 PM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,053
!Alive is on a distinguished road
Default

So you want the adoptables to only show/be available for a certain period of time? I'd have to see if I can come up with any simple ways. But in theory(in my head) it doesn't seem so hard. Though i have never done something like that.
Reply With Quote
  #27  
Old 03-22-2012, 11:09 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,217
SilverDragonTears is on a distinguished road
Default

I'm thinking I could just use something like I use for an adopt on my fox site. They are called twilight foxes and the sprite changes during twilight hours. So I could do something like...

Code:
        $current_time = date(G);
        if ($current_time >= 17 && $current_time < 19){
show the adopts here
}else{
There are no dragons here.
}
Something like that? That's a little of the code from my twilight foxes so those are twilight hours...
__________________

Check out SilvaTales
Reply With Quote
  #28  
Old 03-22-2012, 11:15 PM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,053
!Alive is on a distinguished road
Default

Yeah, something like that should work. With the times changed to when you want dragons to be available.
Reply With Quote
  #29  
Old 03-23-2012, 12:11 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,217
SilverDragonTears is on a distinguished road
Default

Not sure how to say like >=5 && <= 5:30 lol... Ideas?
__________________

Check out SilvaTales
Reply With Quote
  #30  
Old 03-23-2012, 02:29 PM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,053
!Alive is on a distinguished road
Default

I played with it for a while and finally figured out a way to make it work. X3

$current_time = date('Gi');
if ($current_time >= 500 && $current_time < 530){
show adopts here
}else{
There are no dragons here.
}

Last edited by !Alive; 03-23-2012 at 02:35 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

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


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

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