vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vbClock v1.3 (with Alarm, Stopwatch and World Time) (https://vborg.vbsupport.ru/showthread.php?t=83495)

yoyoyoyo 06-20-2005 10:00 PM

vbClock v1.3 (with Alarm, Stopwatch and World Time)
 
vBClock
version 1.3


DIFFICULTY: Beginner/Simple
TIME TO INSTALL: Less than 5 minutes
Templates to edit: 2
New phrases: 1
New files to upload: 6 (1 .php, 2 .html, 2 .gif, 1 .mid)


This adds an auto-updating javascript clock (ie: the seconds "tick") that is displayed in the WELCOME area of the NAVBAR. When you click on the phrase "The current time is" it opens a new popup window that displays the current time in every time zone. If you click on the alarm clock icon it opens a popup window that has an alarm clock which the user can either enter their own alert message, or they can play a midi file audio alert at a pre-selected time (the audio alert function seems to work on IE only at this point). If you click on the stopwatch icon it will open a popup window with a stopwatch. The stopwatch has stop/start, pause, reset and split time functions.

SEE SCREENSHOTS

INSTALL INFO

1) Upload the contents of the UPLOAD folder to your forum ROOT directory. If you want to change the alert file then simply substitute a midi file of your own and be sure to name it "alert.mid"

2) Make the edits to the NAVBAR template as indicated in template-edits.navbar.txt

3) Make the edits to the headinclude template as indicated in template-edits.headinclude.txt

4) Add the new phrase as indicated in new.phrases.txt

5) That's it!

version history
V. 1.1: added a Stopwatch function, and fixed a window size error and resized the clock gif image. To upgrade from 1.0 simply redo the file edits listed in template-edits.navbar.txt and also upload the following: stopwatch.html, alarmclock.gif, stopwatch.gif

v. 1.2: fixed the smilie error/conflict

v 1.3: added support for vBadvanced CMPS index.php



PLEASE CLICK INSTALL

yoyoyoyo 06-21-2005 07:09 PM

Please click install if you find this useful

RichieBoy67 06-21-2005 07:11 PM

Cool,

Thanks :)


Installed and works fine but my pop up blocker blocks the alarm... clock works great though. Nice little add on!! :)

yoyoyoyo 06-22-2005 12:47 AM

I added a Stopwatch function. If you click on the stopwatch icon it will open a popup window with a stopwatch that has stop/start, pause, reset and split time functions.

KevinL 06-24-2005 08:10 PM

This is pretty cool. I installed this but it made my smilies not work in the reply. When you click on the smilie they didnt work you had to enter them manually.

weird :)

yoyoyoyo 06-25-2005 01:18 AM

Quote:

Originally Posted by KevinL
This is pretty cool. I installed this but it made my smilies not work in the reply. When you click on the smilie they didnt work you had to enter them manually.

weird :)

Thanks for the info- I will look into it. I can't imagine why it would cause a conflict with the smilies since it does not edit any code that the smilies use

KevinL 06-25-2005 01:31 AM

Quote:

Originally Posted by yoyoyoyo
Thanks for the info- I will look into it. I can't imagine why it would cause a conflict with the smilies since it does not edit any code that the smilies use

I think it has to do with the javascript in the code?

See the smilies work in the quick reply but as some as you 'go advanced' and click on a smilie it doesnt do anything. Also with just the time there it does the same thing I just found out.

Hope that helps you out.

RichieBoy67 06-29-2005 09:41 PM

I added this into my modified welcome panel and it is cool. The only problem is that most pop up blockers will blocl the alarm feature. Perhaps there is a better way to get that to work using another method simliar to how the info bar pop up works maybe...

That way it will not really be a pop up but will work just the same :)

Bounce 07-02-2005 09:32 PM

Works brill apart from the smileys :disappointed:

akanevsky 07-10-2005 10:40 PM

