php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#42578 - 09/10/00 01:08 AM Private Message 1.5c
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I really hate to be pretentious enough to actually call this 1.5c, as it really is only a few bug fixes until someone can actually fix several large bugs in it. It has been added to the database:
http://www.ubbdev.com/db/cgi/ubbcount.cg...e=&number=8

This does fix the header bug that has been talked about for a while (should look much nicer in NS now) and a tiny one with the size of the pm.gif in ubb_library2.pl.

If you have already installed pm's and haven't changed anything in them, you only need to replace the private*.cgi and private.pl files with the new ones to fix the header bug. To be more specific, only replace the cgi/pl files dated 9-10-00.

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

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

Top
#42579 - 09/10/00 02:57 AM Re: Private Message 1.5c
DzeDom Offline
Member

Registered: 09/10/00
Posts: 109
uhh i got an 500 error when i tried to delete the message, what's wrong with it? Please help thanks.

------------------
<IMG SRC="http://www.asianworld.com/resources/buddy/riceguy.gif" border=0>
www.vietvoice.net
_________________________

Top
#42580 - 09/10/00 10:48 PM Re: Private Message 1.5c
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Reupload privatedelete.cgi in ascii and check the permissions on it, make sure it is 755... or better...

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

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

Top
#42581 - 09/11/00 12:14 AM Re: Private Message 1.5c
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Well I tried it on my test board. Uploaded fine, runs fine. Couple hickups though. The redirect screens (we are now returning you) do not show the header. Also if you login thru it's built in login you see the username and password in the url line display. Possibly change "get" to "post"?
Or is this a server issue that will vary from isp to isp..?


UPDATE!! I changed "GET" to "Post" in private.pl and on my setup it worked.

In Private.pl find:

<form action="$viewprivate" method="get">

and make it:

<form action="$viewprivate" method="post">

Onward with my testing..




[This message has been edited by C_P (edited September 11, 2000).]
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#42582 - 09/11/00 12:20 AM Re: Private Message 1.5c
DzeDom Offline
Member

Registered: 09/10/00
Posts: 109
Hmm, it's still the same. I still got that 500 error on privatedelete.cgi file.

------------------
<IMG SRC="http://www.asianworld.com/resources/buddy/riceguy.gif" border=0>
www.vietvoice.net
_________________________

Top
#42583 - 09/11/00 12:24 AM Re: Private Message 1.5c
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Okay fixed the header missing prob in private.pl

Find:
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 rightmargin=0 bgcolor="$BGColor" text="$TextColor" link="$LinkColor" alink="$ActiveLinkColor" vlink="$VisitedLinkColor">

Under that add:
$Header


On further checking, the older version (1.5b) also shows username and password in the url line.. It may be petty, but this bugs me..

[This message has been edited by C_P (edited September 11, 2000).]
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#42584 - 09/11/00 12:32 AM Re: Private Message 1.5c
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks C_P! I added those fixes to the download plus one for the login sub where NS users didn't see the header... we might fix this one after all...

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

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

Top
#42585 - 09/11/00 12:46 AM Re: Private Message 1.5c
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
the scary thing is this is starting to make sense to me.. (UBB code) I have spent way to many hours immersed in it..LOL

Oh btw to those that created this(CYM), this is still a wonderful addition and shows a lot of work!

[This message has been edited by C_P (edited September 11, 2000).]
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#42586 - 09/12/00 04:59 PM Re: Private Message 1.5c
HackAttack Offline
Member

Registered: 09/11/00
Posts: 59
Loc: San Jose, CA
Also, in privateprefs.cgi, you may want to clean up the html from:

<td colspan=3 align=center><b><font color="$TableStripTextColor"><b>Login:</b></font></b></td>

to this:
<td colspan=3 align=center><b><font color="$TableStripTextColor">Login:</font></b></td>

I found this out while trying to figure out why the login screen always got stuck in NS. It turns out it was the css, I was using which works fine for IE but seems to throw NS into what looks like a loop.



------------------
Able Muse
_________________________
Able Muse

Top
#42587 - 09/12/00 05:08 PM Re: Private Message 1.5c
Billy Bandit Offline
Member

Registered: 08/18/00
Posts: 131
DzeDom,

Did you check if the path to perl in that file is set correctly?

------------------
Billy Bandit
Bandit Boys
_________________________
Billy Bandit
Bandit Boys

Top
#42588 - 09/12/00 07:09 PM Re: Private Message 1.5c
DzeDom Offline
Member

Registered: 09/10/00
Posts: 109
Oh yeah found it! thanks to you Billy Bandit. That's the problem

------------------
<IMG SRC="http://www.asianworld.com/resources/buddy/riceguy.gif" border=0>
www.vietvoice.net
_________________________

Top
#42589 - 09/17/00 04:22 PM Re: Private Message 1.5c
toddy Offline
Junior Member

Registered: 09/17/00
Posts: 17
'E:Inetpubwwwrootcgi-binprivatesend.cgi' script produced no output

I got this error everytime I try to send a pm? any ideas?
http://24.189.118.17/cgi-bin/Ultimate.cgi

