PDA

View Full Version : Statistics Modifications - Cyb - Forums Online CountUp


Valter
04 Aug 2006, 09:18
vB 3.7 VERSION:
http://www.vbulletin.org/forum/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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=122991)

Posof
04 Aug 2006, 09:54
Yes,


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

TheBlackPoet
04 Aug 2006, 14:28
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
04 Aug 2006, 15:14
will this work on 3.5? ;)

guatdad
04 Aug 2006, 15:21
AWESOME...works perfect!

utw-Mephisto
04 Aug 2006, 16:03
Is it like the old hack where it simply takes the year from the installation and date / time from the users local clock ?

apollooooooo
05 Aug 2006, 15:34
cheers just what i am looking for nice one mate

xtreme-mobile
05 Aug 2006, 19:10
great been looking for this for a long time :D

OziloZ
08 Aug 2006, 04:15
<div align="right">$cybonlinecountup</div>

i am using like this.I think thats much beter :)

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

rasp187
08 Aug 2006, 11:25
I have this set up right underneath my "What's Going On" block and it's great. Thanks!

ChurchMedia
05 Oct 2006, 02:02
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:

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
16 Oct 2006, 01:11
Thank you

Valter
30 Oct 2006, 10:17
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
30 Oct 2006, 11:25
works a treat...nice addition

colinmckinley
02 Nov 2006, 23:56
Thanks Cybernetec, nice addition...can you tell me which hack you use for the clock on your forum please?

Thanks :)

Valter
03 Nov 2006, 02:42
It is not hack. I've added it manually.

Lonny
03 Nov 2006, 11:31
What about SEO? :) isn't it a bad thing - the text is even before the forum description.

WESH(UK)
11 Nov 2006, 17:12
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 Nov 2006, 20:40
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 Nov 2006, 20:51
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
18 Nov 2006, 08:32
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
19 Nov 2006, 09:15
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
21 Nov 2006, 11:18
v1.4 - Nov 21. 2006.
-Added ability to disable hours/minutes/seconds
-Added ability to change font

Upgrade info: Import XML, allow overwrite.

picardtux
21 Nov 2006, 13:03
*wow* many thX

Spiffware
21 Nov 2006, 13:23
im going to adjust it and put it in the navbar .

Garyk
22 Nov 2006, 16:24
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
23 Nov 2006, 19:30
WOW....

Cybernetec You Have Done A Great Work :)

Installed.

picardtux
24 Nov 2006, 10:05
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
25 Nov 2006, 16:59
Thanks Cybernetec, nice addition...can you tell me which hack you use for the clock on your forum please?

Thanks :)

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
27 Nov 2006, 08:21
Would be great if you coul add days, months or years.

eg. 4.393 hours doesn't look good.

Valter
27 Nov 2006, 16:09
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 Jan 2007, 15:06
nice hack installed

yellow_spider
04 Jan 2007, 18:56
Very nice :)

loonytune15
04 Jan 2007, 23:15
installed, Is there a way for this to pick up the default font and color for the style?

loonytune15
17 Jan 2007, 05:00
I have both dark and light colors styles on my site and it looks right in one but not the other..

Valter
13 Feb 2007, 00:18
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
13 Feb 2007, 00:22
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
13 Feb 2007, 15:10
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 ?

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

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

ehsanix
14 Feb 2007, 19:30
sorry it doesn'o work for me
i'm using vb 3.6.4
doesn't show the counter
thanks

Chris-777
19 Mar 2007, 23:50
/me clicks install

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

ninjamaster
20 Mar 2007, 00:02
thanks nice work :)

Valter
09 Apr 2007, 12:23
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

Upgrade recommended!
To upgrade: Import product XML (allow overwrite), then check settings.

Sir_Yaro
17 Apr 2007, 14:24
works with 3.5.x as well

ericgray
17 Apr 2007, 16:18
thank you for a good hack --

-- I too put it at the bottom of my forum -- under statistics --

www.pbsmiles.com

yaoren
12 Aug 2007, 01:46
**Installed**

Works Just fine on 3.6.7

nnjj.net
12 Aug 2007, 10:56
great installed, what if I need this to appear on vBadvanced CMPS as well

Deadly Assassin
12 Aug 2007, 11:20
Nice hack, but i cant get it to appear like the screen shot. it will only show as text just under my navbar.?

Thanks

kaptanblack
12 Aug 2007, 11:48
Thanks...

plastourgos
08 Oct 2007, 12:50
thx!

yoyoyoyo
05 Nov 2007, 03:04
great installed, what if I need this to appear on vBadvanced CMPS as wellI installed this, and am having problems with it on vba cmps as well. It displays fine in the forum, but when I go to the vba index page it does not display at all and the padding around the top of the navbar (where the countup appears on my forum index page) disappears, just like the examples in this post:

http://www.vbulletin.org/forum/showpost.php?p=1119913&postcount=21

Any idea how to get it to work in vbadvanced?

christicehurst
03 Feb 2008, 08:23
This doesn't show on my forum theme.

atlambros83
06 Feb 2008, 18:57
if i would like this to show up at the bottom of the forums where the forum statistics are listed, how would i go about doing that?

atlambros83
17 Mar 2008, 08:53
could somebody please help me with this? I've added $cybonlinecountup in the FORUMHOME template right below

<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>


and it all it creates is a blank line....

atlambros83
18 Mar 2008, 17:33
uninstalling due to lack of support. would have been a cool addition in the forum statistics....i'll reinstall if i can ever figure it out or get some help with it.

aRTFuL
21 May 2008, 15:23
No work int 3.7.0 :(

Valter
22 May 2008, 20:19
vB 3.7 VERSION:
http://www.vbulletin.org/forum/showthread.php?t=177944