Loading. Please Wait... 
 |
 |
 |
Tearlow's Auction Countdown Timer, Want to have a Countdown on your Auction? |
|
Dec 18 2010, 09:29
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
The server has gone offline for unknown reasons, at this time I cannot get direct access to it so sadly no images will be generated until this has been resolved. When I get the time I will look into this further. Sorry for the inconvenience! I somewhat think this is yet another dead drive though. If it is, if you want to donate a HDD/SATA drop me an PM and we'll work from there. However, since I don't have direct access at this moment I cannot resolve it right this moment.I have finally been able to get around to fix the issue. It wasn't just a drive but the entire server setup! It literally ate my backups as well making pretty much useless. I found a backup of a slightly older offsite backup though. But there may still be issues here and there that I may need to look into so by all means report anything odd. Though saying that, when wasn't there something odd with the things I put out *Chuckles* Jury-Rigging much? (IMG:[invalid] style_emoticons/default/smile.gif)~:: Ancient historyI'm not sure about you but I've gone through some of the Auctions but at times I feel rather dumb having to look/count the time that is left for the auctions (Or if it's over already) there are people who update their threads really fast though! Either way, on most forums (if not all) we cannot run any sort of Scripts or the likes, unless approved by the Administrator/Mods.
With this in mind, I thought- Heck, Why not make a PHP script to generate an Image that you could easily add to a thread. While It might not have been that easy to make possible- It's here now! But I went a little further with this making it able to be configured by anyone who can read HTTP links and thus making your own with a very few edits. As of today thanks to Cmal there is now a GUI based Configuration! :: Special thanksCmal - The guy behind the Link Generator! :: Changelog1.0.3.6 (2012-05-02) * Added a new template as per request. "default-small" same as default bur roughly 30% smaller.
1.0.3.5 (2012-01-14) * Bugfix: For some reason Years was Rounded instead of Floored hence adding +1 each time month passes 6. This should be solved now...
1.0.3.4 (2011-08-02) * Bugfix: Added Minimal image size to prevent multi-row timer.
1.0.3.3 (2011-07-28) * UTC should be forced now. Squashed. Dead.
1.0.3.2 [2011-01-16] * Expired Countdown past 7 days will no longer be displayed. * Image now using proper Headers. This should eliminate Caching in browsers. + Template: 'default-transparent' Don't want boarders? Use this as It's transparent.
1.0.2.0 [2010-12-23] * Major optimizations. + Templates is now possible.
1.0.0.0 Initial Release
This post has been edited by Tearlow: Jun 5 2016, 08:21
|
|
|
|
 |
|
Dec 18 2010, 09:31
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
Configuration
[e-hentai-countdown.darknessfall.com] http://thenexus.servegame.com/E-Hentai/EH-...sty%20Stockpile (You may have to Rightclick and "Copy Link Location" and paste it somewhere to see the whole link.)
PARAMETERS [Time/Date] year=2030 month=1 day=1 hour=00 minute=00 second=00
PARAMETERS [Text] auctionname=Rosty%20Stockpile Note: Leave Auctionname Empty if you only want a Countdown
expire=Customized Expire message.
offset=abbreviation for timezone. Note: This is currently NOT working yet. This will have no effect on the end-user. It's only meant to make it easier to set the correct time using your local time. offset=GMT +/- offset, ex. "+5" or "-3" to increase/reduce the time.
TEMPLATES template=default 'default' will automatically be used unless speficied. if you spell it wrong and the server cannot locate your template it will use default as well.
Templates available:
default default-transparent
This post has been edited by Tearlow: Mar 20 2012, 17:25
|
|
|
|
 |
|
Dec 18 2010, 10:06
|
Ichy
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09

|
With players n different time zones this cold be very useful. Just do something about the the enormous image. And fix the colors so it looks good on the forums (IMG:[ invalid] style_emoticons/default/tongue.gif)
|
|
|
|
 |
|
Dec 18 2010, 14:14
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
QUOTE(Ichy @ Dec 18 2010, 09:06)  With players n different time zones this cold be very useful. Just do something about the the enormous image. And fix the colors so it looks good on the forums (IMG:[ invalid] style_emoticons/default/tongue.gif) You have to remember that this is just the *first* release where simply nailing the functions are in. The Size however, Like mentioned was something different *lol* Last night I didn't realize till after posting this. While getting upset about this forum not accepting different extension for images other then PNG/GIF and BMP. This file is masked to bypass that. Either way, Let's get back on topic (IMG:[ invalid] style_emoticons/default/wink.gif) My web browser re-sized it before displaying *Chuckles* and after adding the link here I realized that big mistake (IMG:[ invalid] style_emoticons/default/wink.gif) I'll et it on now though. But as per Color, I'm not really sure what to do- Maybe just a Alpha blend square (Since there are more then one template for this forum, I use Fusion_x for example) any suggestions? I will be doing something about it today though, I hope.
|
|
|
|
 |
|
Dec 18 2010, 17:38
|
hentai_fusion
Group: Gold Star Club
Posts: 33,378
Joined: 14-August 09

|
|
|
|
|
 |
|
Dec 18 2010, 17:51
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
QUOTE(hentai_fusion @ Dec 18 2010, 16:38)  it is very useful... potentially...
the only issue i have is if the name of the auction is a little long...
I didn't honestly think of using the script itself like that. Single auction's that is. What I can do is adjust the Image-size to scale with the text to solve that issue. I think that's something I could whip up fairly fast though. Nice idea by the way (IMG:[ invalid] style_emoticons/default/wink.gif)
|
|
|
Dec 18 2010, 18:02
|
hentai_fusion
Group: Gold Star Club
Posts: 33,378
Joined: 14-August 09

|
hmm... is it me or does the countdown not seem to be working?
|
|
|
Dec 18 2010, 18:04
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
QUOTE(hentai_fusion @ Dec 18 2010, 17:02)  hmm... is it me or does the countdown not seem to be working?
Completely correct. It's been since I started today, days/minutes are correct but hour is missing some arguments. EDIT: Well now I feel silly... I don't live in Asia/Taipei? That's right! That sure sorted out the odd subtraction on each timer by -8 hours.This post has been edited by Tearlow: Dec 18 2010, 18:52
|
|
|
|
 |
|
Dec 19 2010, 20:57
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
I think I've done most I can to make this thingy tick properly now, It's not optimized though- But I feel as if there is more to be done. But I need you, the people to give me directions (IMG:[ invalid] style_emoticons/default/wink.gif) The next step that I will try to go for is Template support thou a PHP template standard- Instead of now- Chaos in code! * Also, Images Scales now with roughly 25px/side. Adding a Limit to text somewhat later though.
|
|
|
|
 |
|
Dec 22 2010, 17:09
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
* Added a Expire message instead of timer reaching 0d 0h 0m and will instead say "This auction has Expired." by default. To change Use Parameter &expire= * Better Countdown operation. This will make it Much more accurate. However, This will not correct Leap years. But do we even need YEAR's?! * Countdown display has changed. example. Theres 1 day and 3hours left. The timer will display 1d 3h. But if there are 1h left it will display 1h XXmin XXsec.
Again, if there are any features that anyone would like just shout and I'll see what can be done.
|
|
|
|
 |
|
Dec 22 2010, 21:20
|
Sayo Aisaka
Group: Members
Posts: 4,556
Joined: 27-September 08

|
I like this idea.
Suggestion: If no name is specified, remove the name part altogether. Since most auctions don't tend to have names.
Bug report: It seems to be off by an hour, assuming it's supposed to be GMT. British Summer time is not currently in effect...
|
|
|
|
 |
|
Dec 22 2010, 22:28
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
QUOTE(Sayo Aisaka @ Dec 22 2010, 20:20)  I like this idea.
Suggestion: If no name is specified, remove the name part altogether. Since most auctions don't tend to have names.
Bug report: It seems to be off by an hour, assuming it's supposed to be GMT. British Summer time is not currently in effect...
Maybe go as far to remove the top part completely if no name is added?- This way you could save a few pixels for it as well,. As for the bugs, I thank you a lot for them! And No- It's set to my own Timezone (GMT+2) but I will be adding a offset parameter so it can be adjusted for each user, and making the clock run default as GMT+0. I'll get on-to it a bit later today ^^
|
|
|
|
 |
|
Dec 23 2010, 07:12
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
I might need a hand from you people. [ thenexus.servegame.com] http://thenexus.servegame.com/E-Hentai/_offset.phpThis will contain a generated list of (hopefully all Timezones) but need to know if this is done correctly. Simply look up your timezone and unless it is wrong, Leave a message. The idea is instead of using a +/- 5 etc. you will use a abbreviation. This post has been edited by Tearlow: Dec 23 2010, 07:14
|
|
|
|
 |
|
Dec 24 2010, 00:46
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08

|
Once you get all the functionality worked out, you should use a small Javascript applet to generate the link instead of having the users muck about with modifying the link themselves and link to that page instead. That way, options can be configured more easily and you can even do some error checking to make sure the timer is generated properly.
|
|
|
|
 |
|
Dec 28 2010, 12:06
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
@ cmal: Excellent idea! Shame my Javascript is a bit lacking to say the least- Give it some time and I'm sure I can whip something up though! Be it a simple form or a Shark with Lasers (IMG:[ invalid] style_emoticons/default/wink.gif) Fact is.. I might start reading up on that right away... EDIT: Should I maybe set the Time to UTC instead of GMT+1? Makes a little more sense to me... However, This could be done automatically in Java as it *Can* read Usertime and set Timezone properly... This post has been edited by Tearlow: Dec 28 2010, 12:10
|
|
|
|
 |
|
Dec 28 2010, 13:45
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
Alright. This is not much but at least it will show that it's in the pipe-line. [ thenexus.servegame.com] http://thenexus.servegame.com/E-Hentai/_Config.phpNote that this is not working at all yet. However, I've managed to get the Auto detect for timezone to work! And YES!- The design is just awful (IMG:[ invalid] style_emoticons/default/wink.gif) But hey! It's only a mock-up thing. This is also my current Testing page. Why does that matter? Well, Things might be broken when you are browsing that page.
|
|
|
|
 |
|
Dec 29 2010, 00:40
|
grumpymal
Group: Gold Star Club
Posts: 10,923
Joined: 2-April 08

|
QUOTE(Tearlow @ Dec 28 2010, 05:06)  @ cmal: Excellent idea! Shame my Javascript is a bit lacking to say the least- Give it some time and I'm sure I can whip something up though! Be it a simple form or a Shark with Lasers (IMG:[ invalid] style_emoticons/default/wink.gif) Fact is.. I might start reading up on that right away... EDIT: Should I maybe set the Time to UTC instead of GMT+1? Makes a little more sense to me... However, This could be done automatically in Java as it *Can* read Usertime and set Timezone properly... QUOTE(Tearlow @ Dec 28 2010, 06:45)  Alright. This is not much but at least it will show that it's in the pipe-line. [ thenexus.servegame.com] http://thenexus.servegame.com/E-Hentai/_Config.phpNote that this is not working at all yet. However, I've managed to get the Auto detect for timezone to work! And YES!- The design is just awful (IMG:[ invalid] style_emoticons/default/wink.gif) But hey! It's only a mock-up thing. This is also my current Testing page. Why does that matter? Well, Things might be broken when you are browsing that page. I think it would be easiest to set the default timezone to UTC/GMT since we can all use that as a reference -- its the time we get our Dawn Events. But the option to change timezones should still be available. And if you want, I can help with the Javascript configurator. I've already written a simple one for personal use, its actually pretty easy.
|
|
|
|
 |
|
Dec 29 2010, 02:23
|
Tearlow
Group: Catgirl Camarilla
Posts: 241
Joined: 16-October 09

|
QUOTE(cmal @ Dec 28 2010, 23:40)  I think it would be easiest to set the default timezone to UTC/GMT since we can all use that as a reference -- its the time we get our Dawn Events. But the option to change timezones should still be available.
And if you want, I can help with the Javascript configurator. I've already written a simple one for personal use, its actually pretty easy.
By all means, You're more then welcome too! I was about to break things an hour ago or so- Until I saw I just spelled a variable wrong *Sigh* I'd gladly accept it! As it stands right now, I'd be honored to have you maintain it (Although, there might not be much left to add...) just make sure to add something that it is your work and not mine! I still think It's time for me to really learn Java Scripting though, It's weird doing everything in PHP/mySQL writing just about everything but get a headache for some minor JS O_O There has been a slight change of plan concerning "offset" parameter. For now I will leave it and instead only use "tz" which is obviously short for Time Zone. Simply use +5 to increase by 5 and -5 to decrease by 5. Also, Time has been corrected to UTC by Localtime-60, this should not cause any errors. Report if it still does for whatever reasons! Also, Where on earth can I change the Threads topic? I've been meaning to since that darn spelling error.. *Chuckles*
|
|
|
|
 |
|
Dec 29 2010, 02:27
|
hgbdd
Group: Gold Star Club
Posts: 8,364
Joined: 8-December 08

|
QUOTE(Tearlow @ Dec 29 2010, 00:23)  Also, Where on earth can I change the Threads topic? I've been meaning to since that darn spelling error.. *Chuckles*
I'm not sure if the title can be changed in this board, but in case it's possible, click edit button in the first post, then you should be able to change Topic Title/Description. Edit: Feature only for gold stars and above members, in case someone ask. This post has been edited by cmdct: Dec 29 2010, 02:29
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|