![]() |
I meant server-side.
I hate client-side stuff. It gives complaints, because every system if different. |
@kevinG
Hi KevinG, looks beautiful, but don't work with European time Format? Could you explain me, how must I write the Statement that works with European Time? I have try so many, doesn't work... The next one, works with Opera? I don't know exactly... The last ist, you should replace the Quote:
Code:
<script type="text/javascript"> because I get errors in my IE5.5.... |
Thanks for the compliments folks and thank you neo for the screenshot. :) If we apply some css to it, they can come out looking mush better.
Quote:
Quote:
I just stuck it into the header so every page would have the ability to use the JS. By making it available in the header, the main code would not have to be repeated on every post that is using it. Like you said, I could have modified showthread but that would make installation of this a little bit harder and also make it just another re-mod when updates from vB come along again. In other words, I was lazy :D Quote:
Kevin |
This is exactly what I have been waiting for. Thanks for your work! Just one problem, it isn't working for me. I followed all of the instructions, even typed the scripts in the right place, since if I copy them, it just messes everything up. They are exactly as they are shown above, but I can't get it to work. Isn't it supposed to show up along with the other vbcodes so that I can just click on it when replying or making a new post? Or, is it not supposed to show up?
Any help would be appreciated. |
Thanks for trying it out.
I did not change anything on whether it shows up or not (buttons or help) when posting. They are just there to use. I'm going to your site now to try them out. |
After trying it out on your site, I found a small typo in your script. I then checked this with what I posted and it seems that it got changed (not sure how as I copy/pasted this from my AdminCP).
The typo is the second line of both countdown and countup function. The line that fails is PHP Code:
This is part of the code that goes into your Head Insert section. Below is the correct line for both functions. I will fix the first post here. Maybe PHP tag is doing this ??? Edit: I just tried the [ code ] tag to post the correct line and it did it again :( Both PHP and CODE tags are making this line appear incorrect. y2k = new Date(date); Admins/Mods, I'm not sure how I can fix this so the members can see the code. Help Please. Kevin |
The first post is all fixed now. I separated the date parameter in
y2k = new Date(date); into y2k = new Date( date ); so PHP does not change it to y2k = new date(date); |
Here's a style that removes the input box look.
Change the line for the input field to; document.writeln("<input type=text value='' size=40 name='countdown' border-style='none' style='border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid'>"); |
Here another one, transparent background instead of the white box.
Change the line for the input field to; document.writeln("<input type=text value='' size=40 name='countdown' border-style='none' style='background-color:transparent; border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid'>"); |
KevinG... very nice hack :)
i'm thinking to use this as a gradutation count down.... users can choose the year from a drop down menu during registration then the count down appears in their profile is this possible to hack it even more for that purpose ? thanks :) |
All times are GMT. The time now is 06:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|