PDA

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


Valter
05-02-2008, 10:00 PM
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.

TheBlackPoet
05-03-2008, 12:24 PM
i've always liked this one..

Mrdby
05-03-2008, 05:47 PM
Great!!!

sdavis2702
05-27-2008, 12:47 PM
Awesome thanks! I'm going to be donating to you very soon... you always deliver!

wWw.Fun2Wii.Com
05-29-2008, 11:00 PM
<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=81474&stc=1&d=1212108686" target="_blank">This translation of the French</a>

Thanks

Astrof
06-03-2008, 10:18 PM
Wonderful hack! Thank you very much!

Juust two questions:

1) How many fonts does this hack support? I've tried different ones in the CSS Style bar and have been able to only change to a couple of them.

2) Is there any way to make the letters bolder? I tried different codes, but none worked so far.

Thanks in advance.

EDIT: I figured out how to make the letters bolder. Just use: font-weight:bold;

cmiller1014
07-21-2008, 04:10 PM
Hrmm doesnt seem to do anything without the template edit?

ehsanix
07-21-2008, 11:37 PM
great hack n easy 2 install

BucWiLd
07-22-2008, 02:34 AM
wow very easy. nice. thanks

Scandal
07-31-2008, 08:59 PM
How could I insert the variable totalonline in a phrase? (ok I know that I can't but any other way to insert the number? ).
I want to add it in $vbphrase[first_visit_message]...

Thanks!
-peter

Darkgardevoir
10-07-2008, 06:12 PM
o_O my forum has about a month and it shows more than 600 days

Sunka
12-13-2008, 08:06 PM
Installed.
Working good, thanks from Croatia!

Bawtneez
01-10-2009, 11:35 PM
Installed, Thanks =]

jjeffries
01-11-2009, 08:29 PM
I want to add this below my time settings at the bottom of the page...I.E. "All times are GMT -5. The time now is 05:23 PM." Want it to appear below this, can anyone help.

FazerPaint
07-07-2009, 06:23 PM
Is it possible to add "Years" to this ?

If it is just a case of editing the xml file, then could someone tell me the code I need to do this, I am fairly confident at editing the file, I just have no idea what to put in there...LOL

GREAT MOD by the way.....:)

SirHappy
07-08-2009, 10:25 AM
Works fantastic in 3.8.3;) Thanks & Klick Install!

farazfaraz
07-10-2009, 11:31 AM
best

Dutch_Boy
11-28-2009, 08:31 PM
<a href="http://www.highflow.nl/forum/" target="_blank">http://www.highflow.nl/forum/</a>

As you can see at the bottem of the forum is show in the right corner. How do i center it?

Spun2U
12-06-2009, 03:21 AM
http://www.highflow.nl/forum/

As you can see at the bottem of the forum is show in the right corner. How do i center it?

Adjust the "CSS Style" in the settings area.

oxblood12
12-24-2009, 01:25 AM
thanks testing

carleboy
01-02-2010, 04:16 PM
any chance of an update for vb4

it dosnt work in vb4 yet it just shows the "$cybonlinecountup" on you forum :(

gues vb4 dosnt use the same code, but i didnt get any errors at any point so must just be comands on reading what it needs to do ?

hope we can have an update soon.

thanks

Valter
01-24-2010, 08:49 PM
v1.8 - Jan 25. 2010.
-Added Years
-Fixed bugs

To upgrade:
-Import XML, allow overwrite
-Check and update settings

Valter
01-24-2010, 09:05 PM
v1.8.1 - Jan 25. 2010.
-Fixed small bug with phrases

DeardsGlobal
05-21-2011, 11:43 AM
I did an update and when I go to vBulletin Forum Options the Uptime text is blank, but I can still click on it and edit all the settings. Anyway I can fix this?

akz645
01-07-2016, 12:44 AM
Doesn't work on vBulletin 4.2.3.
https://vborg.vbsupport.ru/external/2016/01/18.png

"PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: cyb_onlinecountup_main in ..../includes/functions.php on line 4602

PHP Warning: array_merge(): Argument #1 is not an array in ..../includes/class_bootstrap.php(1422) : eval()'d code on line 130"

Also, the name of the settings is blank/empty:
https://vborg.vbsupport.ru/external/2016/01/19.png

Can somebody [help make] this mod [work for] vBulletin v4.2.3?

Dragonsys
01-07-2016, 01:06 AM
Doesn't work on vBulletin 4.2.3.

Can somebody fix this mod please?

Well, since it is a vb v3.7 plugin, it won't work, there is nothing to fix.

akz645
01-07-2016, 03:40 AM
there is nothing to fix.
You know what I meant...
Edited my previous post.

Well, since it is a vb v3.7 plugin, it won't work
Since you want to be pedantic about my wording, your statement there isn't true for all cases. Hence that statement is incorrect ;).
As there are plenty of vBulletin 3.6/3.7/3.8 mods that work perfectly fine on vB4. (https://vborg.vbsupport.ru/showthread.php?t=269719)

Dragonsys
01-07-2016, 02:28 PM
You know what I meant...
Edited my previous post.


Since you want to be pedantic about my wording, your statement there isn't true for all cases. Hence that statement is incorrect ;).
As there are plenty of vBulletin 3.6/3.7/3.8 mods that work perfectly fine on vB4. (https://vborg.vbsupport.ru/showthread.php?t=269719)

Then why not use this one, which people (you included) report as working on vb v4
https://vborg.vbsupport.ru/showthread.php?t=137197

akz645
01-07-2016, 07:51 PM
Then why not use this one, which people (you included) report as working on vb v4
https://vborg.vbsupport.ru/showthread.php?t=137197

I don't like doing manual template edits.
I prefer it all in a plugin. If I ever want to get rid of this feature, I only have to disable/unistall as opposed to keeping track of my manual template edits.

Dragonsys
01-07-2016, 08:46 PM
I don't like doing manual template edits.
I prefer it all in a plugin. If I ever want to get rid of this feature, I only have to disable/unistall as opposed to keeping track of my manual template edits.

good point :)

z3r0
01-08-2016, 06:08 AM
The vb4 version is here - https://vborg.vbsupport.ru/showthread.php?t=234043