UBB.Dev
Posted By: AllenAyres Private Message 1.5c - 09/10/2000 8:08 AM
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:
https://www.ubbdev.com/db/cgi/ubbcount.cgi?expath1=Forum8&expath2=&topic=000013&ty pe=&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
Posted By: DzeDom Re: Private Message 1.5c - 09/10/2000 9:57 AM
uhh i got an 500 error when i tried to delete the message, what's wrong with it? Please help thanks.

------------------

www.vietvoice.net
Posted By: AllenAyres Re: Private Message 1.5c - 09/11/2000 5:48 AM
Reupload privatedelete.cgi in ascii and check the permissions on it, make sure it is 755... or better...

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

- http://www.stand318.com
Posted By: J.C. Re: Private Message 1.5c - 09/11/2000 7:14 AM
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:



and make it:



Onward with my testing..




[This message has been edited by C_P (edited September 11, 2000).]
Posted By: DzeDom Re: Private Message 1.5c - 09/11/2000 7:20 AM
Hmm, it's still the same. I still got that 500 error on privatedelete.cgi file.

------------------

www.vietvoice.net
Posted By: J.C. Re: Private Message 1.5c - 09/11/2000 7:24 AM
Okay fixed the header missing prob in private.pl

Find:


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).]
Posted By: AllenAyres Re: Private Message 1.5c - 09/11/2000 7:32 AM
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
Posted By: J.C. Re: Private Message 1.5c - 09/11/2000 7:46 AM
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).]
Posted By: HackAttack Re: Private Message 1.5c - 09/12/2000 11:59 PM
Also, in privateprefs.cgi, you may want to clean up the html from:

Login:

to this:
Login:

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
Posted By: Billy Bandit Re: Private Message 1.5c - 09/13/2000 12:08 AM
DzeDom,

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

------------------
Billy Bandit
Bandit Boys
Posted By: DzeDom Re: Private Message 1.5c - 09/13/2000 2:09 AM
Oh yeah found it! thanks to you Billy Bandit. That's the problem [Linked Image][Linked Image][Linked Image]

------------------

www.vietvoice.net
Posted By: toddy Re: Private Message 1.5c - 09/17/2000 11:22 PM
'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

[This message has been edited by toddy (edited September 18, 2000).]
Posted By: AllenAyres Re: Private Message 1.5c - 09/18/2000 7:40 AM
nice looking site...

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

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

- http://www.stand318.com
Posted By: toddy Re: Private Message 1.5c - 09/18/2000 3:32 PM
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
Posted By: toddy Re: Private Message 1.5c - 09/18/2000 8:24 PM
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
Posted By: Jaxel Re: Private Message 1.5c - 09/18/2000 10:06 PM
*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/
Posted By: Shaun Re: Private Message 1.5c - 09/19/2000 12:28 AM
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
Posted By: toddy Re: Private Message 1.5c - 09/19/2000 3:56 AM
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



[This message has been edited by toddy (edited September 19, 2000).]
Posted By: J.C. Re: Private Message 1.5c - 09/19/2000 4:25 AM
In the ignore.cgi file change this:

require "cookie-lib.pl";

to this:

#require "cookie-lib.pl";

No more 500 error..
Posted By: Shaun Re: Private Message 1.5c - 09/19/2000 11:25 PM
ok
so waht is cookie-lib.pl ???
Posted By: J.C. Re: Private Message 1.5c - 09/20/2000 1:51 AM
A file required by older versions of UBB.


[This message has been edited by C_P (edited September 19, 2000).]
Posted By: AllenAyres Re: Private Message 1.5c - 09/20/2000 11:44 PM
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
Posted By: J.C. Re: Private Message 1.5c - 09/21/2000 12:50 AM
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)..


------------------


[This message has been edited by C_P (edited September 20, 2000).]
Posted By: Greg Hard Re: Private Message 1.5c - 09/22/2000 12:27 AM
2.0 is OUT!!!
Closed!

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!
Posted By: Greg Hard Re: Private Message 1.5c - 09/22/2000 12:27 AM
Forgot to close it.

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!
© UBB.Developers