|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
NOW BETTER INSTRUCTIONS!i need some help! this hack is confilicing with the news fader hack! can someone help me fix that problem? this will add a ticking clock according to what time your computer says #### DOWNLOAD HERE!!! REPORT ANY PROBLEMS HERE! [ May 17, 2001 01:33 AM: Message edited by: Mr.Clean ]
|
|
|
|
Joined: Apr 2001
Posts: 65
Member
|
Member
Joined: Apr 2001
Posts: 65 |
Firstly, I really like the idea of this hack Mr Clean. Nothing fancy, but useful...
Hmm... i might be the first user to try this out. Just one problem I noticed whilst installing, the files needed to be hacked are actually: vars_wordlets.cgi and public_forum_summary.pl
public_forum_summary.pl was incorrectly stated as ubb_forum_summary.pl in the docs.
Having said all that, I haven't been able to get it to work yet, I get "The current time is:" and then no actual time is displayed... Can some1 help me out.... btw, I have e@sy's viewpm hack and who's online hack installed....
Oh!, and I'm using ubb 6.04b
[ May 16, 2001 02:56 AM: Message edited by: fungpi ]
Promote your UBB @ UBBDIRECTORY.COM
|
|
|
|
Joined: Apr 2001
Posts: 65
Member
|
Member
Joined: Apr 2001
Posts: 65 |
Nope, still not working for me  My board's here if you wanna take a look. My Board
Promote your UBB @ UBBDIRECTORY.COM
|
|
|
|
Joined: Jul 2000
Posts: 237
Member
|
Member
Joined: Jul 2000
Posts: 237 |
lokks great Mr.Clean but it is possible to have the choice to use AM/PM format or 24 hours format? also i would have the clock displaying the server time... i mean the same time that the ubb use when i made a post. it is possible? that way it will more interesting for me... because like that, this clock is not very usefull because everybody have a clock in their windows taskbar...  so, i think the server time will be MORE usefull. thanks
|
|
|
|
Joined: Mar 2001
Posts: 39
Member
|
Member
Joined: Mar 2001
Posts: 39 |
i've got the same problem...it's displayed curent time is and then ... no time! What is goin' on? Please help me!
|
|
|
|
Joined: May 2001
Posts: 65
Member
|
Member
Joined: May 2001
Posts: 65 |
I experienced the same issue with the clock not displaying the time, just the clock label.
|
|
|
|
Joined: Mar 2001
Posts: 61
Member
|
Member
Joined: Mar 2001
Posts: 61 |
The clock is great, thanx. Got a couple of Q's for you though: 1. Is the clock relevant to the server time or does every visitor see their time zone? 2. Can you change the colour of the numbers to match Login & Register? Thanx again. 
|
|
|
|
Joined: Mar 2001
Posts: 39
Member
|
Member
Joined: Mar 2001
Posts: 39 |
you did what it said there and it worked? Why isn't working for me! Please send me a sms at +4092312217 (with the solution) cos' i'm going to a friend and i'm gonna try do do it from there! please do this for me! i will apreciate! (you can send from www.freesms.net - it's free) thank you in advance!
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
ok i will rewrite the hack! sorry guys i though the way i wrote it would be eisier but let me rewrite it! sorry will be here in few min
|
|
|
|
Joined: Jul 2000
Posts: 237
Member
|
Member
Joined: Jul 2000
Posts: 237 |
take your time! 
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
new version posted! look in first post for the link
|
|
|
|
Joined: Apr 2001
Posts: 65
Member
|
Member
Joined: Apr 2001
Posts: 65 |
I still can't get this thing to work!! Have a look here . The "Current Time Is" line is completely missing. A problem I encountered upon installation is that the docs said to find this: » $show_logout
But I could only find this: » $show_logout2
(Note the "2" infront of the $show_logout) Do I have to make any other changes because of this?
Promote your UBB @ UBBDIRECTORY.COM
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
|
|
|
|
Joined: May 2001
Posts: 65
Member
|
Member
Joined: May 2001
Posts: 65 |
I still can't see the time..just the clock label.
I'm using 6.04d.
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
shoot! my fault! ok direction are now fixed correct! sorry!
|
|
|
|
Joined: Mar 2001
Posts: 3
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 3 |
The "Current Time Is" line is completely missing for me yet.
|
|
|
|
Joined: May 2001
Posts: 65
Member
|
Member
Joined: May 2001
Posts: 65 |
vars_wordlets.cgi *************** ##### FIND: %vars_wordlets = ( ##### ADD BELOW: cgi_Clock => "Replace With Clock Script", Notice the line that says cgi_Clock? Well...shouldn't it be cgi_clock? Just curious. Also as of 11pm MDT, I still can't see the physical time. [ May 16, 2001 11:40 PM: Message edited by: HalfBreed ]
|
|
|
|
Joined: Apr 2001
Posts: 65
Member
|
Member
Joined: Apr 2001
Posts: 65 |
ok, i'm using v6.04b..
I think Mr Clean updated the zip file so I'll try it out now....
Promote your UBB @ UBBDIRECTORY.COM
|
|
|
|
Joined: Apr 2001
Posts: 65
Member
|
Member
Joined: Apr 2001
Posts: 65 |
nope, still no luck.... but now I DO get the "Current time is" label back, which is good i guess.... but still no actual time.... anyone know what's wrong? btw, my board has a black background.. so i changed the "black" into "white"... should that work okay?
Promote your UBB @ UBBDIRECTORY.COM
|
|
|
|
Joined: May 2001
Posts: 65
Member
|
Member
Joined: May 2001
Posts: 65 |
It should fungpi, but I too am not getting the time. 
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
are you guys using the news fader hack? if soo for some reason it conflics with it! i dont know why i am working on that now.
|
|
|
|
Joined: Apr 2001
Posts: 65
Member
|
Member
Joined: Apr 2001
Posts: 65 |
OH no wonder!!! I am using the newsfader hack...!!
Promote your UBB @ UBBDIRECTORY.COM
|
|
|
|
Joined: May 2001
Posts: 65
Member
|
Member
Joined: May 2001
Posts: 65 |
same here..I am using the newsfader hack as well. =)
|
|
|
|
Joined: Mar 2001
Posts: 39
Member
|
Member
Joined: Mar 2001
Posts: 39 |
Darn! I'm using the news fader to! *.!.*
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
i am pretty sure that the script for the news fader is conflicting with the script for the clock in public_forum_summary.pl someone please help! 
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
heya mr. clean. i definitely dig the clock idea. but, i agree with some of the earlier posts in this thread... is it possible to have the clock display the server time, as opposed to your own browser's time? (that way, there's always a constant clock running, that better corresponds with the times posts are listed as being made).
i posted on a thread that questioned this a few weeks ago in the mod questions forum, as well as the script hacking forum (a few people were looking into running server side scripts, in order to come up with a way to display that time)
regardless, a cool idea.
|
|
|
|
Joined: Mar 2001
Posts: 39
Member
|
Member
Joined: Mar 2001
Posts: 39 |
is there anybody that answers the questions? Please asist us...we need help! Thank you again!
|
|
|
|
Joined: Jan 2001
Posts: 100
Member
|
Member
Joined: Jan 2001
Posts: 100 |
There's no way of doing it.. Just like I bet you won't find anyone with a top navigation like the one on this site, with a newsfader as well.. Newsfader's script interfers with somewhat flash type scripts.. Someone needs to rewrite the newsfader or something..
|
|
|
|
Joined: Oct 2000
Posts: 32
Member
|
Member
Joined: Oct 2000
Posts: 32 |
I remember on an old board, we had a news fader and i believe the same menu dropdown they have here on this site. In order to get them both working, we had to do a workaround that the script author had written. I cant remember where it is off hand but it is indeed possible (at least in that case). Ill see if i cant find the documentation someone where on my HD, im a packrat and dont delete anything so it should be here somewhere. Ill get back to you guys on this. EDIT: if memory serves me right, it was somewhere on this site on how to do it... http://www.webreference.com/dhtml/hiermenus/ I got an idea how to use the javascript clock & pull a switcharoo and make it show the server time... its works in my head but i havent tried it out yet, ill post it if it works the way i think it will... [ July 04, 2001 03:10 PM: Message edited by: Section ]
|
|
|
|
Joined: Oct 2000
Posts: 32
Member
|
Member
Joined: Oct 2000
Posts: 32 |
The method i was thinking works fine, but only until the hour changes...
i dont know much about javascript at all and cant seem to repass in a variable when it recalls the function that shows the time. Maybe someone can help... here's where the problem is...
setTimeout("show2(thisvariable)",1000)
when i try passing the variable "thisvariable" to the function again, it locks it... if i put the variable in within "", it locks it. If i put the variable within '' it obviously doesnt show the content of the variable but the variable name itself. If someone can show me how to repass through the variable i will post the finished product right away. This is the only thing holding me back but i dont have time to run and learn js to do it.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The problem, the same as my MSN Center's one, is because of "on*load" ("window.on*load=show2"). In my MSN hack, it was
|
Joined: May 2001
Posts: 71
Member
|
Member
Joined: May 2001
Posts: 71 |
first off having that clock script in the wordlet file is rediculous
put it in its own file or change it from being a wordlet att all thats the most silliest thing i have seen
ill see what i can throw together maybe post it tonight ormaybe tomarrow
[insert irony here]
|
|
|
|
Joined: Sep 2000
Posts: 57
Member
|
Member
Joined: Sep 2000
Posts: 57 |
Has there been any further development on this hack? and is it possible to integrate a Good morning, Good Afternoon, Good evening...(username) with it?
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
I know how to get this to work with news fader I believe. I'll add the newsfader hack right now and post what I changed around to make it work if anyone is interested? Otherwise I'll just use it myself.
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
cool 
|
|
|
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
that sounds cool to me to. i tried useing this to but could not get it to work cuz of news fader.
|
|
|
|
Joined: Jun 2000
Posts: 536
Member
|
Member
Joined: Jun 2000
Posts: 536 |
I don't have the exact coding right now b/c I dind't have time yet, but the only way I have found it to work is if you move the ticking clock coding to a different place besides under the >> Hello, [ logout ] to maybe down at the bottom in a new table or something or maybe somewhere else at the top.
//i wanna scream, show the world i have an inside. i wanna bleed, let the blood flow, that keeps me alive.
|
|
|
|
Joined: May 2001
Posts: 93
Member
|
Member
Joined: May 2001
Posts: 93 |
no, its acrually a damn good idea, there are many clock scripts, some with many more features, if you wanted to use a better one, you would simply go to the Cp and replace it instead of rehacking the files. and if it gets annoyying you can easily remove the wordlet without having to hack it out. BTW, great hack, i was actually going to do this but wasnt sure how. 
|
|
|
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
well M_E_W i tried what you said to do and put it in it's own table but that did not work. the clock worked just find but then the news fader stop working all togther. this is the code i used to try it with. [ July 25, 2001 05:24 PM: Message edited by: ClanKiller ]
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|
 |
 |
 |
|
|