PDA

View Full Version : ZH - Info Clock


Ziki
08-28-2006, 10:00 PM
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Info Clock

~Hack description
Adds a real time clock into the navbar to show what time it is!
Credit to java.evaria.com for the clocks!

~Hack options

Turn on/off
Choose clock type (American or European)


~Hack info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 5
Settings: 2

Install time: 50 seconds
Install level: Easy

~Hack installation
Step 1: Import product

Step 2: In template navbar find:

<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>

Add right AFTER:

$zhclock



~Hack screenshots
Attached


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki
08-29-2006, 06:14 PM
Reserved for future use

Oddjob
08-29-2006, 06:20 PM
This work on 3.6?

Ziki
08-29-2006, 06:23 PM
I don't know.I only code in 3.5.You have to try

Mattikana
08-29-2006, 08:05 PM
I'm speechless...

Back to the 90ties :tired:

Ziki
08-29-2006, 08:06 PM
What do you mean?

If you mean it is only for 3.5 then excuse me but in my opinion 3.6 is not as good as 3.5.I hate 3.6 for a personal reason so please no more is this for 3.6? questions.

Snake
08-29-2006, 10:13 PM
Thanks but I'm looking for a 3.6 version for this. :)

Ziki
08-29-2006, 10:31 PM
Why don't you try it out?It is global javascript so it should work

Oddjob
08-30-2006, 01:25 AM
It did not work on 3.6, could be due to my custom style.

Oh well.

Ziki
08-30-2006, 07:14 AM
Yup.It needs a part of a code ti stick on.I will make a patch for custom styles

Ziki
09-01-2006, 09:44 AM
1.1.0 released

Whole code remake

klaush
09-01-2006, 10:07 AM
Thanks!

Any idea how to do it working with vbadvanced?

Ziki
09-01-2006, 10:09 AM
Sorry I just realized this would show only on forumhome.COde edited.Works now on every page and also on vba ;)

klaush
09-01-2006, 10:36 AM
Sorry I just realized this would show only on forumhome.COde edited.Works now on every page and also on vba ;)

That?s it! Great!

Ziki
09-01-2006, 10:42 AM
You are welcome.

yoyoyoyo
11-25-2006, 03:40 AM
not working for me for some reason. My clock hack for vb 3 worked fine in my forums, and I saw this and decided to try it, but it doesn't appear in the navbar (yes I did the edits and imported the xml)

Ziki
11-25-2006, 08:58 AM
Are you sure you followed the instructions correctly?

yoyoyoyo
11-25-2006, 11:22 AM
Are you sure you followed the instructions correctly?pretty sure- I will give it a shot again later and let you know

Ziki
11-25-2006, 07:46 PM
alright

yoyoyoyo
11-25-2006, 08:28 PM
still gettind the same error- weird.

Ziki
11-27-2006, 06:24 PM
Error?

yoyoyoyo
11-28-2006, 10:32 AM
Error?the not showing up in my forum error

Ziki
12-02-2006, 01:50 PM
lol I have really no clue.Try pasting the whole zh_clock template after the part of code

PimvanJ
01-16-2007, 05:04 PM
Where do I set the font for the time, the numbers looks a bit to big in IE.

Ziki
01-16-2007, 05:10 PM
All is in the zh_clock template

PimvanJ
02-20-2007, 02:07 PM
Thanks I found it, this hack works also in 3.6.4!