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)

Hiks 07-24-2011 10:39 AM

Installed and working a treat, 4.1.2 Thanks. http://www.baja-forum.co.uk/index.php

kylek 07-30-2011 11:50 PM

Question on where to put the files.

For the sidebar countdown zip - do these go in forum root?

And the zip for the cms countdown - where should these go also?

Gemma 07-30-2011 11:55 PM

Quote:

Originally Posted by kylek (Post 2227054)
Question on where to put the files.

For the sidebar countdown zip - do these go in forum root?

And the zip for the cms countdown - where should these go also?

Upload the countdown folder to your forum root.

kylek 07-31-2011 03:21 AM

Thanks Gemma.

The cms countdown worked right away but the forum sidebar one has not been the same way.

Tried everything suggested in the posts and just got the countdown with all zeros.

Decided to try the second forum sidebar countdown, created it and it works, and the weird part is as soon as the second one started, it made the first one start to work also.

So only needing one I deleted the first one and kept the second and all is good.

MagicTallGuy 08-02-2011 10:08 PM

Hi Gemma,
i have installed the modification and it works well :)

Small problem:
how do i make the widget appear on the main page of the CMS

thanks for the mod !

Gemma 08-02-2011 10:19 PM

Quote:

Originally Posted by MagicTallGuy (Post 2228385)
Small problem:
how do i make the widget appear on the main page of the CMS!

Did you see this post? https://vborg.vbsupport.ru/showpost....1&postcount=19

MagicTallGuy 08-03-2011 02:59 AM

yes, I believe that I followed those instructions properly, but the countdown is showing up inside some of the section widgets - not on the home page.

Gemma 08-03-2011 07:11 AM

Ah got you, you will need to add the widget to the 'Home' layout.

Go to AdminCP > vBulletin CMS > Layout Manager

Choose edit 'Home', add the countdown from the widget selections then drag it to where you want it on the grid layout. Save.

MagicTallGuy 08-04-2011 10:03 PM

works perfect now - Thanks alot Gemma :)

westy543 08-05-2011 04:02 AM

Works fantastic, looks great on my forums. :)

K4GAP 08-05-2011 09:46 AM

In my admin cp under Styles & Templates, there is no selection to create new template.

I'm running 4.1.5

Gemma 08-05-2011 11:25 AM

Quote:

Originally Posted by GaryT (Post 2229596)
In my admin cp under Styles & Templates, there is no selection to create new template.

I'm running 4.1.5

Sorry GaryT, I missed a bit out :o

Go to AdminCP > Styles and Templates > Style Manager > Add New Template

Scalemotorcars 08-19-2011 06:38 PM

Curious if this could be adapted to work with the poll forum block having the settings taken automatically from when the poll ends....

I'm using this one here. https://vborg.vbsupport.ru/showthrea...highlight=poll

Gemma 08-20-2011 04:59 PM

Quote:

Originally Posted by Scalemotorcars (Post 2235492)
Curious if this could be adapted to work with the poll forum block having the settings taken automatically from when the poll ends....

I'm using this one here. https://vborg.vbsupport.ru/showthrea...highlight=poll

Sorry, not something I've looked at or considering.

Scalemotorcars 08-21-2011 11:53 AM

Thanks Gemma. Ill put in a mod request. Maybe someone can figure it out.

tidus78 08-22-2011 09:45 PM

Hi Gemma.

Countdown is working on my 4.1.5. but not the content....
I would like to display an image on the countdown, but nothing appears by inserting the contents between the tags <div></div>

Gemma 08-22-2011 09:56 PM

Quote:

Originally Posted by tidus78 (Post 2236758)
Hi Gemma.

Countdown is working on my 4.1.5. but not the content....
I would like to display an image on the countdown, but nothing appears by inserting the contents between the tags <div></div>

Add it to the block_template after </script>

So you would have something like -

Code:

<li>
        <div class="block smaller">
                <div class="blocksubhead">
                        <a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>
                        <span class="blocktitle">{vb:raw blockinfo.title}</span>
                </div>
                <div class="widget_content blockbody floatcontainer">
                <div id="block_html_{vb:raw blockinfo.blockid}" class="blockrow">
