View Full Version : vbReal Time & Date v1.0
PixelFx
10-07-2003, 10:00 PM
vbReal Time & Date v1.0 (Forum Home)
JS Script by: PixelFX
Programmer: PixelFX
INTRODUCTION:
This hack adds a Real Time Clock & Date To your forumhome or where ever you choose.
FEATURES:
- Tells you the time, in real time ;)
- Tells you the Date
- Tells you Day of the week
- Tells you Month of the year etc.
- Shows Users The Current Time on your forum in real time.
ADDONS:
welcome panel addon - coming shortly
vbhome template addon - coming shortly
VERSION SUPPORT: vb2.3.x
BACKUP:
As always, I'm not responsible if this mess's up your site, or damages anything please make sure you backup your site below you even think
about installing this. This is very much a beta hack. I've tested it on my own site, with and with out the welcome panel final hack and it works fine.
I spent most of today making this ;) good learning experience... hope you enjoy.
INSTALL:
txt & files in .zip below
NOTE: FONT SIZE & TYPE CONTROLLED BY: <smallfont> in your admin cp, styles.
ENJOY:
PS: Please Click Install if you use this, Comments always welcome.
SCREENSHOT BELOW:
NOTE: there is a typo in my install.txt that asks you to find: <head> change it to find: </head>, and follow the rest of the instructions, and you should get a clean install :)
;)
PixelFx
10-08-2003, 01:49 AM
Addons...
MaDCaT75
10-08-2003, 02:30 AM
Darn I was hoping it would be a digital clock :(
PixelFx
10-08-2003, 02:52 AM
Next time I'll make a digital version just for you ;) It look me 6 hours to make the java and test/build this hack today :)
MaDCaT75
10-08-2003, 05:00 AM
You dont have to... I'm just a spoiled +++++ :rolleyes:
assassingod
10-08-2003, 05:27 AM
You dont have to... I'm just a spoiled +++++ :rolleyes:
Don't use colour=yellow :eek:
Use the [high] tag instead.
MaDCaT75
10-08-2003, 06:00 AM
I dont get it
assassingod
10-08-2003, 06:03 AM
I dont get it
The high tag changes for each style. On Dark Blue its yellow and on Purple & both green styles, its red. Its very hard to see yellow on purple style. Thats why I said use the [high] tag instead of color=yellow
PixelFx
10-08-2003, 12:18 PM
ok will change when I wake up, in sleep typing mode... what ya guys think of the hack?
gmarik
10-08-2003, 12:54 PM
Pixel - that's what I needed - you're reading my thoughts!
empreur76
10-08-2003, 03:00 PM
thx for this hack!
Exero
10-08-2003, 03:07 PM
good job man i will use it :)
MindTrix
10-08-2003, 03:51 PM
Thank you so much. I requested this hack here--
https://vborg.vbsupport.ru/showthread.php?t=57540
So dont know if that had anything to do with it, Either way i dont care, this is the hack i needed THANK YOUUUUUUU
PixelFx
10-08-2003, 10:08 PM
Glan you guys like it,
MindTrix: accually I didn't see the request, I was just working on some java code for one of my other projects that needed custom time code, and thought he this might make a kewl hack for vb.org ;)
I've got some variations and addons for this coming, soon, as well as video messenger chat system I'm playing around with .. but we'll save that for it's own thread later ;)
gmarik: so far it's only the little things I can read in your mind ;)
This hack took about 6 hours to make including the java from scratch... I origionally was trying to make it interactive with replacements, and vbhome. I may still add those as an addon.
Please let me know how the hack install is, as I was butching my forum as I made the install and hack at the same time, I'm trying to improve how I write my install.txt files etc as well :)
NightWalk8r
10-09-2003, 10:12 AM
hey pixel......i got a problem...the hack is kinda screwing up my template =(
is there a way to load the "getvbtime()" w/ out it being in the body tag?? =/
PixelFx
10-09-2003, 10:30 AM
getvbtime()
is a fuction in my java script, with out it you won't be able to load the js script on the page properly. The only thing I can think of off hand, might be to setup a Replacement for it, but this is something I'll have to test.
I have it working perfectly on my own site, with xhtml strict 1.0 and CSS 2.0 ... there might be a php work around, although I'm not sure since the backend of my script is Java ;)
Red Blaze
10-09-2003, 02:51 PM
Ok, here's what I got.
It is now: .
In other words... it's not showing up. I'll upload the index.php so you'd have a look. Yes, It has been hacked already. ^^;;
MetroSports82
10-09-2003, 04:13 PM
Sonikku, just FYI...I hope your aware, that you are NOT allowed to attach full vB files, on post like you just did there. You should remove that asap.
Red Blaze
10-09-2003, 04:50 PM
I'm sorry. I really wasn't aware of that. =S I'll put in the code that I edited shortly then. Kinda busy with another hack. Again I'm sorry.
Red Blaze
10-11-2003, 08:28 PM
I'm uninstalling this hack. I can't get it to work.
bridger
10-11-2003, 08:32 PM
Its a good hack! Though I might not get to use it as Ive fallen in love with vBB3 from an administration perspective. Hope there are future versions for that !
Regards,
MindTrix
10-12-2003, 04:37 PM
Ok i just installed the hack LOL yeah yeah im lazy. Anyways you have a typo which some people may not have noticed and may be the reason why Sonikku could not get the hack to work.
In your instructions you say---
FIND:
================================================
<head>
================================================
REPLACE WITH:
================================================
<script language="javascript" src="vbtime.js" type="text/javascript"></script>
</head>
================================================
Surely the </head> at the bottom should become <head> ;)
I changed it to this during my installation and it works like a dream. I expect you made the error because you was tired as you explained at the beginin.
Hope im right lol, amazing hack works perfect for me
PixelFx
10-13-2003, 07:44 AM
thanks accually it should of been find: </head> and replace with ;)
I'll fix that soon :) the main thing is to keep the
<script language="javascript" src="vbtime.js" type="text/javascript"></script>
somewhere between the <head> and </head> on the file ;)
again I'll fix that soon... it would be lack of sleep ;)
NOTE: hack release time 10-09-03, 04:30 AM
NightWalk8r
10-13-2003, 08:14 AM
Ok, i figured how to get around it ^_^
just FYI
all i did was add another <body> infront of the <body onload...> and </body> after the origianl </body> :D
hopefully it would screw everything up.......it should right?? :rolleyes:
PixelFx
10-13-2003, 10:16 AM
I've never seen a html template, or page with two body, and two closing tags doubled up. It might work, but I don't think it would validate with other systems. IE is farily lax in it's specification for what you can get away with in html coding ...
why not check out with google, w3schools, and see if that helps you with your problem or w3.org ... ;)
MindTrix
10-13-2003, 03:58 PM
I wudnt of thought u was allowed 2 <body> tags. Anyways i put the code mentioned above before the <head> and it works fine
NightWalk8r
10-13-2003, 04:07 PM
yeah.......the call to the script, u can put anywhere......it worked for me when it was above the <header> tag too :)
PixelFx
10-13-2003, 08:51 PM
I'm working on version of this script that uses php currently ;) or attemping to ;)
the goal is to have native real time in php and or using java ;)
NightWalk8r
10-13-2003, 09:57 PM
cool........update us on this......caz i dont like the idea of having 2 <body> tags -_-;
PixelFx
10-14-2003, 03:48 AM
Still not sure why you need two body tags, less your trying to put the code out side of a template ;) still I'm working on vbhome update as well. When I have a bit more time I'll make an update.
MindTrix
10-14-2003, 04:22 PM
I didnt need 2 body tags :p im special lol
oxydeart
10-15-2003, 12:45 AM
wonderfull just a little hack by very interesting
thx a lot ;)
MindTrix
10-15-2003, 11:22 AM
Seein as you made an add on for the welcome panel i was wondering if theres any chance in another add on for Forum Quick Stats v1.0
(By Boofo)
Because there is a part on the statistics that tells you when the last post was, example --- 7 minutes ago
I was wondering if your hack could be modified for this so it counts up etc, so like it would go 7minutes ago, 7 minutes 5 seconds ago, 7 minutes 6 seconds ago etc.
What you think?
PixelFx
10-15-2003, 04:46 PM
should be easy to setup, this hac was designed for any enviroment with in vbulletin.
MindTrix
10-15-2003, 04:58 PM
Sweet hope you can, also i just installed a new style, and no matter what i do the clock wont work, but only on this style, odd no?
PixelFx
10-15-2003, 05:05 PM
I have a technical service call I have to go do for client, then when I get back I'll take a look more closely at this and see what we can do for ya :)
MindTrix
10-15-2003, 05:06 PM
**bows 2 new god** cheers
TheShell
10-19-2003, 08:00 PM
Sers NightWalk8r
Original :
<body>
You have to do:
<body>
<body onLoad="getvbtime()">
and not only:
<body onLoad="getvbtime()">
mfg
TheShell
VeoMorphine
10-21-2003, 04:40 PM
It is now: .
Thats all i get. I've even tryed rehacking the file :-/
MindTrix
10-21-2003, 05:08 PM
Did you check every step over again? and all of the posts in this thread??
VeoMorphine
10-22-2003, 12:35 AM
ya i did. I checked it over more then a few times.
MaDCaT75
10-22-2003, 02:29 AM
I would add it but no place to put it on my main page :cry:
NarutoX
11-05-2003, 02:26 AM
Pretty good :)
PixelFx
11-05-2003, 11:39 PM
Thanks :) yell if you have any issues :) or not :)
NarutoX
11-06-2003, 02:52 PM
no issues here
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.