Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 4 1 2 3 4
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Don't change *anything*, I want to see what's the problem.

Sponsored Links
Joined: Dec 2001
Posts: 9
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 9
nevermind

Joined: Dec 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 13
anybody knows how to change it so it'll appear like in www.netwerkin.org/cgi-bin/ultimatebb.cgi ?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You mean in an input box? The best way to do it is instead of %%STUFF%% in the Wordlets, add . That's not so efficient, but changing the code might cause problems.

Joined: Dec 2001
Posts: 13
Junior Member
Junior Member
Offline
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?

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It should look the same (except the background color, but you can add 'style="background-color: #color"' or something like that into the tag), however Netwerkin uses a better code because they modified templates... But with Wordlets you can change it back/to something else from the CP, so I suggest you to change it there...

Joined: Feb 2002
Posts: 18
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 18
I dont have the file fadr.js
where can i get it????

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
Offline
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?

Sponsored Links
Joined: Feb 2002
Posts: 18
Junior Member
Junior Member
Offline
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
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You set GMT offset to 6... Shouldn't it be -6? wink

Joined: Dec 2000
Posts: 371
Member
Member
Offline
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. wink

Joined: Oct 2001
Posts: 20
Junior Member
Junior Member
Offline
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
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No need for it.

Joined: Dec 2001
Posts: 57
Member
Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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 smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Like instead of:
Code
[/code]Use:[code]
Or something like that...

Joined: Feb 2002
Posts: 18
Junior Member
Junior Member
Offline
Joined: Feb 2002
Posts: 18
where do i get news fader?

Joined: Feb 2002
Posts: 15
Junior Member
Junior Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops, updated smile

Joined: Dec 2001
Posts: 51
Member
Member
Offline
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
Offline
Joined: Feb 2002
Posts: 15
I redownloaded it, but I still get the same error. frown

Joined: Sep 2000
Posts: 159
Member
Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
URLs?

Joined: Sep 2000
Posts: 159
Member
Member
Offline
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
Offline
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
Offline
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
Offline
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
bjd Offline
Junior Member
Junior Member
Offline
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. wink

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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
bjd Offline
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 12
Thanks LK.. (I think).

Fader does work? May I PM you on this?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
News Fader works -> fader.js works -> this hack works

Joined: Jan 2002
Posts: 12
bjd Offline
Junior Member
Junior Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No trouble, you should post if you got a problem smile

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: Jan 2002
Posts: 12
bjd Offline
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 12
OK, thanks..

Here's the URL http://www.morelerbe.com/cgi-bin/ubb-cgi/ultimatebb.cgi

Users using almost any browser, except MSIE, have reported actual errors with fader.js.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Got your first MSIE report tipsy Your fader.js doesn't seem to be hacked confused

Page 2 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)