Good job. I clicked install :)
However, some styling of this [https://vborg.vbsupport.ru/attachmen...hmentid=27387] would be of use.

yahoooh 07-29-2005 02:09 AM

when i installed it
and when i craeat new thread i can not use any bb code
i thought because of alarm clock

could u fix that

Tulsa 08-03-2005 11:25 AM

Very nice.

Now the popup window for the alarm clock comes up just fine. When I click on the submit button nothing really seems to happen. Not sure if it even should. Now I set a time just a few minutes out and no alarm event occured either by message or audible.

Tulsa 08-04-2005 12:47 PM

I also had one user with the similes issue, although I couldnt recreate it in any browser.

Now I did experience one issue I could recreate. For people using Firefox/Mozilla, the advanced wysiwyg editor, you did not have the ability to post. The editor and all the graphics along with the smilies came up just fine but you were unable to write a single character.

I've had to remove the clock for now.

yahoooh 08-13-2005 07:30 PM

i also have the same issue , smiles and all vbcode not work by using the standard edetor
could u fix it plz

Drago912 08-13-2005 08:02 PM

Quote:

Originally Posted by yoyoyoyo
Thanks for the info- I will look into it. I can't imagine why it would cause a conflict with the smilies since it does not edit any code that the smilies use


same thing here....smilies have to be used manually.

yoyoyoyo 08-14-2005 12:13 AM

Quote:

Originally Posted by Drago912
same thing here....smilies have to be used manually.

I will look in to it, sorry for not getting on this sooner but I have been busy. I will fix it as soon as possible.

Drago912 08-15-2005 11:53 PM

The problem is somewhere in the template........I removed the code added to the navbar template and smilies are working again.

yoyoyoyo 08-16-2005 12:02 AM

Quote:

Originally Posted by Drago912
The problem is somewhere in the template........I removed the code added to the navbar template and smilies are working again.

I figured it had to be there since that is the only real vb file that is modified. I will check in to it, as I said. I want a few minutes to site down and look at it, and those few minutes have been eluding me, but I promise I will get back to it.

yahoooh 08-20-2005 11:32 AM

hello , i wait also because smiles,colours,font not work ..only work by manualy ... this mean the error in javascript that display the clock

could u fix that

yahoooh 08-25-2005 01:12 PM

we wait !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
in the thread , u click supported , plz fix this hack

hotwheels 08-31-2005 09:22 PM

i found it usefull, but i lost the use of my smilies in replies...........that really sucks

Please see what can be done to fix this.........thanks, hotwheels

hotwheels 08-31-2005 09:23 PM

oh, and if anyone read's this, DON'T INSTALL yet, it isn't working right............has a fault in it that seem's to shut off your smilies in replies.......

hotwheels 08-31-2005 09:29 PM

this should really be moved somewhere else so other's don't mess up there forum with this hack until it is fixed..........thing show's it was posted back in june, guy that wrote last looked at it on aug. 16th............

this is bad new's

yoyoyoyo 08-31-2005 09:46 PM

Quote:

Originally Posted by hotwheels
this should really be moved somewhere else so other's don't mess up there forum with this hack until it is fixed..........thing show's it was posted back in june, guy that wrote last looked at it on aug. 16th............

this is bad new's

not really- I have been busy with a few other things. I will get to this soon, though. In the meantime if someone wants to move it to beta until it is fixed that is fine with me.

yoyoyoyo 08-31-2005 10:59 PM

actually no need to do that - I fixed it :D

updated to 1.2

Drago912 09-01-2005 12:00 AM

Quote:

Originally Posted by yoyoyoyo
actually no need to do that - I fixed it :D

updated to 1.2

excellent....working great. One question. I cant see it from the portal page (cmps) only when in the forums....any ideas?

yoyoyoyo 09-01-2005 12:56 AM

Quote:

Originally Posted by Drago912
excellent....working great. One question. I cant see it from the portal page (cmps) only when in the forums....any ideas?

I had to add a conditional to the navbar template to only allow it to appear on certain pages. You will also not see it on showthread.php, newreply.php or private.php to avoid conflicts.

At your request I updated it to version 1.3, to include support for vBadvanced CMPS index.php

To upgrade fom 1.2 replace the navbar edits with those included in the zip, which I have updated.

hotwheels 09-01-2005 01:13 PM

Work's perfect. Thanks for such a quick repair to the file. Hotwheels

yahoooh 09-02-2005 06:27 AM

u do not fix it , u just remove the function that make me install this hack
before this fake upgrade , the watch showing directly in navbar without any click ..but this make some trouple with js of bb codes , so u just remove it and said that u fix it

i unstalled this because now it will not showing the time directly in navbar

yoyoyoyo 09-02-2005 10:05 AM

Quote:

Originally Posted by yahoooh
u do not fix it , u just remove the function that make me install this hack
before this fake upgrade , the watch showing directly in navbar without any click ..but this make some trouple with js of bb codes , so u just remove it and said that u fix it

i unstalled this because now it will not showing the time directly in navbar

Huh? It was not a "fake upgrade"

It works for me and others, without any need to click on anything and the time is displayed directly in the navbar- ticking off seconds as advertised. None of that code has changed at all. I just moved the javascript to the header (not a problem there) and cleaned up the html, and limited it to not appear in the navbar on a few pages which I mentioned, so if anything it should work BETTER (and it does for me and everyone else who has tried it, and posted to this thread). Can you take a screenshot of what it looks like on the index page?

You will not see the clock on the "showthread.php" or "newreply.php" or "private.php" to avoid conflicts, but I don't think that makes it a "fake" update (whatever that means).

hotwheels 09-03-2005 06:55 PM

still work's great for me.....even have the use of the smilie's back....

stan111 09-16-2005 09:14 PM

check post below

stan111 09-17-2005 12:54 AM

just got it installed
work like a champ
thanks a ton
btw: head up for those who use v3.0.7
in the navar the author will tell you to look for this :
HTML Code:

<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
but all you will see is this
HTML Code:

<if condition="$show['pmstats']"><br /><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a>: $vbphrase[unread_nav] <if condition="$bbuserinfo['pmunread']"><strong>$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>
and it is okie to put after that too
i tried it on mine and it works like a champ :banana:

LadyBeth 10-09-2005 02:24 PM

Quick question....
I saw something similar in a user postbit. It is in the Profile, you set the time/date for an event you want to attend in the future, and the clock shows up in the postbit of a user's posts and the timer is ticking down. Can this be done with this?
I'm not a coder but have a forum. Be gentle please. ;)
Beth

funinthesun 12-01-2005 08:51 PM

Could you please update this hack for 3.5? :nervous:

kasi 07-08-2006 01:42 AM

Quote:

Originally Posted by funinthesun
Could you please update this hack for 3.5? :nervous:

Yes that would be lovely. I am running 3.5.4 and I would love this if it is updated to run on my version!


All times are GMT. The time now is 07:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01341 seconds
  • Memory Usage 1,817KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete