#37099
04/02/2000 4:03 PM
|
Joined: Apr 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2000
Posts: 5 |
That screwed me up to at the top of the file change to
|
|
|
#37100
04/02/2000 4:56 PM
|
Joined: Apr 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2000
Posts: 5 |
Cool hack, I have changed the code a little so it opens in a javascript window, No demo because my board is local, It wont take long to do add but backup your files first ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif) First open Utimate.cgi Find:Put below:Find:Put below:Sorry to put all this code here but I the file upload didnt work make a new file called 'worldtime.cgi' overwrite your old one if you have got it and paste this into it Sorry! Good luck ![[Linked Image]](http://ubbcodehacking.com/ubb/smilies/smile.gif)
|
|
|
#37101
04/03/2000 7:41 AM
|
Joined: Mar 2000
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 14 |
I'm sure it's just me - but i cant find the code in ubb_library.pl to put the inserted code after.
die( &StandardHTML("Invalid characters in your submitted variables. The time and IP was logged.") ); } return 1; } # end SR
The above code just doesn't seem to be there. Is there a line number or an approximate area someone can refer me to to find it? I've gone thru the thing about 20x. I'm using v5.40.
Thanks.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
#37102
04/03/2000 1:20 PM
|
Joined: Apr 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2000
Posts: 5 |
|
|
|
#37103
04/03/2000 1:34 PM
|
Joined: Mar 2000
Posts: 26
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 26 |
The following is my new error in the control panel after I submit a time offest. Can someone tell me what is wrong now. Also put a list of teh time offsets used already.
Error including required files: Can't locate tzvariables.file. in @INC (@INC contains: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at cpanel2.cgi line 49. Make sure these files exist, permissions are set properly, and paths are set correctly.
|
|
|
#37104
04/03/2000 2:58 PM
|
Joined: Mar 2000
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 14 |
Great, i dont have a line 2279 in v 5.40. The last line is 2182. Can i just put it at the end?
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
#37105
04/03/2000 3:28 PM
|
Joined: Jan 2000
Posts: 313
Member
|
Member
Joined: Jan 2000
Posts: 313 |
Nevex - did you upload the tzvariables.file to where your other variables files are? Did you chmod it 777? Did you add the "require tzvariables.file" statement to both cpanel.cgi and cpanel2.cgi? Mikal - yes you can just add that subroutine to the end of ubb_library.pl. ------------------ Webmaster Van Halen Links.com http://www.vhlinks.com UBB Moderator http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi
|
|
|
#37106
04/03/2000 6:25 PM
|
Joined: Mar 2000
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 14 |
Like Nevex, I'm getting an error message of::
Error including required files: Can't locate tzvariables.file in @INC (@INC contains: /usr/libdata/perl5/i386-bsdos/5.00402 /usr/libdata/perl5 /usr/libdata/perl5/site_perl/i386-bsdos /usr/libdata/perl5/site_perl /usr/libdata/perl5/site_perl/i386-bsdos/include .) at cpanel.cgi line 43. Make sure these files exist, permissions are set properly, and paths are set correctly. Except mine came when I just click on the 'time zones' link - not when i actually submit any offsets. I double checked - the permissions are correct on cpanel and cpanel2, both have the require tzvariables.file line. Paths to perl are correct on both files.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
#37107
04/03/2000 7:00 PM
|
Joined: Jan 2000
Posts: 313
Member
|
Member
Joined: Jan 2000
Posts: 313 |
You put the the tzvariables.file where your other variable files are correct? (I'm just asking all the basics here to make sure nothing was overlooked) ------------------ Webmaster Van Halen Links.com http://www.vhlinks.com UBB Moderator http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi
|
|
|
#37108
04/03/2000 10:37 PM
|
Joined: Mar 2000
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 14 |
Yes, its with the other .files, in the ubb folder (as opposed to the cgi-bin folder).
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
#37109
04/04/2000 4:35 AM
|
Joined: Mar 2000
Posts: 26
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 26 |
Yeah I did do that, I followed directions to the letter. I also sent you and email with my files to view.
|
|
|
#37110
04/05/2000 1:58 PM
|
Joined: Jan 2000
Posts: 313
Member
|
Member
Joined: Jan 2000
Posts: 313 |
I don't know what to say guys, I've looked through the code like 50 times and I can't see a problem. If it was a universal problem, everybody would be complaining, so that leads me to believe you are leaving something out, although I can't figure out what it is. ------------------ Webmaster Van Halen Links.com http://www.vhlinks.com UBB Moderator http://www.scriptkeeper.com/cgi-bin/Ultimate.cgi
|
|
|
#37111
04/05/2000 2:39 PM
|
Joined: Mar 2000
Posts: 26
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 26 |
Do me a favor and answer my email and look at my code. You might find your answer there.
|
|
|
#37113
04/06/2000 4:34 PM
|
Joined: Mar 2000
Posts: 14
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 14 |
GOt mine going - seems i very carefully and intentionally put hte tzvariables file in the ubb not the cgi-bin folder...sigh...and THEN missed that it was in the wrong place - thru THREE checks of my work no less *dies of embarrassment* -thanks for your help - got it working now.
Eagles may soar, but weasels don't get sucked into jet engines.
|
|
|
#37114
04/11/2000 5:23 PM
|
Joined: Jan 2000
Posts: 5
Member
|
Member
Joined: Jan 2000
Posts: 5 |
In yer tzvariables.file the first line reads
$TimeZoneDisplay = "no;"
might wanna take a look at that.
almost deleted the whole hack cause of that little erorr.
------------------ Jason [AW3CPID: SNA]
|
|
|
#37115
04/11/2000 5:33 PM
|
Joined: Jan 2000
Posts: 5
Member
|
Member
Joined: Jan 2000
Posts: 5 |
sigh...
6. Now open "cpanel2.cgi". Look for the following:
require "ubb_library2.pl";
Right under that, add this:
require "tzvariables.file.";
See if u see anything wrong with the require line.
Is there anything other erros? Sheesh
------------------ Jason [AW3CPID: SNA]
|
|
|
#37116
04/12/2000 6:20 AM
|
Joined: Mar 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Mar 2000
Posts: 6 |
I just d/l'ed this hack today and the error was still included in the zip... [/B]
This is also still there: Fixed those two errors and now after submitting tz changes I am returned a blank html doc ![[Linked Image]](http://ubbcodehacking.com/ubb/frown.gif) [This message has been edited by dieKetzer (edited April 12, 2000).]
|
|
|
#37118
04/12/2000 3:28 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
I can't add mat-t's javascript version of this. It screws up my UBB. Any help?
|
|
|
#37119
09/15/2001 2:54 AM
|
Joined: Sep 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 5 |
port to ubb6? I'll have a try
|
|
|
#37120
09/15/2001 4:55 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
That would be good. I don't even think the World time hack was made for 6.0
|
|
|
#37121
10/28/2001 11:04 AM
|
Joined: Dec 2000
Posts: 151
Member
|
Member
Joined: Dec 2000
Posts: 151 |
will this not work as is with 6.1.x.x ?
would love to have it available for 6.1.x.x !!!
|
|
|
#37122
10/28/2001 7:14 PM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
It hasn't be released yet for 6.1.0.
|
|
|
#37123
01/02/2002 11:46 AM
|
Joined: Dec 2001
Posts: 51
Member
|
Member
Joined: Dec 2001
Posts: 51 |
Yes it would be great to see this ported over *hint hint nudge nudge* 
|
|
|
#37124
01/02/2002 3:25 PM
|
Joined: Nov 2001
Posts: 198
Member
|
Member
Joined: Nov 2001
Posts: 198 |
lol I was making something like that for 6.1, but have been delayed by homework EDIT: it is actually ready to release, but unfortunately it don't work when the cache is enabled, so that's a problem, to say the least [ 01-02-2002 02:33 PM: Message edited by: pumpkin ]
Just another boring 17-year-old and yes, I like smilies/graemlins
|
|
|
#37125
01/05/2002 12:03 AM
|
Joined: Dec 2001
Posts: 90
Member
|
Member
Joined: Dec 2001
Posts: 90 |
*the anticipation builds* 
can't find peace of mind but every corner's got a mcdonalds?!
|
|
|
#37126
01/05/2002 1:31 AM
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by actfact: Yes it would be great to see this ported over
*hint hint nudge nudge*

|
|
|
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
|
|
|
|