vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Countdown BB Code (https://vborg.vbsupport.ru/showthread.php?t=171691)

Mum 03-14-2008 05:12 PM

Also i noticed it says '01 Days, 16 Hours, 48 Minutes, 55 Seconds.' It should really say 1 Day (no s), can this be fixed, if possible?

MoT3rror 03-14-2008 08:34 PM

Quote:

Originally Posted by Mum (Post 1464709)
Also i noticed it says '01 Days, 16 Hours, 48 Minutes, 55 Seconds.' It should really say 1 Day (no s), can this be fixed, if possible?

Try this code. Find this in your countdown.js file
Code:

        CountActive = true;
        LeadingZero = true;
        DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";

And change it to this
Code:

        CountActive = true;
        LeadingZero = false;
        DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";


Mum 03-15-2008 06:47 AM

That will still say '1 Days' - won't it? Which is gramatically incorrect.

DragonBlade 03-15-2008 09:15 AM

This would be perfect if it was not dependent on the user's time so they can exploit it.

Conner85 03-17-2008 06:36 AM

When I go to save it in my sig, the page goes blank.

MoT3rror 03-17-2008 09:22 PM

Quote:

Originally Posted by Conner85 (Post 1466807)
When I go to save it in my sig, the page goes blank.

Did this start happening when you added this BB code?

Mum 03-18-2008 07:06 AM

Quote:

Originally Posted by Mum (Post 1464703)
What could i remove so that it just says days?

Just wondering if this is possible? I only want it to say 45 days... not hours, mins, seconds... etc.

Sandra_T 03-18-2008 07:56 AM

Hi... Iam to stupid because this countdown woun`t be play on my Board.

I load the file in this folder

"/board/includes/xml/product-countdown368.xml"

and the *.js file in this folder

"/board/clientscript/countdown.js"

Is this correct?

Hier are some screenshots:

http://www.pic-share.eu/image/1cd116becd

http://www.pic-share.eu/image/21aed92655

http://www.pic-share.eu/image/e3a2e9b85b

Are these settings also correct?


Thank you all people :) :cool: ;) :up:


Sandra_T

Mum 03-18-2008 06:32 PM

Sandra_T - you need to follow the instructions in the top post :)

MoT3rror 03-19-2008 03:29 AM

Quote:

Originally Posted by Mum (Post 1467739)
Just wondering if this is possible? I only want it to say 45 days... not hours, mins, seconds... etc.

Yes you can change the the display of the countdown by the countdown.js file.

Code:

        CountActive = true;
        LeadingZero = true;
        DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";

You just change the DisplayFormat to what you want it to be. Like if you only wanted days you can do something like this
Code:

        CountActive = true;
        LeadingZero = true;
        DisplayFormat = "%%D%% Day(s)";

%%D%% = Days
%%H%% = Hours
%%M%% = Minutes
%%S%% = Seconds


All times are GMT. The time now is 10:53 AM.

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.03603 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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