Social Countdowns

Discuss whatever you like here! ( ...that's not spam!)

Moderators: Support Staff², Support Staff, AvantGuard, Developer

Coolnat2004
Semi-Avantic
Semi-Avantic
Posts: 623
Joined: Sat Aug 30, 2003 6:54 am
Windows Version: Windows
Avant Version:
Location: NKY
Contact:

Social Countdowns

Post by Coolnat2004 » Thu Jan 19, 2006 12:42 am

Check out what I just launched!

http://www.pending.be

Image

Sergei
AvantGuard
AvantGuard
Posts: 2488
Joined: Fri Sep 19, 2003 5:09 am
Windows Version: Windows
Avant Version:
Location: Galway, Ireland
Contact:

Post by Sergei » Thu Jan 19, 2006 5:06 am

Well that's making interesting noises from my pop-up blocker. Not much else though.

Coolnat, WTF!?
My Cartoons
:
IE7 ][ Windows XP Tablet PC Edition 2005 ][ Avast! Antivirus ][ Kerio Firewall ][ DSL

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Post by abfan123 » Thu Jan 19, 2006 6:29 am

Nice website.
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

User avatar
SweetLou
Avant Guru
Avant Guru
Posts: 3897
Joined: Tue Jan 27, 2004 10:33 pm
Windows Version: Windows
Avant Version:
Location: Lakewood, Ohio USA

Post by SweetLou » Thu Jan 19, 2006 7:04 am

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.
Beer is proof that God loves us and wants us to prosper. -Benjamin Franklin
Where's the dancing and singing monkey?

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Post by abfan123 » Thu Jan 19, 2006 9:57 am

I'm able to enter this website with IE and Avant without problems at all (Default cookies setting.)
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

User avatar
SweetLou
Avant Guru
Avant Guru
Posts: 3897
Joined: Tue Jan 27, 2004 10:33 pm
Windows Version: Windows
Avant Version:
Location: Lakewood, Ohio USA

Post by SweetLou » Thu Jan 19, 2006 10:01 am

Well, that might be because the default settings allows cookies, I don't allow cookies on my pc unless I want them.
Beer is proof that God loves us and wants us to prosper. -Benjamin Franklin
Where's the dancing and singing monkey?

Sergei
AvantGuard
AvantGuard
Posts: 2488
Joined: Fri Sep 19, 2003 5:09 am
Windows Version: Windows
Avant Version:
Location: Galway, Ireland
Contact:

Post by Sergei » Thu Jan 19, 2006 5:20 pm

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...
My Cartoons
:
IE7 ][ Windows XP Tablet PC Edition 2005 ][ Avast! Antivirus ][ Kerio Firewall ][ DSL

Coolnat2004
Semi-Avantic
Semi-Avantic
Posts: 623
Joined: Sat Aug 30, 2003 6:54 am
Windows Version: Windows
Avant Version:
Location: NKY
Contact:

Post by Coolnat2004 » Fri Jan 20, 2006 2:42 am

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

User avatar
SweetLou
Avant Guru
Avant Guru
Posts: 3897
Joined: Tue Jan 27, 2004 10:33 pm
Windows Version: Windows
Avant Version:
Location: Lakewood, Ohio USA

Post by SweetLou » Fri Jan 20, 2006 8:19 am

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!
Beer is proof that God loves us and wants us to prosper. -Benjamin Franklin
Where's the dancing and singing monkey?

Coolnat2004
Semi-Avantic
Semi-Avantic
Posts: 623
Joined: Sat Aug 30, 2003 6:54 am
Windows Version: Windows
Avant Version:
Location: NKY
Contact:

Post by Coolnat2004 » Sat Jan 21, 2006 2:58 am

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/

User avatar
SweetLou
Avant Guru
Avant Guru
Posts: 3897
Joined: Tue Jan 27, 2004 10:33 pm
Windows Version: Windows
Avant Version:
Location: Lakewood, Ohio USA

Post by SweetLou » Sat Jan 21, 2006 5:35 am

Ah, thanks anyway. My team is on a Windows server using ASP.
Beer is proof that God loves us and wants us to prosper. -Benjamin Franklin
Where's the dancing and singing monkey?

Coolnat2004
Semi-Avantic
Semi-Avantic
Posts: 623
Joined: Sat Aug 30, 2003 6:54 am
Windows Version: Windows
Avant Version:
Location: NKY
Contact:

Post by Coolnat2004 » Sat Jan 21, 2006 7:50 pm

You can still use the javascript ("Realtime Countdown").

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Post by abfan123 » Sat Jan 21, 2006 8:37 pm

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.
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

User avatar
SweetLou
Avant Guru
Avant Guru
Posts: 3897
Joined: Tue Jan 27, 2004 10:33 pm
Windows Version: Windows
Avant Version:
Location: Lakewood, Ohio USA

Post by SweetLou » Sat Jan 21, 2006 9:42 pm

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.
Beer is proof that God loves us and wants us to prosper. -Benjamin Franklin
Where's the dancing and singing monkey?

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Post by abfan123 » Sat Jan 21, 2006 9:48 pm

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.
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

User avatar
MysteryFCM
Administrator
Administrator
Posts: 7330
Joined: Tue Dec 09, 2003 2:34 am
Windows Version: 10, 8.0, 8.1, 7, Vista, XP
Avant Version: 13.00 Build 23
Default engine: Gecko
IE Version: 7.x, 8.x, 9.x, 10.x, 11.x
Skin: AthenX
Location: Newcastle Upon Tyne, UK
Contact:

Post by MysteryFCM » Sat Jan 21, 2006 9:59 pm

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).

T!663R
Newbie
Newbie
Posts: 33
Joined: Fri Jun 10, 2005 7:15 pm
Windows Version: Windows
Avant Version:
Location: United States

Post by T!663R » Sat Jan 21, 2006 10:00 pm

Hmmm, IIS is much better for Windows servers imo.

User avatar
SweetLou
Avant Guru
Avant Guru
Posts: 3897
Joined: Tue Jan 27, 2004 10:33 pm
Windows Version: Windows
Avant Version:
Location: Lakewood, Ohio USA

Post by SweetLou » Sat Jan 21, 2006 10:00 pm

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.
Beer is proof that God loves us and wants us to prosper. -Benjamin Franklin
Where's the dancing and singing monkey?

abfan123
Avantus Maximus
Avantus Maximus
Posts: 5624
Joined: Wed Jan 26, 2005 4:24 pm
Windows Version: Vista Ultimate x64 SP2
Avant Version: 11.7 build 43
IE Version: 8
Contact:

Post by abfan123 » Sat Jan 21, 2006 10:03 pm

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.
IE8(Pro), Microsoft Security Essentials
Main PC:
Image
Secondary PC same as primary but with Windows 7 x64 Ultimate as the OS.

Coolnat2004
Semi-Avantic
Semi-Avantic
Posts: 623
Joined: Sat Aug 30, 2003 6:54 am
Windows Version: Windows
Avant Version:
Location: NKY
Contact:

Post by Coolnat2004 » Sun Jan 22, 2006 1:55 am

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/

Post Reply