php forum
php mysql forum
php mysql smarty
 
Page 2 of 25 < 1 2 3 4 ... 24 25 >
Topic Options
#41913 - 09/24/00 10:37 AM Re: Private Messages 3.5b
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
evilprodigy: That's a standard server variable dump page (don't worry, other people don't get tour password, just theirs). It indicates that there was a 500 ISE.

Just a thought

------------------
http://www.iamcal.com
_________________________
http://www.iamcal.com

Top
#41914 - 09/24/00 02:59 PM Re: Private Messages 3.5b
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
LordNite2000, check your files and make sure you don't have a line:
require "cookie-lib.pl";
if you do, make it:

#require "cookie-lib.pl";

This file is for older versions of UBB.

Check all your PM 2.0 files for this line, and fix them as shown.

C_P


------------------
<IMG SRC=\"http://www.cyber-cards.com/g/cplogo.gif\" border=0>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#41915 - 09/24/00 03:35 PM Re: Private Messages 3.5b
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Okay I just unzipped the files, made a few adjustments, (to let it match my layout) uploaded, and all is fine, no errors, no probs. I sent a message, deleted it, checked ignore, preferences. Etc. No probs yet. I did have to add $Header or two, but that will not stop the program from working.

I think a more comprehensive doc file is needed. And of course adjust the ignore.cgi file as stated above.

Additional: I left the pmheader.html pmfooter.html empty.

My two cents..

C_P

------------------
<IMG SRC=\"http://www.cyber-cards.com/g/cplogo.gif\" border=0>

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by C_P on September 24, 2000 at 03:41 PM</font>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#41916 - 09/24/00 05:59 PM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I had forgotten to take those out (cookielib.pl)... where did you need to add some more $header to? I will put them in the download... we also need to remove the calls to pmheader.html and pmfooter.html...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41917 - 09/24/00 06:35 PM Re: Private Messages 3.5b
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Okay here is where I saw the missing $Header files..

Find this in private.pl

&print_header1;
print<<"END_OF_TEsT";
<html>
<head>
<title>$BBTitle - Private Messages</title>
$HeaderInsert
</head>
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 rightmargin=0 bgcolor="$BGColor" text="$TextColor" link="$LinkColor" alink="$ActiveLinkColor" vlink="$VisitedLinkColor">
$Header


Find this in PrivatePrefs.cgi

&print_header1;
print<<"SHOWINDEX";
<html><head>$HeaderInsert<title>$BBName - Private Messages Preferences</title></head>
<body text="$TextColor" bgcolor=$BGColor $PageBackground link=$LinkColor alink=$ActiveLinkColor vlink=$VisitedLinkColor>
$Header

Next find this (same file)

