vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Countdown Timer in signature (https://vborg.vbsupport.ru/showthread.php?t=182480)

Howell 06-13-2008 10:00 PM

Countdown Timer in signature
 
Original Modification by Hellcat

Previous versions:
vB3.5.x "User Countdown Timer".
vB3.6.x "User Countdown Timer".


I have taken the original modification and simply edited templates to get it working with vB3.7.x

Note: I did not write the original modification so support of this release may be limited.

This little AddOn gives your users the option to show a custom countdown timer at the bottom of their signature.

Features:
  • Fully configurable via UserCP (see screenshot)
  • BB-Code can be used for eventname and overmessage
  • fully phrased/templated, nothing hardcoded and so fully customizable
  • leading days or hours with a value of "0" are not shown
    (so it shows "42minutes" rather then "0days 0hours 42minutes")
Installation:
Painless:
  • Upload "plugins_usercountd.php" to ".../forum/includes"
  • Upload "bitfield_hc_countdown.xml" to ".../forum/includes/xml"
  • Import the product .XML
You may also need to rebuild your languages after the install.
This can be done by going to:
AdminCP - Laguages & Phrases -> Language Manager -> Rebuild all languages

DONE
That's it.
No template edits, no nothing


Usergroup permission:
Go to -> AdminCP -> Usergroups -> Usergroup Manager -> User Countdown Permissions


Members Usage:
Go into your UserCP -> Edit Options
On the very bottom you will find the options for the Countdown Timer.
Set it to whatever you like, if "Enable" is set to "ON" the timer will automatically be shown on the bottom of your sig, set to "OFF" will hide/disable the time display.

Please MARK AS INSTALLED & NOMINATE FOR MOTM :p

Enjoy. :)

Howell 06-14-2008 04:26 PM

*Reserved*

koolfire 06-14-2008 04:29 PM

Nice Complete mod!

Fırtına 06-14-2008 05:17 PM

Thanks :p

Zeb Zoober 06-14-2008 05:50 PM

Seems to be a problem with the text in the admin and user options. It is also not showing up as my sig even after settings have been set. Using vB 3.7.1 pl1

Howell 06-14-2008 05:59 PM

Try going to:

AdminCP - Laguages & Phrases -> Language Manager -> Rebuild all languages

See if that works.

Zeb Zoober 06-14-2008 06:12 PM

Quote:

Originally Posted by Howell (Post 1549345)
Try going to:

AdminCP - Laguages & Phrases -> Language Manager -> Rebuild all languages

See if that works.

That did the trick. Working fine now. Thanks. Had a request for countdown timers just a few days ago on our forum. This fits that need perfectly.

Howell 06-14-2008 06:18 PM

Okay :up:

Could you please Mark as Installed

Zeb Zoober 06-14-2008 06:31 PM

Quote:

Originally Posted by Howell (Post 1549359)
Okay :up:

Could you please Mark as Installed

Done!

KURTZ 06-14-2008 07:02 PM

interesting tiny hack ... :)
*tagged


All times are GMT. The time now is 03:12 PM.

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.01290 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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