<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/jquery.lwtCountdown-1.0.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/misc.js"></script>
<link rel="Stylesheet" type="text/css" href="countdown/style/main.css"></link>
<script type="text/javascript">
jQuery(document).ready(function() {
    $('#countdown').countDown({
        targetDate: {
            'day':      23,
            'month':    8,
            'year':    2011,
            'hour':    23,
            'min':      59,
            'sec':    59,
            'gmt':    true
                       
        }
    });
});
</script>
<div align="center"><img src="http://www.imageurl.com/image.gif" alt="Image Title" width="XXpx" height="XXpx" /></div>
               
                <div id="countdown">
                        <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>
                        <div class="dash hours_dash">
                                <span class="dash_title">Hrs</span>
                                <div class="digit">0</div>
                                <div class="digit">0</div>
                        </div>
                        <div class="dash minutes_dash">
                                <span class="dash_title">Mins</span>
                                <div class="digit">0</div>
                                <div class="digit">0</div>
                        </div>
                        <div class="dash seconds_dash">
                                <span class="dash_title">Secs</span>
                                <div class="digit">0</div>
                                <div class="digit">0</div>
                        </div>
                </div>
</div>
</div>
                </div>
        </div>
        <div class="underblock"></div>
</li>


tidus78 08-22-2011 10:22 PM

Ok now it's working :)

Just another little question : I installed the second countdown, is it normal that line you see in the picture attached?

https://vborg.vbsupport.ru/

Gemma 08-23-2011 07:28 AM

Quote:

Originally Posted by tidus78 (Post 2236766)
Ok now it's working :)

Just another little question : I installed the second countdown, is it normal that line you see in the picture attached?

http://img801.imageshack.us/img801/4301/catsqnx.jpg

No it shouldn't have a line.

Try adding a <div> tag above you image code so it looks like

Code:

<div>
<div align="center"><img src="http://www.imageurl.com/image.gif" alt="Image Title" width="XXpx" height="XXpx" /></div>


tidus78 08-23-2011 09:58 AM

It doesn't work :erm:

basilrath 08-23-2011 04:04 PM

nice one works good :)

kudos

Gemma 08-25-2011 06:29 PM

Quote:

Originally Posted by tidus78 (Post 2236950)
It doesn't work :erm:

Can you send me a link to your site so I can check the source?

Gemma 09-01-2011 10:55 AM

1 Attachment(s)
Just to confirm that the countdown should also work in any modification that has a sidebar. I've added it to my arcade sidebar and it works perfectly.

SPEEDKILLZ 09-13-2011 08:24 PM

This is very nice but im getting all 0's.. i did exactly as explained? any suggestions? thanks

basilrath 09-13-2011 08:31 PM

Have you the correct paths to the src files?

SPEEDKILLZ 09-13-2011 08:45 PM

Quote:

Originally Posted by basilrath (Post 2245530)
Have you the correct paths to the src files?

plz explain. this is what i put in . thanks

Code:

<li>
        <div class="block smaller">
                <div class="blocksubhead">
                        <a class="collapse" id="collapse_block_html_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_html_{vb:raw blockinfo.blockid}"/></a>
                        <span class="blocktitle">{vb:raw blockinfo.title}</span>
                </div>
                <div class="widget_content blockbody floatcontainer">
                <div id="block_html_{vb:raw blockinfo.blockid}" class="blockrow">