<font size=1>[This message has been edited by toddy (edited September 18, 2000).]</font>

Top
#42590 - 09/18/00 12:40 AM Re: Private Message 1.5c
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
nice looking site...

can you set me up with a test account to look at this for you?

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

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

Top
#42591 - 09/18/00 08:32 AM Re: Private Message 1.5c
toddy Offline
Junior Member

Registered: 09/17/00
Posts: 17
are you talking bout a test account into the site itself? if so if would have to be later on tonight as i am at work, and dont have access to my server since it's at home. i have all the admin accts closed to the site. i will def set one up tho tonight so you can look at it your convenience

Top
#42592 - 09/18/00 01:24 PM Re: Private Message 1.5c
toddy Offline
Junior Member

Registered: 09/17/00
Posts: 17
ok actually none of the cgi's work. Trying to put the url in manually I get the same error as above. Also I am running this UBB on a Windows 2000 Server with IIS 5. I have put a few other hacks in and have had no problem

Top
#42593 - 09/18/00 03:06 PM Re: Private Message 1.5c
Jaxel Offline
Member

Registered: 05/30/00
Posts: 64
Loc: New Jersery
*KNOWN ERRORS*

1. Security bug, links contain login and password. Password should be masked.

2. Username bug. Files are saved as "Username.cgi", they should be saved as "Usernum.pm". This way if a user has a ~/*/- before their name, it does not cause permission problems with their messages.

3. In addition, when a user is deleted, they PM info is NOT unlinked, therefore is someone else signs up with the same name, they can view the person's un-deleted messages. Quick fix would be for Error #2.

****************

Still looking for people to fix...

------------------
http://www.upnetwork.com/
http://bbs.upnetwork.com/
_________________________
I haven't owned a UBB in over 3 years!

Top
#42594 - 09/18/00 05:28 PM Re: Private Message 1.5c
Shaun Offline
Junior Member

Registered: 09/18/00
Posts: 2
Loc: Wales
Id get a 500 internal server error when trying to use ignore. I checked all permissions etc. But i noticed that the ignore.cgi required a cookie-lib.pl. Which i havent got. What is this file and how come it wasnt included in this addon. How can i get it
Thanks

Shaun

Top
#42595 - 09/18/00 08:56 PM Re: Private Message 1.5c
toddy Offline
Junior Member

Registered: 09/17/00
Posts: 17
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Undefined subroutine &main::valid_user called at E:Inetpubwwwrootcgi-binprivateview.cgi line 66.

ok thats the new message i get



<font size=1>[This message has been edited by toddy (edited September 19, 2000).]</font>

Top
#42596 - 09/18/00 09:25 PM Re: Private Message 1.5c
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
In the ignore.cgi file change this:

require "cookie-lib.pl";

to this:

#require "cookie-lib.pl";

No more 500 error..
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#42597 - 09/19/00 04:25 PM Re: Private Message 1.5c
Shaun Offline
Junior Member

Registered: 09/18/00
Posts: 2
Loc: Wales
ok
so waht is cookie-lib.pl ???

Top
#42598 - 09/19/00 06:51 PM Re: Private Message 1.5c
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
A file required by older versions of UBB.


<font size=1>[This message has been edited by C_P (edited September 19, 2000).]</font>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#42599 - 09/20/00 04:44 PM Re: Private Message 1.5c
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hola C_P... have you done any more work to this? I am seriously considering experimenting with adding ubb code buttons to it, adding a "select all" button, and redoing the folder lines to look like prev/ next bar, tho we really need to fix the password in the url first...

Do you know why it is there instead of handling the cookies like ubb does? Do you think it can be fixed by utilizing the sub postings.cgi uses to allow posting without usernames and passwords in the url?

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

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

Top
#42600 - 09/20/00 05:50 PM Re: Private Message 1.5c
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Well I for one don't use the ubb buttons. My members have enough trouble editing..LOL

As for any more work on the PM, nope.. I haven't hit anymore glitches. I did however make some adjustments to fit my format. I added topmargin="0" and so on to allow the full screen layout of my UBB to work. I will also be removing the "tree" at the top like the rest of my pages, since those links are on the sidepanels.

And in case anyone thinks so, My C_P is not the "C" in the CYMPM 1.5c I'm not that talented.. Least not in perl..LOL

* Side note, the ubb buttons slow down the loading of the page if you use spellcheck.
When the net is slow, it waits to connect, then finishes loading the page.. But to be fair it did on the old hideout setup, haven't seen it do so here. Did you make some changes? I would make a version with and without, not only one with.. What is needed is the Preview hack, I never had good success with the exisitng one (java or non)..


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

<font size=1>[This message has been edited by C_P (edited September 20, 2000).]</font>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#42601 - 09/21/00 05:27 PM Re: Private Message 1.5c
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
2.0 is OUT!!!
Closed!

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!

Top
#42602 - 09/21/00 05:27 PM Re: Private Message 1.5c
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Forgot to close it.

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!

Top
Page 1 of 2 1 2 >



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