|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Don't change *anything*, I want to see what's the problem.
|
|
|
|
Joined: Dec 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 9 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Dec 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 13 |
Yeah i want it in an input box, if i'll change that in the wordlet it'll do it like on netwerkin? or i need to change stuff in the code too?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
I dont have the file fadr.js where can i get it????
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It's only if you have News Fader, if you don't, ignore that step.
|
|
|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
Hm...got it! but where can i find this hack? i saw your ubb and i really liked it
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
It's still not working on my page. When I view the html source, what's happening is that the script for the clock is in the body section, rather than the head. How can I put it in the right place?
|
|
|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
Hm...got it! But where can i find this hack anyway? i saw your forum and i really liked it!
|
|
|
|
Joined: Oct 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 20 |
I'm having a odd problem. Installed the hack and it seems to display and work fine. (6.2.1 beta 1) However, the display shows 'My time' and 'Board time' to be exactly 12 hours apart (AM vs. PM) The time on both the workstation and the server are set correctly to the current time, but still the AM/PM switcheroo. I went to the server and changed the system time to AM from PM and cleared cache but the problem persists. I'm thinking I hacked it wrong, now. http://bbs.balsamlake.net/cgi-bin/ultimatebb.cgi Any help is appreciated. This one's a real noodle scratcher for me... Dirk
Be bold, and mighty forces will come to your aid -- Basil King
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You set GMT offset to 6... Shouldn't it be -6? 
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
LK, this is a great hack. I want the output right under the login/logout but it's now in it's own table. www.cyberty.nl How can i do this? The GMT offset on our board isn't correct i guess. 
|
|
|
|
Joined: Oct 2001
Posts: 20
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 20 |
You set GMT offset to 6... Shouldn't it be -6?
Yes, it should. I read the post about not needing the '+' sign in front of positive offsets and naturally assumed that you wouldn't need a '-' sign for negative ones either.
Some days I think I should get checked by a doctor....
Thanks for the help,
Dirk
Be bold, and mighty forces will come to your aid -- Basil King
|
|
|
|
Joined: Dec 2001
Posts: 57
Member
|
Member
Joined: Dec 2001
Posts: 57 |
Anyway I can add more than 2 times? I.E try to make my own modification for private use? Do I just have to add the (for example:)
CP_VARS_TIME:
&RegField("Australian Time Zone Offset", "AUSOffset", "", "3", "4", "Same as above, but the offset from AUS. Used in UBB Thinking Clock.", "$vars_time{AusOffset}"); CP_LIB:
my $AUSOffset = &SmallClean($in{AUSOffset});
and
'AUSOffset' => $AUSOffset,
VARS_WORDLET_MODS:
'time_localboard' => "Your Time: %%USERTIME%%. Board's Time: %%SERVERTIME%%. Australian Time: %%AUSTIME%%",
But I have no idea what to do with Public Topic Page, if infacxt, the above is correct....
Any help? Or is that so far right? I'm a newbie, help appreciated....
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Dec 2001
Posts: 57
Member
|
Member
Joined: Dec 2001
Posts: 57 |
I don't understand..... do you mean YOU think there is no need for it? Or there actually isn;t any use for it?
Because regardless of YOUR choice, I don't wish to be cheeky, its great hack, but I'd wish for a few more times on it...... so everyone know what time it is in a certain place, being the topic of my test forums, its pretty essential I have this, if you can;t help me, fine, just say.
Thanks for any further help, C.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I mean there is no need to hack cp_vars_time.pl and cp_lib.cgi. Australian Time == always +10, regardless of the server time.
|
|
|
|
Joined: Dec 2001
Posts: 57
Member
|
Member
Joined: Dec 2001
Posts: 57 |
So how do I add it as well as the other times? You see LK, what I mean by my private addon, is try to replicate kind of World time hack, so there is various times. Not just the ones included/can be shown. I.E. the third world countries etc. Sorry if I sounded a bit stressed over last post....kinda had a bad day, sorry mate 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Like instead of: Or something like that...
|
|
|
|
Joined: Feb 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 18 |
where do i get news fader?
|
|
|
|
Joined: Feb 2002
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 15 |
LK, I'm having a problem with the multhack version. I'm trying to install it on a 6.2.1 board, but when I analyze it, it gives an error for the file cp_vars_time.pl. Do you know whats wrong?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Oops, updated 
|
|
|
|
Joined: Dec 2001
Posts: 51
Member
|
Member
Joined: Dec 2001
Posts: 51 |
Heh, mine didn't show up.. I was getting a little error on the HTML page (page showed, though) and I installed via TXT and Multihack. I have installed News Fader..
Any ideas?
|
|
|
|
Joined: Feb 2002
Posts: 15
Junior Member
|
Junior Member
Joined: Feb 2002
Posts: 15 |
I redownloaded it, but I still get the same error. 
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
I have the same problem, and I've isolated it to the fact that the "onload" portion isn't showing up in the html code. Could you please check this portion of the modification:
ubb_forum_summary.cgi - the modifications to that file
Because that's where I believe there is an error.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
I removed it from my board cause it was a big ugly table, but the "onload" portion did not appear in the html source after the background color, font color, etc. as it was supposed to. The javascript portion was fine, but it did not load.
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
I removed it from my board cause it was a big ugly table, but the "onload" portion did not appear in the html source after the background color, font color, etc. as it was supposed to. I did the modification, viewed the html source, and it was not there. The javascript portion was fine, but it did not load in the body.
|
|
|
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
Ellen did you go into the cp to Date & Time Settings and set the GMT Time Zone Offset?
|
|
|
|
Joined: Aug 2001
Posts: 50
Member
|
Member
Joined: Aug 2001
Posts: 50 |
installed without a hitch.
I would also like to know how to modify the layout so that i can display each time within different cells of a table.
If thats not clear take a look at my home page. I want to left align "Your Time" and Right Align "PTCO Time"
Ive attempted to insert the necessary html directly into the mod wordlet but it generates the errors with the lightbulb javascript so many people seem to have trouble with.
[code][/code]
|
|
|
|
Joined: Jan 2002
Posts: 12
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 12 |
LK Although I do have News Fader installed, I would like to use the ubb_forum_summary.cgi approach, rather than the fader.js approach. Now, I did try it.. But, it didn't work. And that's probably the very reason why you give the 2 different approaches. Unfortunately, my understanding of why.. is zero. Thus, the silly question. Why do I want something so silly? Quiet a few of our users use Netscape or Opera. And fader.js does not load/run in either of those browsers and, of course, the clock doesn't load either. Thanks..
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I think newsfader works in Opera/Netscape, and if it doesn't, so you can either make your whole site work with Opera - remove newsfader, or make it not work with Opera - leave newsfader/ubb thinking clock alone.
|
|
|
|
Joined: Jan 2002
Posts: 12
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 12 |
Thanks LK.. (I think).
Fader does work? May I PM you on this?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
News Fader works -> fader.js works -> this hack works
|
|
|
|
Joined: Jan 2002
Posts: 12
Junior Member
|
Junior Member
Joined: Jan 2002
Posts: 12 |
quote: Originally posted by LK: News Fader works -> fader.js works -> this hack works
Erm.. sorry my intent wasn't to say or even suggest that this hack or News Fader didn't work.
They are both good & fully functional hacks.
I've probably made some sort of mistake in the implementation or something.. I did post to the News Fader topic a while back. But, it wasn't answered. I certainly didn't mean to cause any trouble, I was merely looking for help. Thus the PM suggestion. Sorry.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
No trouble, you should post if you got a problem I'm only saying that it should work if you'll install with fader.js, and if it doesn't, gimme the URL with both newsfader and ubbthinkingclcok and I'll try to use Mozilla on it.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Got your first MSIE report  Your fader.js doesn't seem to be hacked 
|
|
|
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: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|