vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Countdown module vba CMPS using the calendar (https://vborg.vbsupport.ru/showthread.php?t=124114)

The_Rayman 08-16-2006 12:54 PM

Countdown module vba CMPS using the calendar
 
Hi all,

I saw a previous release for a countdown module for vB 2.0.3 ( made by Mister (right here)
I'd like to have a countdown module for vBadvanced, is there anyone who can help me on this one?

It would be nice if it fetches dates from the calendar and puts them in the frontpage. I don't get the version above to work on my frontpage.

Thanks in advance!

The_Rayman

The_Rayman 08-22-2006 12:06 PM

oi... am i the only one who's interested?

The_Rayman 03-10-2008 10:23 AM

1 Attachment(s)
Got it working here except from the calendar option...


Create a new template in VBA and enter the code accordingly
name; whatever u like, it's your template

Code:

<tr>

  <td class="$bgclass"><div align="center">
<img src="/link_to_any_image_on_your_site">

<br>
<font size="-1"><script language="JavaScript">
TargetDate = "MM/DD/YYYY 8:15 PM GMT+0100";
ForeColor = "#B32732";
CountActive = true;
CountStepper = -1;
DisplayFormat = "<b>Countdown to blabla whatever you want<br><br>%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
FinishMessage = "Good luck to all drivers in Malaysia!";
</script>
<script language="JavaScript" src="http://link_to_your_site/countdown.js"></script></td></tr>

See the attached script and put it in the folder mentioned in last line of module.

Change the countdown in your customized templates

Grabbed the countdown script somewhere of the net, so... dunno where to send the credits to...

Enjoy!

p.s. All the code above is a search over the net and vb forums put together... no credit to me anyhow!

klaush 03-13-2008 07:59 PM

Thanks, but the zip-archive is not valid.

Greetings

Klaus

The_Rayman 03-14-2008 12:19 PM

rename the zip to rar... rar archives were not allowed for file upload.. ;)

Sorry, should have mentioned that...

klaush 03-14-2008 02:13 PM

Thanks, works like a charme!

dvbusuario 03-30-2008 02:45 PM

No work for me :(


All times are GMT. The time now is 04:38 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.01091 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete