Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Forums Online CountUp Details »»
Cyb - Forums Online CountUp
Version: 1.8.1, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Statistics Modifications - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: 01-23-2010 Installs: 168
Uses Plugins Auto-Templates
 
No support by the author.

Info:
This hack will show how long your forums are online. Format is: prefix-days-hours-minutes-seconds-suffix. Prefix or suffix can be blank. Hours/minutes/seconds can be disabled. You can change several parameters in ACP to feet your needs (see screenshots).


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. Template edit:
a) To have counter shown above navbar (like on screenshot):
Replace first "<br />" in "navbar" template with "$cybonlinecountup"
(first "<br />" is located just before "<!-- breadcrumb, login, pm info -->" by default)
b) To have counter shown on some other place:
Put "$cybonlinecountup" in desired template and position


To set options:
Go to: AdminCP > vBulletin Options > Cyb - Forums Online CountUp


Versions:
v1.0 - May 08. 2006.
-Initial Release
v1.1 - May 09. 2006.
-Added ability to move counter to some other place
v1.2 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.3 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional
-Added "Product Version Checking"
-Changed options (removed: opening/closing tags, added: text size, text color, counter position)
-Several changes in code for better compatibility
v1.4 - Nov 21. 2006.
-Added ability to disable hours/minutes/seconds
-Added ability to change font
v1.5 - Feb 13. 2007.
-"Board Started: [startdate]" is shown when you mouse-over div block with counter
-Added option to switch start date format between d,m,y and m,d,y
v1.6 - Apr 09. 2007.
-Fixed bug (some javascript codes stopped working when hack is enabled)
-Expanded look customization ability (CSS now used)
-Counter does not dissapear now on page loading
-Improved compatibility with different browsers
-Some Javascript code cleanup done
v1.7 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed
v1.8 - Jan 25. 2010.
-Added Years
-Fixed bugs
v1.8.1 - Jan 25. 2010.
-Fixed small bug with phrases


Live DEMO: http://www.bihforum.com


If you like this hack please click INSTALL.

Download Now

File Type: zip Cyb - Forums Online CountUp 1.8.1.zip (3.6 KB, 320 views)

Screenshots

File Type: jpg acp.jpg (97.2 KB, 0 views)
File Type: jpg screen.jpg (47.1 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 02-08-2009, 10:10 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DarkFormula View Post
I installed it and have the counter going, but the "Board started" doesn't appear like in your screen shot.
Same here but not sure its ment too think that was an example but could be wrong and would be good to have it there
Reply With Quote
  #13  
Old 02-08-2009, 10:12 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyb - off topic so apologises... how did you get the wee clock on your navbar part, now thats pretty cool :up:
Reply With Quote
  #14  
Old 02-10-2009, 12:35 PM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws View Post
it would be great to have the year as well
yeah good idea
Reply With Quote
  #15  
Old 02-11-2009, 05:00 AM
zefyx's Avatar
zefyx zefyx is offline
 
Join Date: Oct 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mind checking the XHTML validation? Here are the errors:

Quote:
# Warning Line 167, Column 14: character "<" is the first character of a delimiter but occurred as data.

if (todayy < 1000) {


This message may appear in several cases:

* You tried to include the "<" character in your page: you should escape it as "&lt;"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.
Quote:
# Warning Line 183, Column 108: character "&amp;" is the first character of a delimiter but occurred as data.

… "+dhour+" hours, "+dmin+" minutes, & "+dsec+" seconds "+suffix;


This message may appear in several cases:

* You tried to include the "<" character in your page: you should escape it as "&lt;"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.
[quote]# Error Line 186, Column 334: there is no attribute "onload".

…/clear.gif" border="0" alt="" onload="countup();" />&nbsp;</td> </tr> </table


You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
Quote:
# Error Line 167, Column 15: XML Parsing Error: StartTag: invalid element name.

if (todayy < 1000) {
Quote:
# Error Line 183, Column > 80: XML Parsing Error: xmlParseEntityRef: no name.

…nerHTML=prefix+dday+ " days, "+dhour+" hours, "+dmin+" minutes, & "+dsec+" s…
Reply With Quote
  #16  
Old 02-24-2009, 04:56 PM
underESTIMATED underESTIMATED is offline
 
Join Date: Feb 2005
Location: Akron, Oh
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I initially install this, and don't change any of the codes from your end...the mod works.

However, when I edit to match the board built date, I get this:
PHP Code:
It's been: NaN Days, NaN Hours, NaN Minutes, And NaN Seconds Since MobileQWERTY.com was created for you! 
Now granted the board is freshly created < 48hrs...but still should use all fields.

Please advise: http://mobileqwerty.com/forum
Reply With Quote
  #17  
Old 03-01-2009, 10:31 PM
C138 Kaysone C138 Kaysone is offline
 
Join Date: Jun 2008
Location: NC
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now this is really good, but hey can you make an update or something where it will allow us to put january instead of 01 for default? but thats if you could but its still great, im using it right now
Reply With Quote
  #18  
Old 03-03-2009, 12:39 AM
underESTIMATED underESTIMATED is offline
 
Join Date: Feb 2005
Location: Akron, Oh
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by underESTIMATED View Post
When I initially install this, and don't change any of the codes from your end...the mod works.

However, when I edit to match the board built date, I get this:
PHP Code:
It's been: NaN Days, NaN Hours, NaN Minutes, And NaN Seconds Since MobileQWERTY.com was created for you! 
Now granted the board is freshly created < 48hrs...but still should use all fields.

Please advise: http://mobileqwerty.com/forum
How about helping me out...

Still having an issue when uninstalling...and installing it.

Please advise.
Reply With Quote
  #19  
Old 03-03-2009, 04:33 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try with setting 'Start Date Format' to different value.
Also ensure that date segments are separated by commas.
Reply With Quote
  #20  
Old 04-28-2009, 04:44 PM
sbsforum.us sbsforum.us is offline
 
Join Date: Feb 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and using.

Thanks

Nice to see how long we've been up!
Reply With Quote
  #21  
Old 04-28-2009, 08:39 PM
Uasuforos's Avatar
Uasuforos Uasuforos is offline
 
Join Date: Jun 2008
Location: Mexico
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, Thanks
Reply With Quote
Reply


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 07:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05731 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete