Page 1 of 2

Social Countdowns

Posted: Thu Jan 19, 2006 12:42 am
by Coolnat2004
Check out what I just launched!

http://www.pending.be

Image

Posted: Thu Jan 19, 2006 5:06 am
by Sergei
Well that's making interesting noises from my pop-up blocker. Not much else though.

Coolnat, WTF!?

Posted: Thu Jan 19, 2006 6:29 am
by abfan123
Nice website.

Posted: Thu Jan 19, 2006 7:04 am
by SweetLou
I think I figured it out. This site needs to use cookies. In my browsers, only Firefox worked, not IE, not Avant, not Opera. Then I realized that I have Firefox to accept all cookies but to treat them all as session cookies. So, I blocked cookies in Firefox and I can't get the page.

Posted: Thu Jan 19, 2006 9:57 am
by abfan123
I'm able to enter this website with IE and Avant without problems at all (Default cookies setting.)

Posted: Thu Jan 19, 2006 10:01 am
by SweetLou
Well, that might be because the default settings allows cookies, I don't allow cookies on my pc unless I want them.

Posted: Thu Jan 19, 2006 5:20 pm
by Sergei
Ah, that would be my problem too, I don't allow cookies except by name.

*Allows*

Ah, that is a nice idea. That's going to be a hit I'm sure!

Didn't know you were Belgian...

Posted: Fri Jan 20, 2006 2:42 am
by Coolnat2004
Hah, I'm not. .be domains had a free promotion going and I grabbed it.

I think I will put in a check for cookies, and just use the countdown's set timezone if it can't get a timezone.

But, most people have cookies enabled so it should not be a problem. Also, the popup should not be occurring.. I'll have to look into that. Registering gets rid of the autodetection.. so.. yeah.

I've been working on this since like early December. I think it is really cool :P

Posted: Fri Jan 20, 2006 8:19 am
by SweetLou
What kind of countdown are you using? php, javascript, asp? I was thinking about putting a countdown on my rugby team's page for the first game of the season, St. Patty's Day in Savannah!

Posted: Sat Jan 21, 2006 2:58 am
by Coolnat2004
It's a special combination of PHP and javascript coded entirely by me. You can get the source code for both on my website, though the source for the rest of pending.be (lots and lots and lots and lots) is not released and probably won't be. ;)

http://code.nathanbolender.com/

Posted: Sat Jan 21, 2006 5:35 am
by SweetLou
Ah, thanks anyway. My team is on a Windows server using ASP.

Posted: Sat Jan 21, 2006 7:50 pm
by Coolnat2004
You can still use the javascript ("Realtime Countdown").

Posted: Sat Jan 21, 2006 8:37 pm
by abfan123
SweetLou wrote:Ah, thanks anyway. My team is on a Windows server using ASP.
You're able to install PHP on a Windows IIS server.

Posted: Sat Jan 21, 2006 9:42 pm
by SweetLou
Yeah, I have php running on Windows at my home pc, but not on the host server. I've been trying to get my team to switch from Windows to Apache, but it has been hard going.
Thanks Coolnat, I thought you said it was php & javascript. Not a php one and a javascript one. Anyway, I'd need to use cookies and I don't like to use cookies if not absolutely needed.

Posted: Sat Jan 21, 2006 9:48 pm
by abfan123
You don't need to switch from IIS to Apache.
You're not able to install ASP on Apache but you're able to install both PHP and ASP on IIS.

Posted: Sat Jan 21, 2006 9:59 pm
by MysteryFCM
abfan123 wrote:You don't need to switch from IIS to Apache.
You're not able to install ASP on Apache but you're able to install both PHP and ASP on IIS.
It should be noted, whilst you can use PHP on IIS, IIS only has *limited* support for it (i.e. not all aspects of it will work the same as it is supposed to).

Posted: Sat Jan 21, 2006 10:00 pm
by T!663R
Hmmm, IIS is much better for Windows servers imo.

Posted: Sat Jan 21, 2006 10:00 pm
by SweetLou
No, I want apache on Linux. I like it way more than Windows and IIS. But, we are getting off topic. So, let's end this and allow the original thread to continue.

Posted: Sat Jan 21, 2006 10:03 pm
by abfan123
Well,
I was able to install all the most popular scripts on it (PhpNuke,PhpBB etc....) and also program some my scripts.Never noticed of any limits so far.
So PHP for Windows on IIS is supporting almost all the functions.

Posted: Sun Jan 22, 2006 1:55 am
by Coolnat2004
You don't need cookies either. Pending.be needs cookies since it has timezone adjustments, logins, etc. It specifically is using a combination of the two scripts (which are slightly modified specifically for it) to increase fallback support and allow the user to disable javascript.

All you need to use the javascript version on my site is put it on the server, then in your webpage create a named element like this:

Code: Select all

<div id="time"></div>
That is where the time will display. Then you put something like this in the <head> of your HTML:

Code: Select all

<script language="javascript" src="realtime.countdown.v.1.0.js"></script>
<script language="javascript" type="text/javascript">
function load() {
	countdown('time', "January 26, 2006 0:00:00", 2, "Courtney's Birthday");
}
</script>
and on the body element call the load function:

Code: Select all

<body onload="load()">
and you're done. No cookies. No PHP. Live updating.

Here's the manual/example page that comes in the zip: http://code.nathanbolender.com/rtcmanual/