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)

GreyGhost 10-14-2011 10:39 AM

Quote:

Originally Posted by Gemma (Post 2257101)
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

Haha, the funny thing is... I've ordered it from OzGameShop (half the price of Origin) but they're based in the UK... so I won't have it til a week after release. :(

8-)

GreyGhost 10-15-2011 08:43 AM

Quote:

Originally Posted by Gemma (Post 2256266)
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 Gemma,

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-)

pantani 10-15-2011 05:19 PM

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

Gemma 10-15-2011 05:27 PM

Quote:

Originally Posted by pantani (Post 2257529)
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

Looks like I've missed a couple of closing </div> tags, add </div></div> to the bottom of the vbcms_widget_countdown template and see if that helps.

pantani 10-15-2011 05:38 PM

Nope, did not help :(

GreyGhost 10-16-2011 02:39 AM

Quote:

Originally Posted by Gemma (Post 2257535)
Looks like I've missed a couple of closing </div> tags, add </div></div> to the bottom of the vbcms_widget_countdown template and see if that helps.

Don't think it's </div> tags, I get the same thing whenever I try to add anything containing javascript to the cms home page.
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-/

Gemma 10-16-2011 04:54 PM

I've removed support for the CMS widget just now, can't figure out why it has suddenly stopped working.

1320Nation 10-16-2011 10:56 PM

Is there ANYWAY to get this mod to work with the sidebar in vBadvance?

GreyGhost 10-16-2011 10:59 PM

1 Attachment(s)
Quote:

Originally Posted by Gemma (Post 2257824)
I've removed support for the CMS widget just now, can't figure out why it has suddenly stopped working.

I got mine working fine..
was just a matter of creating a Grid that was suitable for my layout.

8-)

Attachment 133882

Gemma 10-17-2011 08:48 PM

Quote:

Originally Posted by psychobike (Post 2257945)
Is there ANYWAY to get this mod to work with the sidebar in vBadvance?

I'll install vBAdvanced and have a look


All times are GMT. The time now is 02:29 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.01461 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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