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

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

Category: Statistics Modifications - Version: 3.6.8 Rating:
Released: 08-03-2006 Last Update: 04-08-2007 Installs: 172
Uses Plugins Template Edits
 
No support by the author.

vB 3.7 VERSION:
https://vborg.vbsupport.ru/showthread.php?t=177944



===


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


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


If you like this hack please click INSTALL

Show Your Support

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

Comments
  #32  
Old 11-27-2006, 02:09 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by captainslater View Post
Would be great if you coul add days, months or years.

eg. 4.393 hours doesn't look good.
Days are included and can not be disabled.

I've already explained why it's hard to add months and years. If every month is 30 days it would be easy but months has different number of days and script can't be adjusted to calculate it properly.
Reply With Quote
  #33  
Old 01-01-2007, 01:06 PM
Terminatoronly's Avatar
Terminatoronly Terminatoronly is offline
 
Join Date: Mar 2006
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack installed
Reply With Quote
  #34  
Old 01-04-2007, 04:56 PM
yellow_spider yellow_spider is offline
 
Join Date: Dec 2005
Location: UK
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice
Reply With Quote
  #35  
Old 01-04-2007, 09:15 PM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, Is there a way for this to pick up the default font and color for the style?
Reply With Quote
  #36  
Old 01-17-2007, 03:00 AM
loonytune15's Avatar
loonytune15 loonytune15 is offline
 
Join Date: Mar 2003
Location: Loony Bin
Posts: 357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have both dark and light colors styles on my site and it looks right in one but not the other..
Reply With Quote
  #37  
Old 02-12-2007, 10:18 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Upgrade info: Import XML as product, allow overwrite.
Reply With Quote
  #38  
Old 02-12-2007, 10:22 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by loonytune15 View Post
installed, Is there a way for this to pick up the default font and color for the style?
In template "cyb_onlinecountup_main" find:
$vboptions[cyb_onlinecountup_textcolor]

Replace with:
$stylevar[alt1_bgcolor]
or:
$stylevar[alt2_bgcolor]
Reply With Quote
  #39  
Old 02-13-2007, 01:10 PM
thejay0 thejay0 is offline
 
Join Date: Nov 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry. Can't get that hack to work. Modified CA EVO GREEN style / navbar template to include the following but nothing works. Enabled hack via vBulletin Options / Help Cyb - Forums Online CountUp.

Help ?

Code:
</tbody>
</table>
$cybonlinecountup
</if>
<!-- / pm notification -->

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
Reply With Quote
  #40  
Old 02-14-2007, 05:30 PM
ehsanix ehsanix is offline
 
Join Date: Oct 2003
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry it doesn'o work for me
i'm using vb 3.6.4
doesn't show the counter
thanks
Reply With Quote
  #41  
Old 03-19-2007, 09:50 PM
Guest210212002
Guest
 
Posts: n/a
Default

/me clicks install

Slick mod, would also like it to calculate years though.
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 04:17 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.09262 seconds
  • Memory Usage 2,308KB
  • 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
  • (4)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
  • (10)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