Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Countdown Timer in signature Details »»
Countdown Timer in signature
Version: 1.12, by Hellcat Hellcat is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.0 Beta 1 Rating:
Released: 06-08-2006 Last Update: 06-08-2006 Installs: 175
Uses Plugins Template Edits
Additional Files  
No support by the author.

This is a port of my vB3.5.x "User Countdown Timer".
I had to change some parts of the install code to make it work with vB3.6, and here we go:

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"
  • Import the product .XML

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


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 "Yes" the timer will automatically be shown on the bottom of your sig, set to "No" will hide/disable the time display



Have fun

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-12-2006, 04:55 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is not working, turned off and back on and all users get is this below.
Reply With Quote
  #13  
Old 06-12-2006, 05:49 PM
SuperFly SuperFly is offline
 
Join Date: Feb 2005
Location: Mentor,Ohio
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you edit usergroup permissions?

Try un-installing and re-installing
Reply With Quote
  #14  
Old 06-12-2006, 06:51 PM
KimmiKat KimmiKat is offline
 
Join Date: Jul 2003
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, didn't look there. Thanks! It works too. Some of my pregnent members will use it for the days until the birth of their young' uns!

Quote:
Originally Posted by KimmiKat
I installed it and I don't even see it in the options...
Reply With Quote
  #15  
Old 06-16-2006, 06:02 PM
Alan @ CIT Alan @ CIT is offline
 
Join Date: Nov 2004
Location: South UK
Posts: 625
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Text isn't showing for me in the AdminCP -> Usergroup manager for me either

Edit 1: Or the UserCP

Edit 2: Also, you should change line 188 of plugins_usercountd.php to use $vbulletin->db->fetch_array() instead of mysql_fetch_array() as people like me who use MySQLi get:

Code:
Fatal error: Call to undefined function mysql_fetch_array() in C:\Program Files\Apache Group\Apache2\htdocs\vb_3.5.4\includes\plugins_usercountd.php on line 188


Thanks,
Alan.
Reply With Quote
  #16  
Old 06-16-2006, 07:33 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow 3.6 doesn't rebuild the languages propperly here....

A manual rebuild or simple resaving of any phrase will fix that (it does for me....)
Reply With Quote
  #17  
Old 06-20-2006, 05:02 AM
Lottis Lottis is offline
 
Join Date: Sep 2004
Location: Norway
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working good. Thanx Hellcat.
Reply With Quote
  #18  
Old 06-30-2006, 06:04 PM
Lottis Lottis is offline
 
Join Date: Sep 2004
Location: Norway
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works, fore every users, unless one.
Do you have a clue why?
Reply With Quote
  #19  
Old 07-15-2006, 06:29 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had an older version installed.. now I get this error:

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO vb_phrase ( languageid, varname, fieldname, text, product, username, dateline, version ) VALUES ( 0, 'field8_title', 'cprofilefield', 'User Countdown', 'vbulletin', 'Hellcat', '1152991682', '3.5.4' );

MySQL Error : Unknown column 'fieldname' in 'field list'
Error Number : 1054
Date : Saturday, July 15th 2006 @ 03:28:02 PM
Script : http://www.mysite.net/forum/boss/plugin.php
Referrer : http://www.mysite.net/forum/boss/plu...?do=productadd
IP Address : mynumber
Username : myname
Classname : vb_database

There are now to blank spaces under USERCP > OPtions, and if you try to save anything on this page, you get this:

Quote:
Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE vb_userfield SET
field7 = '',
field8 = ''
WHERE userid = 2564;

MySQL Error : Unknown column 'field7' in 'field list'
Error Number : 1054
Date : Saturday, July 15th 2006 @ 03:30:23 PM
Script : http://www.mysite.net/forum/profile.php
Referrer : http://www.mysite.net/forum/profile.php?do=editoptions
IP Address : mine
Username : me
Classname : vb_database
It no longer shows up in my plugins, so I can't remove it there. Any ideas how to get this removed? No one can update options now.
Reply With Quote
  #20  
Old 07-15-2006, 07:26 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay.. got almost all of it figured out. I need to know how to remove the fields it created.



Until I get this figured out, we can't update Options.
Reply With Quote
  #21  
Old 07-16-2006, 02:37 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know what I can do? Folks are trying to update their Options and I'm getting database errors up the whazoo.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:48 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.07240 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete