|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's not like White's version. Thanks to White and XPerT. Name: UBB.classic™ Thinking Clock. Description: Shows a ticking clock with both UBB and local time. Link: Text File or MultiHack File Demo: http://www.lkworld.com Requirement: UBB™ 6.3.0 , Mod Wordlets Number of Downloads: [img]https://ubbdev.com/lk/num.php?s=clock.txt,clock.mhp[/img]
|
|
|
|
Joined: Feb 2001
Posts: 78
Member
|
Member
Joined: Feb 2001
Posts: 78 |
Thankyou very much. I never could get it to work on 6.2 but works perfect on 6.3. 
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
hmm didnt work for me at all got a javascript error used the multihack file
had to revert to backup
any ideas?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
URL to the board with this hack installed?
|
|
|
|
Joined: May 2001
Posts: 197
Member
|
Member
Joined: May 2001
Posts: 197 |
Nice job LK Simply perfect !!!
|
|
|
|
Joined: Mar 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 19 |
As I follow your Zamalik site last few days, i can see that u already have installed successfully Mod Wordlets now so try to install Thinking Clock again and adjust your Date and time at ur board CP to be +2 and 2 coz u r hosting at MenaNet. (Note: sorry that ur team lost today’s match, btw which member account you are there?). quote: Originally posted by wadood: hmm didnt work for me at all got a javascript error used the multihack file
had to revert to backup
any ideas?
Nervana Cairo, Egypt
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
|
|
|
|
Joined: Apr 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 20 |
hmm ok false alarm seems i just had to set time in the cp thanks 
|
|
|
|
Joined: Mar 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 19 |
quote: Originally posted by wadood: hmm ok false alarm seems i just had to set time in the cp
thanks
I told u that before... anyway it is working now.
So if u r in Egypt u will see it only Current Time and others will see it like this: Your time: xx:xx Zamalek board:xx:xx.
Nervana Cairo, Egypt
|
|
|
|
Joined: Apr 2001
Posts: 171
Member
|
Member
Joined: Apr 2001
Posts: 171 |
Now before I ask my question i would like to say sorry there is this hack for 6.05 already. -- Now I re-Congifed this a bit and so far no software errors or anything but I cant seem to get it to show the actually clock..... see... www.dsstcenter.com/cgi2/ultimatebb.cgi All code was used but i think it still may have to be adjusted to work. --- If there is one already made for ubb 6.05 could someone plz direct me to a valid link.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
DSST, replace the line with Wordlet with the text itself, like my $option1 = '"Your time: "+local+". Board time: "+server'; my $option2 = '"Time: "+local';
BTW, your sig image is HUGE, please make it smaller
|
|
|
|
Joined: Apr 2001
Posts: 171
Member
|
Member
Joined: Apr 2001
Posts: 171 |
So it would be like this then... [code][/code]I am still new at some of this sorry if i am a pain.... ( this is my first time porting somthing like this ).
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I still love this hack, I installed it tonight...again...
I modify it just slightly so that it just shows the server time. I think most people have clocks on their screens.
|
|
|
|
Joined: Apr 2001
Posts: 171
Member
|
Member
Joined: Apr 2001
Posts: 171 |
quote: Originally posted by XPerT: I still love this hack, I installed it tonight...again...
I modify it just slightly so that it just shows the server time. I think most people have clocks on their screens.
Would you be able to help me in getting this to work on my ubb v 6.05....
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'm having some problems. When I added the script code in public_forum_summary.pl and uploaded it all my script code stuffed up. (News fader, on/off) and I don't know why. It probably has to do with fader.js but I'm sure I hacked everything correctly.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Dark, max size of a signature image is 150x50 
|
|
|
|
Joined: Apr 2001
Posts: 171
Member
|
Member
Joined: Apr 2001
Posts: 171 |
quote: Originally posted by LK: DSST, replace the line with Wordlet with the text itself, like my $option1 = '"Your time: "+local+". Board time: "+server'; my $option2 = '"Time: "+local';
BTW, your sig image is HUGE, please make it smaller
Sorry bring this back up but i am still not sure what to change those to. could you restat that a bit more understandable sorryfor being a bug or a pain I just want to get this working on my version ubb 6.05
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by Lord Dexter: I'm having some problems. When I added the script code in public_forum_summary.pl and uploaded it all my script code stuffed up. (News fader, on/off) and I don't know why. It probably has to do with fader.js but I'm sure I hacked everything correctly.
Help? Anyone?
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I trust you modified fader.js correctly?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
LD, you probably check every thread, every reply I post, so you should know that I can't help without a URL _with_ this hack! (I said it to TheXPerT many times  )
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by TheX: I trust you modified fader.js correctly?
Hacked it twice, got the same problem.
And LK I took it out after it didn't work. Why would I leave it in there? And no I'm not super post reader either.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: Originally posted by Lord Dexter: And LK I took it out after it didn't work. Why would I leave it in there?
Because you want me to help you fixing it? :rolleyes:
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Well I'll put it back in later for you.
|
|
|
|
Joined: Jun 2001
Posts: 56
Member
|
Member
Joined: Jun 2001
Posts: 56 |
quote: Originally posted by Lord Dexter: quote: Originally posted by TheX: I trust you modified fader.js correctly?
Hacked it twice, got the same problem.
And LK I took it out after it didn't work. Why would I leave it in there? And no I'm not super post reader either.
Same here.. I tried the MultiHack one twice and the text file once...I did it perfectly..It does not show on the homepage at all..All I see are a couple of lines drawn below the "Hello" username box on the homepage...Oh well..Maybe I'll try the 6.2.1.2 version and see what happens..
|
|
|
|
Joined: Jun 2001
Posts: 56
Member
|
Member
Joined: Jun 2001
Posts: 56 |
Bah, Nevermind LK...It works perfect  I didn't go to the control panel to set the GMT Time Zone Offset: setting first before clearing the cache.. Whew!! Sometimes it helps to just read and follow instructions.. One more thing LK..When I used the Multihack for this modification, it didn't hack the fader.js file correctly which created problems with the Newsfader not working. The hack looks fine for fader.js using Multihack but it just doesn't hack it correctly..When done by hand, it works perfectly..
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Maybe I forgot to do that, can't remember. 
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
quote: Originally posted by Lord Dexter: Maybe I forgot to do that, can't remember.
One way to find out...
|
|
|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
Joined: Jun 2002
Posts: 121 |
My one doesnt work Is it because I have compact headers 6.3.0 installed?
I Cannot Support Ubb Via ICQ or MSN. Not because I dont want to its just I cant.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
URL? (please DON'T uninstall it!  )
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'm pretty sure my error was a incorrect install since it works for everyone else with News Fader. But I've ahd experiance with my strange UBB being different to normal.
I'll give it another try later.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
I'd work this one out myself but I'm no expert at JS... [code][/code]Instead of adding that to public_forum_summary.pl, I want to separate the board time/user time, so I can have one of them in one place and the other in another place. You'll see what you mean if you go to http://www.iphq.co.uk/cgi-bin/ultimatebb.cgi , then look at the "Welcome" table. Little help, please? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's more complicated, you'll have to use AND .
|
|
|
|
Joined: Jul 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 19 |
Howdy LK: I usually have no problems with your hacks, this is the first time, as usally your hacks are well documented.. I tried over and over and over to get this one working ,I keep getting a bunch of java error then got rid of them and then finally no java errors but then an error kept coming up everytime I went to the page..I really love this crack. I used to be really good on 5.47 but was in the hospital for a long time with heart problemos...Now I have 6.3.1 wow what a difference, its like starting all over. I installed chat and calendar with little problems.But now this grrrrr Ok Tried from scratch again, I reinstalled it, Now I get all kinds of Run Time Errors at different lines, with No Java errors though .This is the 5th time I have installed it grrrrrr Thanks in Advance Candomike The Board
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I've been working on your problem and just as I get done looking at your source again I see that you got it working.
|
|
|
|
Joined: Jul 2001
Posts: 19
Junior Member
|
Junior Member
Joined: Jul 2001
Posts: 19 |
Thank you TheX: Now look at it, I really screwed up the menu trying to put the chat and the calendar on top...Man I am really rusty at this lol but hey the clock finally works candomike
|
|
|
|
Joined: Dec 2000
Posts: 595
Member
|
Member
Joined: Dec 2000
Posts: 595 |
this doesnt get the server time querying the server, does it?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
No, it takes the time from the user and removes or adds hours... So if the local time is CST + 5:00 PM and server time is GMT, it'll show 11:00 PM.
|
|
|
|
Joined: Mar 2002
Posts: 451
Spotlight Runner-Up
|
Spotlight Runner-Up
Joined: Mar 2002
Posts: 451 |
LK, this step: ################################################################################### ############ DO THIS STEP ONLY IF YOU DO NOT HAVE NEWS FADER INSTALLED ############ ###################################################################################
****************************** * Open ubb_forum_summary.cgi * ******************************
Find: =====
sub forum_summary {
Add below: ==========
$Header =~ s/<body/<body onload="GetTime()"/isg; Has to be done whether you have the News Fader or not.. Just thought I'd let you know. Also the instructions could do with being updated due to the new wordletised control panel. . . How is the server time set..? It's currently 4 hours ahead of where the server is located.. I've tried setting this in the control panel and the server time doesn't change.. Any ideas?
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
LK Where exactly is the clock on your forum ? I didnt see it. And, is it possible to show a few clocks, with different times in the same time?
I have a few members from Hawaii through Europe all the way to Israel. They asked me if I can show the time change for the those countries.
Thank you, Felix
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Oblivion Knight, it's in Date/Time Settings in CP - "GMT Offset"
Felix, I'm using Time Zone hack now so I removed that hack from my forum.
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|