View Full Version : Statistics Modifications - Cyb - Forums Online CountUp
Valter
08-03-2006, 10:00 PM
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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=122991)
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
<div align="right">$cybonlinecountup</div>
i am using like this.I think thats much beter :)
<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:
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
WOW....
Cybernetec You Have Done A Great Work :)
Installed.
picardtux
11-24-2006, 08:05 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
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
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
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
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
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 ?
</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.
ninjamaster
03-19-2007, 10:02 PM
thanks nice work :)
Valter
04-09-2007, 10:23 AM
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
04-17-2007, 12:24 PM
works with 3.5.x as well
ericgray
04-17-2007, 02:18 PM
thank you for a good hack --
-- I too put it at the bottom of my forum -- under statistics --
www.pbsmiles.com
yaoren
08-11-2007, 11:46 PM
**Installed**
Works Just fine on 3.6.7
nnjj.net
08-12-2007, 08:56 AM
great installed, what if I need this to appear on vBadvanced CMPS as well
Deadly Assassin
08-12-2007, 09:20 AM
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
08-12-2007, 09:48 AM
Thanks...
plastourgos
10-08-2007, 10:50 AM
thx!
yoyoyoyo
11-05-2007, 01:04 AM
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:
https://vborg.vbsupport.ru/showpost.php?p=1119913&postcount=21
Any idea how to get it to work in vbadvanced?
christicehurst
02-03-2008, 06:23 AM
This doesn't show on my forum theme.
atlambros83
02-06-2008, 04:57 PM
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
03-17-2008, 06:53 AM
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
03-18-2008, 03:33 PM
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
05-21-2008, 01:23 PM
No work int 3.7.0 :(
Valter
05-22-2008, 06:19 PM
vB 3.7 VERSION:
https://vborg.vbsupport.ru/showthread.php?t=177944
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.