<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/jquery.lwtCountdown-1.0.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/misc.js"></script>
<link rel="Stylesheet" type="text/css" href="countdown/style/main.css"></link>
<script type="text/javascript">
jQuery(document).ready(function() {
    $('#countdown').countDown({
        targetDate: {
            'day':      23,
            'month':    8,
            'year':    2011,
            'hour':    23,
            'min':      59,
            'sec':    59,
            'gmt':    true
                       
        }
    });
});
</script>
<div align="center"><img src="<a href="http://s1081.photobucket.com/albums/j356/stanmanr1/?action=view&amp;current=Call-of-Duty-MW3.png" target="_blank"><img src="http://i1081.photobucket.com/albums/j356/stanmanr1/Call-of-Duty-MW3.png" border="0" alt="Photobucket"></a>"><br/><br/>
<span class="digit">Modern Warfare 3</span><br/><br/></div>
               
                <div id="countdown">
                        <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>
                        <div class="dash hours_dash">
                                <span class="dash_title">Hrs</span>
                                <div class="digit">0</div>
                                <div class="digit">0</div>
                        </div>
                        <div class="dash minutes_dash">
                                <span class="dash_title">Mins</span>
                                <div class="digit">0</div>
                                <div class="digit">0</div>
                        </div>
                        <div class="dash seconds_dash">
                                <span class="dash_title">Secs</span>
                                <div class="digit">0</div>
                                <div class="digit">0</div>
                        </div>
                </div>
</div>
</div>
                </div>
        </div>
        <div class="underblock"></div>
</li>


and in the block manager i put block_countdown and <div></div>

everything appears and shows up nice but numbers are all on 0

basilrath 09-13-2011 09:11 PM

Make sure you have the paths to relevant src in red correct in bold


<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/jquery.lwtCountdown-1.0.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/misc.js"></script>
<link rel="Stylesheet" type="text/css" href="countdown/style/main.css"></link>

SPEEDKILLZ 09-13-2011 09:22 PM

Quote:

Originally Posted by basilrath (Post 2245548)
Make sure you have the paths to relevant src in red correct in bold


<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/jquery.lwtCountdown-1.0.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/misc.js"></script>
<link rel="Stylesheet" type="text/css" href="countdown/style/main.css"></link>

sry new at this, do i need to add something? or change something? thanks

basilrath 09-13-2011 09:23 PM

whats your forum path

SPEEDKILLZ 09-13-2011 09:23 PM

is there something i have to add to the folder of the template i added to?

SPEEDKILLZ 09-13-2011 09:24 PM

chronicgamerz.com/forum.php

/public_html/countdown

Gemma 09-13-2011 09:30 PM

Did you change the target date?
Code:

$('#countdown').countDown({
        targetDate: {
            'day':      23,
            'month':    8,
            'year':    2011,
            'hour':    23,
            'min':      59,
            'sec':    59,
            'gmt':    true
           
        }
    });
});


SPEEDKILLZ 09-13-2011 09:31 PM

yes just the numbers.

SPEEDKILLZ 09-13-2011 09:35 PM

never mind im a freaking idiot lol i added the months and days up to to deadline instead of just to date to be released.. sorry for the mix up, been a long day. Great mod Thanks for help

basilrath 09-13-2011 09:38 PM

i have just checked and the countdown is now working ???

Micha66 09-19-2011 08:13 PM

hi i need some help
weeks, days and so on are allways on 0
it worked only 1 time in the beginning, than i changed something
i wnt the counter as a widget.

Gemma 09-19-2011 09:32 PM

Quote:

i wnt the counter as a widget.
Did you try this - https://vborg.vbsupport.ru/showpost....1&postcount=19

Micha66 09-20-2011 09:01 AM

yes i tried, but no succsess

i left the uploaded files from sidebar_countdown1.0.2.zip on the server. was it right?

i also wrote:

<script language="Javascript" type="text/javascript" src="countdown/js/jquery-1.4.1.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/jquery.lwtCountdown-1.0.js"></script>
<script language="Javascript" type="text/javascript" src="countdown/js/misc.js"></script>
<link rel="Stylesheet" type="text/css" href="countdown/style/main.css"></link>

in the footer.

By the way: Your support here is really great. Thanks in advance.

Gemma 09-20-2011 10:25 AM

No you don't need to add anything to the footer. When you add the widget/sidebar code make sure you change the targetDate values tot he date you want to countdown to.

BlueCheri 09-20-2011 12:25 PM

1 Attachment(s)
Working fine, thanx.

Some setting need to do :(

Image attached, how to fix this?

Want to do countdown for X'mas

Thanx in advance.


All times are GMT. The time now is 05: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.01544 seconds
  • Memory Usage 1,855KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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