vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Statistics Modifications - Cyb - Forums Online CountUp (https://vborg.vbsupport.ru/showthread.php?t=122991)

Valter 08-03-2006 10:00 PM

Cyb - Forums Online CountUp
 
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

Posof 08-04-2006 07:54 AM

Yes,

Super easy to install,
Thank you for this nice hack..

TheBlackPoet 08-04-2006 12:28 PM

This is a very, very cool addition to my site. It shows my members that my forum is not a fly-by-night poetry site... (even though i can create any date i wish)...
thanks for this hack..

paul41598 08-04-2006 01:14 PM

will this work on 3.5? ;)

guatdad 08-04-2006 01:21 PM

AWESOME...works perfect!

utw-Mephisto 08-04-2006 02:03 PM

Is it like the old hack where it simply takes the year from the installation and date / time from the users local clock ?

apollooooooo 08-05-2006 01:34 PM

cheers just what i am looking for nice one mate

xtreme-mobile 08-05-2006 05:10 PM

great been looking for this for a long time :D

OziloZ 08-08-2006 02:15 AM

Code:

<div align="right">$cybonlinecountup</div>
i am using like this.I think thats much beter :)

Code:

<div align="center">$cybonlinecountup</div>

rasp187 08-08-2006 09:25 AM

I have this set up right underneath my "What's Going On" block and it's great. Thanks!

ChurchMedia 10-05-2006 12:02 AM

Very cool! I think I've installed almost all of your hacks :)

Is there a way to add "Months" or even "Years" as an option? Our forum has been online since 2000, so it looks like this:

Quote:

The CMN Forum Has Been Active For 2199 Days, 19 Hours, 1 Minutes, And 22 Seconds !!
2199 days is kind of hard to calculate ;)

KevinLiles 10-15-2006 11:11 PM

Thank you

Valter 10-30-2006 08:17 AM

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

To upgrade: Import XML, allow overwrite

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

Gizmo5h1t3 10-30-2006 09:25 AM

works a treat...nice addition

colinmckinley 11-02-2006 09:56 PM

Thanks Cybernetec, nice addition...can you tell me which hack you use for the clock on your forum please?

Thanks :)

Valter 11-03-2006 12:42 AM

It is not hack. I've added it manually.

Lonny 11-03-2006 09:31 AM

What about SEO? :) isn't it a bad thing - the text is even before the forum description.

WESH(UK) 11-11-2006 03:12 PM

Since installing this I have noticed that the viaspy mod has stopped working but if I disable this mod in the admincp, the viaspy mod starts working fine again.

I am un-installing this for now as the viaspy mod is much more usefulfor moderators/admins

Sorry...

Luggruff 11-11-2006 06:40 PM

What part would I delete (and where) if I don't want to show seconds, minutes and hours? (kind of hard to know the exact seconds.. so that can't possibly be accurate from the date I published my forum)

And as someone else, days can get a bit much, could you add, or tell us how to add months? (:

*clicks instal*

Valter 11-11-2006 06:51 PM

It's little harder to make it showing correct months/years counts because of different number of days in different months.

If you want you can add number of years in prefix and update it once a year (if it is not too much work for you :D).

picardtux 11-18-2006 06:32 AM

hello
the additive is made very good and fuktioniert with me very well, but only in the forum (index.php)
I have a portal vBadvanced CMPS v2.2.1 and there eigendlich everything indicated which I in navbar template adjust, only addon not.
I tested it with one simply text “foobar” if I these to place insert we it on the portal and the forum indicated. is it thus because of the variable $cybonlinecountup? looks at the pictures

Rabbitoh Warren 11-19-2006 07:15 AM

Looks good, just a couple of questions.

1. Is it possible to remove the seconds part from the count up?
2. How can I override the font settings and force it to use the <smallfont> tag?

TIA.

Valter 11-21-2006 09:18 AM

v1.4 - Nov 21. 2006.
-Added ability to disable hours/minutes/seconds
-Added ability to change font

Upgrade info: Import XML, allow overwrite.

picardtux 11-21-2006 11:03 AM

*wow* many thX

Spiffware 11-21-2006 11:23 AM

im going to adjust it and put it in the navbar .

Garyk 11-22-2006 02:24 PM

hey i installed this hack and i love it but i have 2 different forum styles and i cant find a font color that matches both of them i was wondering if there was any way to pick to font colors

Veer 11-23-2006 05:30 PM

WOW....

Cybernetec You Have Done A Great Work :)

Installed.

picardtux 11-24-2006 08:05 AM

Quote:

Originally Posted by picardtux (Post 1119913)
hello
the additive is made very good and fuktioniert with me very well, but only in the forum (index.php)
I have a portal vBadvanced CMPS v2.2.1 and there eigendlich everything indicated which I in navbar template adjust, only addon not.
I tested it with one simply text ?foobar? if I these to place insert we it on the portal and the forum indicated. is it thus because of the variable $cybonlinecountup? looks at the pictures

the upgrade of the mod are very good many thx,
but can anybody help me by my cmps problem :(

Greek Wizard 11-25-2006 02:59 PM

Quote:

Originally Posted by colinmckinley (Post 1109678)
Thanks Cybernetec, nice addition...can you tell me which hack you use for the clock on your forum please?

Thanks :)

Quote:

Originally Posted by Cybernetec (Post 1109744)
It is not hack. I've added it manually.

Any chance you can give us a hint on how to add that clock manually?

Or maybe plan to release it as a hack (hint hint) :)

captainslater 11-27-2006 06:21 AM

Would be great if you coul add days, months or years.

eg. 4.393 hours doesn't look good.

Valter 11-27-2006 02:09 PM

Quote:

Originally Posted by captainslater (Post 1126198)
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.

Terminatoronly 01-01-2007 01:06 PM

nice hack installed

yellow_spider 01-04-2007 04:56 PM

Very nice :)

loonytune15 01-04-2007 09:15 PM

installed, Is there a way for this to pick up the default font and color for the style?

loonytune15 01-17-2007 03:00 AM

I have both dark and light colors styles on my site and it looks right in one but not the other..

Valter 02-12-2007 10:18 PM

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.

Valter 02-12-2007 10:22 PM

Quote:

Originally Posted by loonytune15 (Post 1150903)
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]

thejay0 02-13-2007 01:10 PM

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 -->


ehsanix 02-14-2007 05:30 PM

sorry it doesn'o work for me
i'm using vb 3.6.4
doesn't show the counter
thanks

Guest210212002 03-19-2007 09:50 PM

/me clicks install

Slick mod, would also like it to calculate years though.


All times are GMT. The time now is 05:19 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.01250 seconds
  • Memory Usage 1,809KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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