![]() |
Looks like the css file is missing, did you upload the files correctly?
|
Yes
Quote:
|
Can you send me a link to your site?
|
Hi Gemma,
the countdown works perfect! Is there any way to make it timezone specific? |
Quote:
Code:
<script type="text/javascript"> Code:
<script type="text/javascript"> |
Sadly I can't get the widget to even show up in the CMS. I have several custom widgets though most aren't used all the time. When I add this one no frame even shows up. That in itself kind of concerns me. Any ideas why it wouldn't even show up? Running 4.1.5
|
I found that if I just use the default name for the widget the frame shows up, but not the icon and I see, "{vb:raw widget_title}" above the counters which all read 00. But that proves there's something wrong in the other widget which prevents it from even being used. I have all three .js files the CHMOD of 775 and the css files all where they're supposed to go.
FYI, if you just download the zip in post#19 you do not get all the files needed it seems. |
Quote:
As for your widget not showing up, have you created the vbcms_widget_countdown template? You also need to add the widget to your grid layout and you may need to clear the CMS cache. |
Apologies...I did not create the template. I pasted the code into the widget. =( Okay, we'll try again.
|
Okay, I got it working! Thanks for all your help!
|
Quote:
Your countdown is just damn sexy not to use! :o :D The countdown timezone timers I found on Google are fugly. lol |
I'll have a look when I get some free time during the week :)
|
Sorry but I'am stuck on the widget:
Configure the new widget Enter Static HTML - <div></div> Template Name - vbcms_widget_countdown Save Please do you have a example what I needed to do here? Thank you! |
Quote:
Widget Type - Static HTML Title - Countdown CMS Widget Description - blah blah Save. Next click the configure option in your newly created Countdown CMS Widget. In the Enter Static HTML code box put the following - <div></div> In Template Name put - vbcms_widget_countdown Save. Then click Clear the CMS Cache in the sidebar menu. |
Quote:
Code:
<script type="text/javascript"> |
how do I make a cms widget without the tittle?
|
Quote:
Code:
<h3><img src="{vb:raw vboptions.bburl}/countdown/style/countdown.png" alt="" /> {vb:raw widget_title}</h3> |
1 Attachment(s)
No real update, all I've done is added additional instructions on how to create a widget for the CMS and how to add more than one countdown to the OP.
Another thing that can be done using the code is creating more than one countdown on your forum index page (forumhome). By creating a table, using the basic countdown code and calling countdownX, countdownY and countdownZ I've been able to create 3 separate countdowns. (see attached) Live demo - http://www.forumbanter.com/forum/ |
Hi
I just installed the mod and I thought it worked perfectly but then I realised all the widgets on the right side of the Home page had been moved to the left side of the screen. Did I do something wrong or is this an issue with 4.1.7 |
Can you send me a link to your site please, also what did you install - the forumblock or CMS block?
|
Sorry, I installed the cms part and created a widget to go on the forum home page. I added it to the left of my three home page columns. All of the widgets that should be in the right side column are all displayed on the left :D
I deleted the widget but I could add it back in for a little while tomorrow if you wanted to see the problem. |
The site is www.television-magazine-forum.co.uk
|
Quote:
Quote:
Did you upload the contents of the sidebar_countdown1.0.2.zip too? (those files are required) |
I actually did upload those but wasn't sure if I needed to.
All the files are in a folder called countdown. I will try a screenshot for you. Thanks. |
i like it installed both forum sidebar and cms widget very nice would like the widget smaller 240px but i can live with it
|
Quote:
You can play about with the css file (possibly change the font-family and some of the padding to suit) Code:
#countdown { |
Hi Gemma,
First up... Excellent mod, Works great! I did search and read most posts and didn't see this mentioned, so I appologize if it's already been asked and answered. Is there a way of dropping the "WEEKS" altogether and changing the display to DAYS | HRS | MINS | SECS i.e. instead of 4 weeks, 6 days, 3 Hrs, 45 Mins, 10 Secs it would display as... 34 Days, 3 Hrs, 45 Mins, 10 Secs Doing it this way would allow for a narrower column without losing any real detail. 8-) . |
Try this,
In the template replace the <script> part with something like this (ie add the omitWeeks part) Code:
<script type="text/javascript"> Code:
<div class="dash first weeks_dash"> Code:
<div class="dash first days_dash"> You might need to then play about with the css file to fix .first as it probably won't be aligned properly, this will differ depending on the block width you are using but try changing the margin-left value. Code:
.first { |
1 Attachment(s)
Thanks Gemma,
That works perfectly! :D Attachment 133883 That's with a 230 sideblock, which will work on my CMS as well and I can still get it smaller with some minor font & dash changes. :up: 8-) |
Looks good. The only thing I don't like about your screenshot is the fact that Battlefield 3 is released in Australia before the UK :p
|
Quote:
8-) |
Quote:
When you say "By creating a table," am I correct that you create a single template that includes the code for all 3 countdowns wrapped within a table? Then make the appropriate block or widget that uses that template? 8-) |
Works fine thank you, only thing is when countdown is active, the other articles are way down?? What could i do to make this normal again??
https://vborg.vbsupport.ru/external/2011/10/32.jpg |
Quote:
|
Nope, did not help :(
|
Quote:
I've tried adding it as a widget, Article, Static HTML, Direct php AND by adding the javascript to the footer (as per the forum/wgo instructions). If I remove the javascript then it displays correctly.. but obviously doesn't function. ATM I'm trying a different approach... I created a php page containing 3 countdown timers laid out within a table etc. (including the javascript). When I call this page directly the 3 countdown timers appear as they should and functioning correctly. The plan is to create a PHP Direct Eval and call this page using a php "include" ... but I'm struggling to get this to work in a PHP Direct Eval page, actually, I'm struggling to get anything to work with the CMS's PHP Direct function. 8-/ |
I've removed support for the CMS widget just now, can't figure out why it has suddenly stopped working.
|
Is there ANYWAY to get this mod to work with the sidebar in vBadvance?
|
1 Attachment(s)
Quote:
was just a matter of creating a Grid that was suitable for my layout. 8-) Attachment 133882 |
Quote:
|
All times are GMT. The time now is 12:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|