PDA

View Full Version : Cyb - Forums Online CountUp


Valter
05-07-2006, 10:00 PM
=======
Release of this hack for vB v3.6:
https://vborg.vbsupport.ru/showthread.php?t=122991
=======


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

Valter
05-08-2006, 06:09 PM
Reserved.

Ziki
05-08-2006, 06:10 PM
ummm....pretty bad placement

Snake
05-08-2006, 06:39 PM
Thanks is it possible to change it's current position?

Holidazed
05-08-2006, 07:45 PM
This is a cool idea, but I would not want it at the top. I would like to see this near the vBulletin copyright.

Feckie (Roger)
05-08-2006, 09:52 PM
Does your years work properly, Hmmm

I Fixed the years problem etc.. Here (https://vborg.vbsupport.ru/showpost.php?p=876445&postcount=24)


And it is Used On Kals Skins

sensimilla
05-09-2006, 04:50 AM
I like it and I like its location too :)

Valter
05-09-2006, 06:13 AM
Does your years work properly, Hmmm
Years?

Format is: prefix-days-hours-minutes-seconds-suffix

For those who don't like position, where you would like to have it?

Boofo
05-09-2006, 06:19 AM
For those who don't like position, where you would like to have it?

Just make it a variable and allow them to manually add it where they want to in the template. ;)

sensimilla
05-09-2006, 06:49 AM
it doesnt appear on any other style than the default vbulletin one..

any ideas where to look after ?

TIA

Valter
05-09-2006, 07:55 AM
Just make it a variable and allow them to manually add it where they want to in the template. ;)
Done ;)

v1.1 - May 09. 2006.
- Added variable so users with custom styles and others who don't like counter shown above navbar can choose position. Check installation step #2.

Valter
05-09-2006, 08:10 AM
I like it and I like its location too :)
Thanks, I like it too. But some members didn't liked position or plugin didn't worked because they uses custom styles. I upgraded hack and added ability to choose template and position for counter.

If you wish to upgrade and keep counter position (like on screenshot) do the following after installation:

Go to navbar template and find:
<br />

<!-- breadcrumb, login, pm info -->
Replace:
<br />
with:
<div align="right">$cybonlinecountup</div>


Cybernetec

Stop
06-06-2006, 08:49 AM
Installed and works like a charm.

Valter
08-04-2006, 08:31 AM
vB 3.6 version:
https://vborg.vbsupport.ru/showthread.php?t=122991

tanyeri24
04-08-2007, 01:40 AM
there is a bug:
Warning: 08 is not a legal ECMA-262 octal constant
Quelldatei: http://www.aleviforum.com/findex.php
Zeile: 404, Spalte: 19
Quelltext:
setcountup(02,08,2004)

And u can fix it if you type 2,8,2004 instead of 02,08,2004 -> NO ZERO at start.

Valter
07-28-2007, 07:44 AM
v1.6
-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.