vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   vBulletin Forum Sideblocks - Countdown (Forum, Sideblock, vBa CMPS, Multiple Countdowns) (https://vborg.vbsupport.ru/showthread.php?t=266689)

cc10 02-11-2012 12:23 AM

1 Attachment(s)
Having a bit of a problem with this

when we had the sideblock it was right and counted down correctly, as you can see from the screenshot its now counting down wrong

any ideas as the code is set right as it should be, theres not 88days in a week for instance :eek:

1320Nation 02-11-2012 04:01 AM

Gemma, I appreciate your help. You have been great with the support you have given me each time I have needed it. I hope you are ok I saw where you mentioned of not being long out of the hospital. I installed the countdown using the instruction from reply #122 since I have VBAdvanced. However, in order to get it to work I had to search a lot to find the needed info. Changing the 1st line to read the 1.4.1 jquery.

Code:

<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.6.1.min.js"></script>
Would there be any way to put all these necessary additions together? Like the image info you just provided for me.

Either way thanks for your help!

Gemma 02-11-2012 09:19 AM

Quote:

Originally Posted by cc10 (Post 2298431)
Having a bit of a problem with this

when we had the sideblock it was right and counted down correctly, as you can see from the screenshot its now counting down wrong

any ideas as the code is set right as it should be, theres not 88days in a week for instance :eek:

Can you send me a link to your site so I can look at the code?

Quote:

Originally Posted by psychobike (Post 2298478)
Gemma, I appreciate your help. You have been great with the support you have given me each time I have needed it. I hope you are ok I saw where you mentioned of not being long out of the hospital. I installed the countdown using the instruction from reply #122 since I have VBAdvanced. However, in order to get it to work I had to search a lot to find the needed info. Changing the 1st line to read the 1.4.1 jquery.

Code:

<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.6.1.min.js"></script>
Would there be any way to put all these necessary additions together? Like the image info you just provided for me.

Either way thanks for your help!

Sorry, I must have overlooked editing that post when I reverted back to using jquery-1.4.1 :o

cc10 02-11-2012 02:00 PM

Quote:

Originally Posted by Gemma (Post 2298509)
Can you send me a link to your site so I can look at the code?

There you go gemma, thanks

http://www.thinkingcarptackle.co.uk/forum.php

Gemma 02-11-2012 02:14 PM

Ok, you've got omitWeeks set as true.

Do you want to show the number of weeks or remove the weeks and just show it as days, hours, minutes and seconds?

cc10 02-11-2012 03:18 PM

Quote:

Originally Posted by Gemma (Post 2298564)
Ok, you've got omitWeeks set as true.

Do you want to show the number of weeks or remove the weeks and just show it as days, hours, minutes and seconds?

I would like it to show, weeks days hours mins secs.

Gemma 02-11-2012 03:33 PM

Quote:

Originally Posted by cc10 (Post 2298588)
I would like it to show, weeks days hours mins secs.

Changing this part of the code omitWeeks: true to omitWeeks: false should fix your problem

For reference if you wanted to remove the weeks part entirely you would leave it set at true and then would need to replace this part of the code

Code:

<div class="dash first weeks_dash">
                <span class="dash_title">Weeks</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>
            <div class="dash days_dash">
                <span class="dash_title">Days</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>

With this

Code:

<div class="dash first days_dash">
                <span class="dash_title">Days</span>
                <div class="digit">0</div>
                <div class="digit">0</div>
            </div>

That would remove the WEEKS completely

cc10 02-11-2012 03:38 PM

Quote:

Originally Posted by Gemma (Post 2298594)
Changing this part of the code omitWeeks: true to omitWeeks: false should fix your problem


Sorted, thanks gemma ;) :up:

Gemma 02-14-2012 11:24 AM

Quote:

Originally Posted by cc10 (Post 2298597)
Sorted, thanks gemma ;) :up:

Your welcome :)

thecore762 03-04-2012 06:54 AM

Is it possible to add a countdown clock in a forum post?


All times are GMT. The time now is 09:04 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.01515 seconds
  • Memory Usage 1,749KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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