vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   New vBCode Tags: [Countdown] and [Countup] timers for users (https://vborg.vbsupport.ru/showthread.php?t=38179)

isman 10-20-2002 06:14 PM

I'm having trouble incorporating this with the Signature-Editor hack by Fryzid, link to sig editor.

I get java script errors and then can't use any of the buttons on the page.

Is anyone else using these together? Here's a link to my board where you can see first hand what the problem is. Go the edit your signature and then click "Preview Signature". You'll see none of the buttons work after that.

Link to my test board

isman 10-22-2002 02:27 AM

This is the line I'm having trouble with but I don't see anything wrong.
Code:

eval("document.forms.form" + rndNum + ".elements.countdown.value = thisoutput;");
Anyone see anything with this?

Erwin 11-17-2002 09:51 PM

Quote:

Originally posted by isman
This is the line I'm having trouble with but I don't see anything wrong.
Code:

eval("document.forms.form" + rndNum + ".elements.countdown.value = thisoutput;");
Anyone see anything with this?

It's the signature preview bits - remove the signature preview section of the code and you will be fine.

Buddha 03-19-2003 04:26 PM

tried to install this, and followed the instructions all the way through the thread. got errors in IE, the bottom Post Reply didn't work, and the text didn't appear for the countdown or countup.

very disappointing, seeing as this would have been very useful.

InnerSelf 04-10-2003 03:51 PM

is there a way to just implant this in your own startpage instead of in a post?

i would like to add it in my page without anyone can use it :p

mismatch 03-15-2004 09:03 AM

hi I love this hack and got it set up with no probs whatsoever a few weeks ago.
My members are well chuffed with it too - however my hosting comapny aren't - it isn't just the countdown my members use massive signatures for no apparent nor sensible reason

It has increased my bandwidth and the more members that have the countdown the more bandwidth that gets eaten up - some of them aren't satisfied with one countdown they have to have 2 or 3!!

someone mentioned earlier in the thread about moving it into a showthread instead of header template - is this easy? would it solve the problem? what other files/templates etc... would I need to change? Do i just drop the js that is in the header into showthread in the admin panel and what about new reply does this need attention too?

can you give me some more info on this please I love the countdown and really want to keep it but as my hosting company suspended my account due to using 10gb (how??) I need to start addressing some of these bandwidth munching monsters on my site.

Also does anyone know how I can restrict signatures to x characters? It is nay on impossible reading some posts now due to stupidly long signatures.

I have verbally requested a restriction but this of course is ignored!

TIA

mismatch 03-16-2004 09:12 AM

I think this is too old a thread for a reply :( I'll give it a go myself and let you know if I destroy my board in the process :)

________________

....no I don't trust myself after peering into the files I shall have to remove the hack for a day to see if it is the bandwidth culprit - my members will be gutted if they lose it altogether :ermm:

ryancooper 05-14-2004 12:28 AM

Anychance we can get this for VB3?

mismatch 05-14-2004 06:09 AM

seriously I wouldn't bother unless it is out of the header_inc my site isn't huge (80,000) posts although a fair few attachments but it has used 20gb bandwidth so far this month and it isn't over yet. My hosting bill more than doubled when I put this hack on.

VB3 has the event reminder system built into the calendar - I am hoping for a countdown from calendar event that could maybe be displayed in profiles for example....does that sound do-able anyone??

subu1 05-15-2004 10:58 AM

cool Hack, click install thxxx, but *g*

i have a problem.

it happen can I that as Threadstarter a field empty would have (Countdown mode)?????

if I goes answer it however, only as Threadstarter have I often problem.

greetz subu1

Stu 06-22-2004 05:45 PM

Quote:

Originally Posted by ryancooper
Anychance we can get this for VB3?

This works for vB3 as it is

DWard 07-07-2004 06:03 PM

OK, the script worked once for me, then never again. I have put the code at the bottom of my header_include and also tried with the code at the top of the body tag, however it shows the text and a blank white box below, what do I do, this is the code it outputs:

<Script language='Javascript'>
var rndNum = Math.floor(Math.random() * 10000);
var tempString="May 4, 2005;Currently At WDW Now;BLUE";
tempArray=explodeArray(tempString,";");
document.writeln("<form name='form" + rndNum + "' action='javascript<b></b>:void(0);'>");
document.writeln('<font size=2 color="'+tempArray[2]+'">My Countdown to Disney World</font><BR>');
document.writeln("<input type=text value='' size=40 name='countdown'>");
document.writeln("</form>");
countdown(tempArray[0], rndNum, tempArray[1]);
</script>

TruckMuddr 02-23-2005 12:24 AM

Umm, is there a way to add years also???? when you get like 2450 days, it looks alittle weird.

rex_b 03-19-2005 01:51 PM

This works for 3.0.7 Kevin you may want to rerelease as such.

Mum 12-14-2007 05:41 PM

Could anyone in the know tell me if i could use this for current vB, as i really want this BBcode, but not sure if it's completely different now?


All times are GMT. The time now is 08:36 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
  • Page Generation 0.01230 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete