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)

wilford brimley 07-10-2012 06:37 PM

i think it needs the "omitWeeks: true" part as well. i did two events that both go n a saturday at 10 eastern and it is showing the countdown to be the same, ignoring that they are a week apart. i set the date right at "date" in the code. how do i add that?

Gemma 07-10-2012 06:47 PM

Quote:

Originally Posted by wilford brimley (Post 2346754)
i think it needs the "omitWeeks: true" part as well. i did two events that both go n a saturday at 10 eastern and it is showing the countdown to be the same, ignoring that they are a week apart. i set the date right at "date" in the code. how do i add that?

This should work.

Code:

// Initiate Countdown
jQuery(document).ready(function() {
    $('#countdown').countDown({
        targetDate: {
            'day':      00,
            'month':    00,
            'year':    0000,
            'hour':      00,
            'min':        0,
            'sec':        0,
            // time set as UTC
            'utc':      true
},
            omitWeeks: true
                });
});


Draffi 11-13-2012 12:18 PM

Hi!

It is possible to read multiple countdown-dates from a txt-file? I mean, if one countdown is finish, the next one is enter automaticaly?

Please, can somebody with coding skills help here, for this great Add-on?

Thanks in advance!

D.

Bob_R 12-11-2012 09:43 PM

So, if I wish to use this option: To show multiple countdowns on forumhome

I use Step 1 and then go to Post #158? Which template? FORUMHOME? And, where exactly do I place the code?

I just wish to be sure.

Thank you. :)

Gemma 12-11-2012 09:53 PM

Quote:

Originally Posted by Bob_R (Post 2390107)
So, if I wish to use this option: To show multiple countdowns on forumhome

I use Step 1 and then go to Post #158? Which template? FORUMHOME? And, where exactly do I place the code?

I just wish to be sure.

Thank you. :)

I've not looked at this since I built my new site, I might need to re-install it, but yes do step 1 then if you look back at post #153 it suggests to you where to place the code, although it depends where you want it to display - above forums or below forums?

Bob_R 12-12-2012 12:36 AM

1 Attachment(s)
Quote:

Originally Posted by Gemma (Post 2390111)
I've not looked at this since I built my new site, I might need to re-install it, but yes do step 1 then if you look back at post #153 it suggests to you where to place the code, although it depends where you want it to display - above forums or below forums?

Thank you very, very much!

Here's an easy one for ya! :)

See the screen shot I attached. I need a fresh set of eyes, like yourself.

Notice how the first timer is a "touch" lower than the other 3.

How can I fix that? Again, much thanks! :up:

EDIT: How come 2 of the timers read Countdown Complete?

Gemma 12-12-2012 09:34 AM

Quote:

Originally Posted by Bob_R (Post 2390133)
EDIT: How come 2 of the timers read Countdown Complete?

The template for forumhome is really just a guide as to how you could display it, so in parts I included all the code including the bit to show a message when the timer was complete - that is what you are seeing when it says 'COUNTDOWN COMPLETE'

To remove it, search for

Code:

<div class="info_message" id="complete_info_message" style="display: none;">
                Countdown Complete
            </div>

It may appear more than once. Delete it.

Gemma 12-12-2012 10:45 AM

1 Attachment(s)
Added it to my site, only thing I've done different is add the css to additional.css instead of having a file on the server. And I didn't bother with this line:

Code:

<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>
http://www.arcadejunkies.org/forum.php

Bob_R 12-12-2012 03:33 PM

Quote:

Originally Posted by Gemma (Post 2390183)
The template for forumhome is really just a guide as to how you could display it, so in parts I included all the code including the bit to show a message when the timer was complete - that is what you are seeing when it says 'COUNTDOWN COMPLETE'

To remove it, search for

Code:

<div class="info_message" id="complete_info_message" style="display: none;">
                Countdown Complete
            </div>

It may appear more than once. Delete it.

Thanks!!!!!!

What about the first part of my question in post #226 as per the screenshot?

Gemma 12-12-2012 03:38 PM

Can you post the code you countdown code you are using so i can take a look at it.


All times are GMT. The time now is 10:52 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.01808 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)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