Posts by robocreatif

32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

At this point it’s all just speculation to me. Tons of sites are claiming Apple discontinued it because the download links aren’t available anymore. However, it could very well be temporary as Apple deals with the massive amounts of bandwidth during the Mountain Lion update.

Of course, I’d accept being proven wrong with an official statement from Apple.

32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

You can do continuous playback with a few different methods using any music player (there are a few players on CodeCanyon—just run a search for “music player”). The problem isn’t the player itself, but how it’s integrated into your website.

  1. Load all of your pages via AJAX . The idea is that you only replace the content that is needed, ignoring the container for the music player. As the user loads new content the music keeps on playing. This is by far the most popular method, and in my opinion, the easiest. There are a couple plugins on CodeCanyon that can help you with this.
  2. You can put your entire site inside an iframe and keep the music player outside of the frame. Clicking on links within the frame will reload that and the music keeps on playing. The major downfall is that you can’t see the current URL in the address bar, and you can’t share links with others and still have the music work as expected.
  3. As kvendrik suggested, save the current song position when a link is clicked. On the subsequent page, restart the song and seek to the saved position. Unless there is absolutely 0 latency between the visitor’s computer and your server, this won’t be truly continuous; there will always be a pause while the page loads, the song rebuffers and navigates to a certain position.
32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

Are you using #booking as the container for the form, or the form itself? I see both $("#booking").validate() and $("#booking form").validate(). Judging from what you put in test.php, it should be:

$("#booking").load("/contact.php", function() {
    $(this).validate();
});
32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

Looks fine to me. I would probably just change the loop to something like this:

for ($i = 1; $i < 15; ++$i) {
    $nextDay = strtotime("+$i day");
    if (date('w', $nextDay)) {
        echo '<option value="' . date('dmY', $nextDay) . '">' . date('l jS M', $nextDay) . '</option>';
    }
}
32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

I’d just pop in a little date('dmY') for today’s date and date('dmY', strtotime("+$i day")) for future dates. Also, it’s probably best to save strtotime(”+$i day”) to a variable instead of using it 3 times for each loop execution.

32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

The date('w', strtotime("+$i day")) should strip out Sundays. “w” returns a numeric representation of the day of the week, 0 being Sunday, 1 is Monday, et cetera until 6 on Saturday. So, if it gives a value, we can assume it’s greater than 0 and thus not Sunday.

32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

If you’re not concerned about locality, PHP is by far the easiest and quickest method. The downside of course, is that PHP depends on the server’s time (or time set via date_default_timezone_set()).

PHP :
<?php
if (date('H') < 12) {
    echo '<option value="">Today, ' . date('d jS M') . '</option>';
}
for ($i = 1; $i < 5; ++$i) {
    if (date('w', strtotime("+$i day"))) { // 1-6 for Monday - Saturday
        echo '<option value="">' . date('l jS M', strtotime("+$i day")) . '</option>';
    }
}
?>
32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

You can now shake your phone to refresh :D

If that’s not the most perfect feature ever…

“Y U NO HAVE SALEZ ?” shake shake

32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

They said they would look into it, not get back to you :)

So that’s how these things work!

32 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
  • United States
robocreatif says

Are support tickets automatically closed after a period of inactivity? I’ve had a ticket sitting in there for just shy of 2 months. Got a “we’re looking into it” response a month ago, and just looked again today to find out it’s been closed.

by
by
by
by
by
by