sub updateprefs {
open (PREFS,">$db_dir/$user.pref");
print PREFS "email|$in{emailstorage}|layout|$in{layoutstorage}|status|$in{statusstorage}|Ignore|$in{ignorelist}";
close PREFS;
&print_header1;
print<<"SHOWINDEX";
<html><head>$HeaderInsert<title>$BBName - Private Messages Preferences</title></head>
<body text="$TextColor" bgcolor=$BGColor link=$LinkColor alink=$ActiveLinkColor vlink=$VisitedLinkColor>
$Header


I think that's it..

Footnote: When I said I left pmheader.html & pmfooter.html empty I meant the files themselves. I still uploaded em, or else you receive an error.


------------------
<IMG SRC=\"http://www.cyber-cards.com/g/cplogo.gif\" border=0>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#41918 - 09/24/00 06:50 PM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
excellent... I made those changes, adding the topmargin=0 etc, etc, etc... and removed calls to pmheader.html, pmfooter.html, and cookie_lib.pl... that should cut down quite a bit on 500 ise's for people installing them...

I removed pmheader.html and pmfooter.html from the download since they are no longer needed...

Everything updated and uploaded... not quite enough changes for a v2.0a tho people should have less errors now...

this site has the latest files up should anyone question whether it works or not...

I may move this to "finished mods" unless we see some more errors today...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41919 - 09/24/00 07:02 PM Re: Private Messages 3.5b
Yamaha Raptor Offline
Member

Registered: 07/24/00
Posts: 891
Loc: medway me
AllenAyres should my forum have any of the changes made?
or do you think it is ok the way it is?

------------------
<IMG SRC="http://clankiller.virtualave.net/ubb/OZ.gif" border=0>

<FONT COLOR="#6699cc" SIZE="1" FACE="Verdana, Arial">This message has been edited by ClanKiller on September 24, 2000 at 07:02 PM</font>

Top
#41920 - 09/24/00 07:09 PM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
yours worked fine, but you now have the latest version as well...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41921 - 09/24/00 07:15 PM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
ok... that bit the big one... I am gonna have to redo the call to pmheader.html and pmfooter.html.... am leaving right now... will fix it when I get back tonight...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41922 - 09/24/00 07:43 PM Re: Private Messages 3.5b
Yamaha Raptor Offline
Member

Registered: 07/24/00
Posts: 891
Loc: medway me
Thanks very much allen

------------------
<IMG SRC="http://clankiller.virtualave.net/ubb/OZ.gif" border=0>

Top
#41923 - 09/25/00 01:55 AM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
OK, redid the pmheader.html and pmfooter.html call and tested it on a Win2K server and apache server without problems... you don't need those .html files anymore.

Private.cfg and private.pl are the only files changed from the last. Again, if you want to upgrade this, just upload the cgi, pl, and cfg files, no coding is needed...

If we don't find anymore errors on this, I'll move it to "finished" tomorrow...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41924 - 09/25/00 07:25 AM Re: Private Messages 3.5b
Lord Nite Offline
Member

Registered: 09/01/00
Posts: 53
Loc: USA
I changed all the require "cookie.lib"; to reflect what C_P said, #require "cookie.lib";, and I even took it out completely, yet I still get the 500 ISE message. I only get that on the ignore.cgi and nothing else. I am about throw up my hands and give up on this, but my users love the PM feature. Please help.

------------------
"And the darkness swallowed the light and the earth fell into chaos."
Lord Nite

Top
#41925 - 09/25/00 11:46 AM Re: Private Messages 3.5b
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Lord Nite,

If you have telnet, go in and type perl -w ignore.cgi and see what messages you get. They can be very helpful...

------------------
<IMG SRC=\"http://www.cyber-cards.com/g/cplogo.gif\" border=0>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#41926 - 09/25/00 02:45 PM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
or upload the new ignore.cgi in ascii, set permissions to 755 and see what happens..

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41927 - 09/26/00 01:26 AM Re: Private Messages 3.5b
Lord Nite Offline
Member

Registered: 09/01/00
Posts: 53
Loc: USA
I uploaded the new ignore.cgi, chmod to 755 and still got the 500 ISE.

I ran the perl -w ignore.cgi from the cgi-bin and got this:

perl -w ignore.cgi
Name "main::TimeColor" used only once: possible typo at ignore.cgi line 164.
Subroutine parse_form redefined at private.pl line 361.
Useless use of string eq in void context at ubb_library.pl line 18.
Useless use of a constant in void context at ubb_library.pl line 960.
Useless use of a constant in void context at ubb_library.pl line 960.
Scalar value @forline[0] better written as $forline[0] at ubb_library.pl line 21
02.
Use of uninitialized value at ubb_library.pl line 2324.
Use of uninitialized value at ignore.cgi line 22.
Use of uninitialized value at private.pl line 370.
Use of uninitialized value at private.pl line 373.
Content-type: text/html
(unnecessary info deleted)

I hope this helps to figure the problem.

------------------
"And the darkness swallowed the light and the earth fell into chaos."
Lord Nite

Top
#41928 - 09/26/00 01:44 AM Re: Private Messages 3.5b
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
check your private.cfg and see if you filled in all the parameters correctly. then check each file mentioned and check that line to see what's up. It could be another hack is interfering (although I doubt it)

(scratching my head) .. dunno

------------------
<IMG SRC=\"http://www.cyber-cards.com/g/cplogo.gif\" border=0>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#41929 - 09/26/00 02:11 AM Re: Private Messages 3.5b
Lord Nite Offline
Member

Registered: 09/01/00
Posts: 53
Loc: USA
I found a way to solve the problem....turn the ignore function off

------------------
"And the darkness swallowed the light and the earth fell into chaos."
Lord Nite

Top
#41930 - 09/26/00 02:21 AM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
that'll do it...

still not sure why it didn't work for you...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#41931 - 09/26/00 01:12 PM Re: Private Messages 3.5b
Alien Offline
Member

Registered: 03/15/00
Posts: 373
Loc: Zeta 2 Reticuli
Excellent work on this.

It's now installed and functioning on the first try.

Now all I have to do is finish customizing the html layout a little to match my site.

My only problem right now, is that I have the message pulldown icons mod installed and no icons display. The pulldown menu appears, but it does not display icons, and if you choose one, it shows complete in the private message threads list.

If you wish to see exactly what I mean, just check it out at the URL below.

I'd REALLY like to get these two hacks to coexist properly otherwise I may have to disable it temporarily.

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
_________________________
Administrator / AlienSoup.com / WTF.com
http://www.aliensoup.com
http://www.wtf.com

Top
#41932 - 09/26/00 03:22 PM Re: Private Messages 3.5b
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
ouch, getting a 500 ise there... I hope we aren't the cause..

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
Page 2 of 25 < 1 2 3 4 ... 24 25 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks