#21
|
|||
|
|||
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. |
#22
|
||||
|
||||
Cool :) I'm so happy with this so it's totally cool!
|
#23
|
||||
|
||||
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?
|
#24
|
|||
|
|||
I'm happy I was able to help.
|
#25
|
||||
|
||||
Added one more question in for you :) Sorry, lol
|
#26
|
|||
|
|||
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.
|
#27
|
||||
|
||||
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. } |
#28
|
|||
|
|||
Yeah, something like that should work. With the times changed to when you want dragons to be available.
|
#29
|
||||
|
||||
Not sure how to say like >=5 && <= 5:30 lol... Ideas?
|
#30
|
|||
|
|||
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. |
|
|
What's New? |
What's Hot? |
What's Popular? |