UBB.Dev
Posted By: AllenAyres Private Messages 3.5b - 09/21/2000 10:28 PM
OK, you ask the right people, you get the right answers... my firstborn child is gonna have to be named cal, but it looks like we have what we asked for:
https://www.ubbdev.com/db/cgi/ubbcount.cgi?expath1=Forum8&expath2=&topic=000016&ty pe=&number=8

This version finally fixes the "id and password in the url" bug plus, if you haven't updated your private messages in a while, it contains several display bug fixes that were fixed in the last version.

If you have already installed private 1.5b or 1.5c messages on your board, this is a drop in replacement. Just add the files dated for Sept. 2000 and you are set to go...

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

- http://www.stand318.com
Posted By: Pyros Re: Private Messages 3.5b - 09/21/2000 10:38 PM
Hmm...thanx for the link Allen.
Finally the fix has been made [Linked Image]
But was it really a big security hole though?
I don't really know why but I just love browsing through the CGI files of the PMs hack, I'll take a peak at this one too....

------------------
Quality Pages designing the world professional web pages for affordable prices.
Posted By: Tim 3dfiles Re: Private Messages 3.5b - 09/22/2000 5:56 AM
Welp, I have 2 problems:

1: It does not recognize usernames. I did reinstall recently everything is working fine, so... My guess is that installing the meberlist will solve that, I will report back.

The other is that the Private messaging in Ultimate.cgi is showing up twice, at top and bottom of the forums. I am looking into it now, again probably a simple fix, but so you know.....


Make it 3 problems. It now assumes I am Tim+3dfiles, so maybe thats why the username not recognized problem. Well, I still think member list will fix it. I have login hack installed, so, it should know who I am [Linked Image] URL to the board in my sig [Linked Image]


------------------
http://www.3dfiles.com
http://board.3dfiles.com

[This message has been edited by Tim 3dfiles (edited September 21, 2000).]
Posted By: Tim 3dfiles Re: Private Messages 3.5b - 09/22/2000 6:25 AM
Got me. I tried adding memberlist, etc, nothing changed, same problem, I give up... for now, its late [Linked Image]

------------------
http://www.3dfiles.com
http://board.3dfiles.com
Posted By: J.C. Re: Private Messages 3.5b - 09/22/2000 6:49 AM
Well my two cents are as follows..

I had to add my header section html to the pmheader.html and leave the pmfooter.html empty. Also I went and removed all the $Header references. Why? Well this way all the screens in PM have the header and footer.(All the error screens too.) There is a weird thing too. I see a ? and nothing after it. Like privatesend.cgi? (In the browser url line) Not sure what's up there..

I see by other posts there is some other glitches.. That's why they call this forum BETA..LOL

I'll be playing with it and see how it goes.. Not going live with it though..[Linked Image]

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


[This message has been edited by C_P (edited September 21, 2000).]
Posted By: AllenAyres Re: Private Messages 3.5b - 09/22/2000 9:05 AM
it seems to work fine here... what is your experience with your account here?

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

- http://www.stand318.com
Posted By: kingman Re: Private Messages 3.5b - 09/22/2000 10:28 AM
Can you make the mod like..

when the user is having a message and is currently online, then get a alert message using Java sciript or whatever....

or

if the user is just login and has a message, the get a alert message using Java sciript or whatever....


can you make this feature one private message?????????

This would be great for people to get private messgae instantly.. (like ICQ when they are online)



------------------
Thank you
Posted By: cal Re: Private Messages 3.5b - 09/22/2000 10:40 AM
Opps - left some old code in privateread.cgi that screwed the cookies.

I've sent an updated copy to allen who will hopefully upload it sometime today.

Just a thought [Linked Image]

------------------
http://www.iamcal.com
Posted By: AllenAyres Re: Private Messages 3.5b - 09/22/2000 10:48 AM
thanks cal... uploaded it to the site now.. will put it in the download as well... I never get to sleep...[Linked Image]

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 09/22/2000 10:51 AM
in ze download...

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

- http://www.stand318.com
Posted By: Lord niKON Re: Private Messages 3.5b - 09/22/2000 1:09 PM
Quote
quote:
LOL [Linked Image]
keep up the good work Allen [Linked Image]

------------------
Posted By: Tim 3dfiles Re: Private Messages 3.5b - 09/22/2000 3:09 PM
Looks like some used it, so must just be me it didnt work for [Linked Image] Ill figure it out, probably hack related. Anyway, from the"too much time on my hands" department comes a typo in the instructions:

Prefrences



Prefrences = Preferences

------------------
http://www.3dfiles.com
http://board.3dfiles.com
Posted By: AllenAyres Re: Private Messages 3.5b - 09/22/2000 5:21 PM
thanks Tim, my fingers get dyslexic at times... will fix it...

I see a few of them in there...

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

- http://www.stand318.com
Posted By: Tim 3dfiles Re: Private Messages 3.5b - 09/23/2000 2:26 AM
Minor stuff [Linked Image] What always scares me (not from everyone) is when I see a typo. One wonders if there were also typos in the cgi... Then I wonder... how many typos in the who UBB that we dont know about [Linked Image]

Anyway, I got it working. It appears I screwed up somewhere in adding it to Ultimate.cgi, probably a typo [Linked Image] It still thinks I am Tim+3dfiles though and I dont know why. Oh well, everyone else seems to be using it fine.

------------------
http://www.3dfiles.com
http://board.3dfiles.com
Posted By: CTH Re: Private Messages 3.5b - 09/23/2000 3:08 AM
Hey,

2.0 is working great for me. I'm glad the password/username in url has gone [Linked Image]

Only problem I've got which I had also with 1.5c is that my UBB codes won't work in messages or signatures only when using PM. And yep I'm do have it turned on too.

It's just a little thing on a completely brilliant hack [Linked Image]

Besides I probably installed it wrong somewhere lol

TotalNewbie
Posted By: evilprodigy Re: Private Messages 3.5b - 09/23/2000 10:47 PM
Allen....

cool script but I did everything 4 times and cleared my threads and everything but this still happens..when I press send it just goes to a white screen with text showing the variables in the message I jsut sent including my pass! and It shows the variables for my server at hypermart! Why? [Linked Image]
Posted By: J.C. Re: Private Messages 3.5b - 09/24/2000 12:19 AM
When you get the white screen, right click it and choose view source. Then see what is or isn't loading. It could be your header and footer files. A lost table element etc..

Did you check it in IE & Netscape?

------------------
Posted By: evilprodigy Re: Private Messages 3.5b - 09/24/2000 12:25 AM
when I view source it's identical...it shows my environmental variables..I see nothing wrong..and it sends me the variables like who I sent message to..my pass, the subject and the message...and stuff... :confused
Posted By: AllenAyres Re: Private Messages 3.5b - 09/24/2000 2:05 AM
newbie, check your private.cfg and make sure that where you set the ubbcodes to "yes" that the "Y" is lowercase, I may have uploaded it set to "Yes" instead of the correct "yes".

Dr. Evil, I presume... did you make a "private" directory in you ubb cgi directory (again, all lowercase) and set permissions to 777?

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

- http://www.stand318.com
Posted By: Lord Nite Re: Private Messages 3.5b - 09/24/2000 6:33 AM
I found a small problem. I installed everything and it works great for me, but when I click on the ignore list, it gives a 500 ISE message. Is there something I didn't do?

I made the private directory, installed the code letter for letter....yet get the error.

So confused.

------------------
"And the darkness swallowed the light and the earth fell into chaos."
Lord Nite
Posted By: cal Re: Private Messages 3.5b - 09/24/2000 5:37 PM
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 [Linked Image]

------------------
http://www.iamcal.com
Posted By: J.C. Re: Private Messages 3.5b - 09/24/2000 9:59 PM
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


------------------
Posted By: J.C. Re: Private Messages 3.5b - 09/24/2000 10:35 PM
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..[Linked Image]

C_P

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


This message has been edited by C_P on September 24, 2000 at 03:41 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 09/25/2000 12:59 AM
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
Posted By: J.C. Re: Private Messages 3.5b - 09/25/2000 1:35 AM
Okay here is where I saw the missing $Header files..

Find this in private.pl

&print_header1;
print<<"END_OF_TEsT";


$BBTitle - Private Messages
$HeaderInsert


$Header


Find this in PrivatePrefs.cgi

&print_header1;
print<<"SHOWINDEX";
$HeaderInsert$BBName - Private Messages Preferences

$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";
$HeaderInsert$BBName - Private Messages Preferences

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


------------------
Posted By: AllenAyres Re: Private Messages 3.5b - 09/25/2000 1:50 AM
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 [Linked Image] tho people should have less errors now...

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

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

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

- http://www.stand318.com
Posted By: Yamaha Raptor Re: Private Messages 3.5b - 09/25/2000 2:02 AM
AllenAyres should my forum have any of the changes made?
or do you think it is ok the way it is?

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


This message has been edited by ClanKiller on September 24, 2000 at 07:02 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 09/25/2000 2:09 AM
yours worked fine, but you now have the latest version as well...[Linked Image]

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 09/25/2000 2:15 AM
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
Posted By: Yamaha Raptor Re: Private Messages 3.5b - 09/25/2000 2:43 AM
Thanks very much allen[Linked Image]

------------------
Posted By: AllenAyres Re: Private Messages 3.5b - 09/25/2000 8:55 AM
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
Posted By: Lord Nite Re: Private Messages 3.5b - 09/25/2000 2:25 PM
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
Posted By: J.C. Re: Private Messages 3.5b - 09/25/2000 6:46 PM
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...

------------------
Posted By: AllenAyres Re: Private Messages 3.5b - 09/25/2000 9:45 PM
or upload the new ignore.cgi in ascii, set permissions to 755 and see what happens..

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

- http://www.stand318.com
Posted By: Lord Nite Re: Private Messages 3.5b - 09/26/2000 8:26 AM
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
Posted By: J.C. Re: Private Messages 3.5b - 09/26/2000 8:44 AM
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

------------------
Posted By: Lord Nite Re: Private Messages 3.5b - 09/26/2000 9:11 AM
I found a way to solve the problem....turn the ignore function off [Linked Image]

------------------
"And the darkness swallowed the light and the earth fell into chaos."
Lord Nite
Posted By: AllenAyres Re: Private Messages 3.5b - 09/26/2000 9:21 AM
that'll do it...[Linked Image]

still not sure why it didn't work for you...[Linked Image]

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

- http://www.stand318.com
Posted By: Alien Re: Private Messages 3.5b - 09/26/2000 8:12 PM
Excellent work on this. [Linked Image]

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. [Linked Image]

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: AllenAyres Re: Private Messages 3.5b - 09/26/2000 10:22 PM
ouch, getting a 500 ise there... I hope we aren't the cause..

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

- http://www.stand318.com
Posted By: SlimCrazy Re: Private Messages 3.5b - 09/27/2000 2:59 AM
ok.. i am having problems big time.. i installed 1.5 and it does the same on 2.0... had the same problems..

Problem: I follow all the directions and everything but on main ubb page ultimate.cgi.. i see the private messaging forum but when i click it .. it goes back to the root domain name.. any thoughts or solutions plz help me[Linked Image]
Posted By: J.C. Re: Private Messages 3.5b - 09/27/2000 4:30 AM
Sounds like you are getting an error, but your system reroutes you back to the page if origin, or index page. Hard to say without an error number. Do you have telnet?

------------------
Posted By: Alien Re: Private Messages 3.5b - 09/27/2000 9:01 AM
Quote
quote:
This is driving me crazy. We must be haunted. No matter how many backups of my entire cgi directory I restore, no loading of Ultimate.cgi will take place since this afternoon without '500' errors.

Approximately 8-9 hours after this hack was installed (and working just fine) this all occurred. If someone can figure out why this is occuring, I will give them free publicity. [Linked Image]

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: AllenAyres Re: Private Messages 3.5b - 09/27/2000 9:08 AM
Aliens...

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

- http://www.stand318.com
Posted By: Alien Re: Private Messages 3.5b - 09/27/2000 9:11 AM
I really need to get this working, I'd appreciate any thoughts you might have about it Allen. [Linked Image]

I've restored a backup from 24 hours ago, a week ago, and even a month ago, and it will not display. In addition to refreshing the entire cgi-bin/* heirarchy, i've completely deleted any signs of the PM mod files, including the private directory, and the pmimages directory. I have no clue to what may be going on.

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: AllenAyres Re: Private Messages 3.5b - 09/27/2000 9:11 AM
Sorry, was just testing a mod to ubb_library2.pl in NS just now... what can I do to help?

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 09/27/2000 9:19 AM
I have noticed your forumdisplay, threads, and postings seems to be working well... and it's just Ultimate.cgi?

Very strange... and you weren't working on anything when it went kaput?

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

- http://www.stand318.com
Posted By: Alien Re: Private Messages 3.5b - 09/27/2000 9:23 AM
Not a thing, I was on an e-mail run on my various accounts, it just started to malfunction completely out of nowhere. I was notified by a bunch of users that it was occuring, so I immediately worked on restoring backups with the mod not installed.

No luck. Now been 12 hours, and I still can't find anything out of place anywhere via Telnet or FTP.

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: AllenAyres Re: Private Messages 3.5b - 09/27/2000 9:50 AM
try copying your ubbcgi files to another directory and update paths...

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

- http://www.stand318.com
Posted By: Alien Re: Private Messages 3.5b - 09/27/2000 12:00 PM
Okay, I got everything under control finally, thanks to a small brainstorming sessions with ukliam. [Linked Image]

Not to mention some pointers "perl -w" gave me too!

Their was some conflicting code in my Ultimate.cgi that never showed it's ugly head previously. It was somehow tied to the "Accurate Posts Mod", which is pretty dated by now (but still works for the most part).

It's pretty odd that it all happened yesterday while everything was running fine for 8 hours. I still think we're haunted.

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: SlimCrazy Re: Private Messages 3.5b - 09/27/2000 1:05 PM
Quote
quote:
i dont have telnet but.. i dont get an error cuz.. when i hover over the private messaging link to go into it.. it says my root address not the www.yoursite.com/cgi-bin/privateview.cgi stuff .. just www.yoursite.com
Posted By: J.C. Re: Private Messages 3.5b - 09/27/2000 9:47 PM
check your code in the ultimate.cgi page.
Make sure you have $CGIURL/privateview.cgi

You may have lost a part of it..

Best thing to do is go thru the install step by step.

------------------
Posted By: Alien Re: Private Messages 3.5b - 09/28/2000 2:45 AM
Quote
quote:
Can anyone help me out with this? I'd really like the icons to display properly as soon as possible.

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi

This message has been edited by Alien on September 29, 2000 at 06:21 PM
Posted By: SlimCrazy Re: Private Messages 3.5b - 09/28/2000 3:21 AM
Quote
quote:
where would i put that "$CGIURL/privateview.cgi" cuz i dont see it in ultimate.cgi, i went through everything 4 times now step by step..[Linked Image]
Posted By: J.C. Re: Private Messages 3.5b - 09/28/2000 3:49 AM
Never answer questions when you're half asleep..

Look for this in your ultimate.cgi setup.

Code
code:

$cgi_url/$viewprivate

Make sure it's correct. In private.cfg it converts it to privateview.cgi here:

Code
code:

Hope this helps..

Not having telnet will be a pain, escpecially when you need to track errors..
But you should be able to work it out without it.



------------------
Cyber-Poetry.com
UBB Layout Designer/Installer/Affiliate
Posted By: NBAustin Re: Private Messages 3.5b - 09/30/2000 12:12 AM
How come the username & password still show up in the url box when running privateread.cgi?

I thought this was fixed.

I'm running 5.39 if that makes a difference....
Posted By: NBAustin Re: Private Messages 3.5b - 09/30/2000 12:16 AM
And privatedelete comes up blank, then I got this....

CGI ERROR
==========================================
Error Message : error in delete_records. unable to open db file:

I went back and refreshed the privateview, and the message was deleted. Privatedelete.cgi didn't redirect me back to privateview.

This message has been edited by NBAustin on September 29, 2000 at 05:23 PM
Posted By: Alien Re: Private Messages 3.5b - 09/30/2000 1:21 AM
*bump*. [Linked Image]

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: Kaelon Re: Private Messages 3.5b - 09/30/2000 2:46 AM
The Cookie is writing UserName information improperly. It retains the + sign in multi-named usernames (e.g., 'Abc 123' is recorded as 'Abc+123') and this presents a major problem when users are going to post notes (the cookie is returned as an invalid UserName). How can this be fixed?

Please fix this ASAP!!

Kaelon
Posted By: Kaelon Re: Private Messages 3.5b - 09/30/2000 2:51 AM
Likewise, it should be mentioned that there is no expiration date on the cookie, or no 'logout' mechanism. Consequently, one person is constantly stuck using the same cookie over and over again until they manually delete it.

Kaelon
Posted By: NBAustin Re: Private Messages 3.5b - 09/30/2000 3:13 AM
Bumparoo... [Linked Image]
Posted By: Kaelon Re: Private Messages 3.5b - 09/30/2000 3:45 AM
Does anyone have the files and/or links to Private Messages 1.5c ? This version's cookie errors definitely cripple the utility of the UBB. Unless if there's something I'm desperately doing wrong.

In the future, it would make more sense not to eliminate previous versions of the hack in the database in favor of newer betas.

Just a thought.

Kaelon
Posted By: Kaelon Re: Private Messages 3.5b - 09/30/2000 5:09 AM
Anyone? [Linked Image] Please?? I just need a working link to version 1.5c of CYMPM...

Thanks!

Kaelon
Posted By: J.C. Re: Private Messages 3.5b - 09/30/2000 5:43 AM
https://www.ubbdev.com/db/Forum8/HTML/000013.html

------------------
Cyber-Poetry.com
UBB Layout Designer/Affiliate
Posted By: NBAustin Re: Private Messages 3.5b - 09/30/2000 5:47 AM
Anyone else having privatedelete come up blank?
Posted By: J.C. Re: Private Messages 3.5b - 09/30/2000 6:10 AM
What browser?

------------------
Cyber-Poetry.com
UBB Layout Designer/Affiliate
Posted By: NBAustin Re: Private Messages 3.5b - 09/30/2000 6:28 AM
Ie 5.5
Posted By: DMan Re: Private Messages 3.5b - 09/30/2000 7:12 PM
Yep - I'm having the same problem with deleting. Running 5.46 on IIS,
installed and everything ran peachy first time except that. Tested this with IE5.0 and 5.5 - same problem.
All that appears as the source for 'white page' I'm left with is
the standard page headers/footers:






Can anyone help with this ??? I thought it was just me until I read the post above about this.... ?

This message has been edited by DMan on September 30, 2000 at 12:17 PM
Posted By: J.C. Re: Private Messages 3.5b - 10/01/2000 12:48 AM
First, Telnet comes with Windows95/98(tm)
But your server may not allow it.

Second, I think it might be time for some of
you to have a test UBB, loaded with a fresh
UN-Hacked copy of your UBB (On the same
server if you don't have room, sorry your
license only allows for it to be on one
server only). then add only PM, if it works
your prob could be the result of a different
hack, and it didn't show until now..

Yeah it's a pain..


Yo Allen, would it be possible to
have two downloads. One for Unix/Linux,
and one for NT/Win32? already set etc..

Finally, the blank pages have me
stumped. For some reason the PM is
misfiring. Just for arguments sake
were you trying to delete something
or just clicking delete?

By the way, I installed this and it worked
fine. BUT I still use 1.5c on my active UBB.
I tried it on my test board only.

------------------
Cyber-Poetry.com
UBB Layout Designer/Affiliate

This message has been edited by C_P on September 30, 2000 at 05:57 PM
Posted By: NBAustin Re: Private Messages 3.5b - 10/01/2000 1:31 AM
C_P,

The problem lies in the redirect code.

I suspect it has to do with IIS.
Posted By: J.C. Re: Private Messages 3.5b - 10/01/2000 1:51 AM
I knew there was a reason I stay on a unix box..LOL

------------------
Cyber-Poetry.com
UBB Layout Designer/Affiliate
Posted By: DMan Re: Private Messages 3.5b - 10/01/2000 9:07 AM
Quote
quote:
Indeed - that got me thinking. Whats the biggest difference with IIS ....
Well, I solved my problem. I'm by no means that good in Perl so I didn't look to change the redirect code. Instead I looked at the compatibility issue & checked to ensure IIS was executing scripts with "Perl.exe %s %s" and not ActivePerl's "PerlS.dll" ....

That seems to have cleared up the 'blank page after deleting a post after reading it' problem... [Linked Image]
Posted By: NBAustin Re: Private Messages 3.5b - 10/01/2000 7:44 PM
DMan,

I don't know if my host will make those changes to their IIS setup.

Can someone post a fix so changes to IIS aren't necessary?

Please?
Posted By: NBAustin Re: Private Messages 3.5b - 10/02/2000 4:05 AM
I don't understand why the other PM cgis execute and redirect and privatedelete.cgi wont come up and then redirect back to privateview.cgi and clear the checked items.

Anyone have a code fix for this? It's really annoying.

This message has been edited by NBAustin on October 01, 2000 at 09:08 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/02/2000 10:06 AM
we run the pm's here on IIS5, tho I do have cgi mapped to perl % etc... and not perldll.whatever... (don't have the server pulled up right now...)

I am gonna experiment with a different code to remove the + from where spaces are supposed to be, basically cabbaging it from the cookie routine in the who's online hack... if someone else wants to give it a shot, we'll compare results..

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 10/02/2000 10:08 AM
uno mas, the cookies are written to expire in the sub added at the bottom of private.pl, check it out...

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 10/02/2000 10:26 AM
OK... I am using the code discussed above, if anyone else wants to give it a shot, replace this at the bottom of private.pl:

$cookie{$_} =~ s/ /+/g; #convert plus to space.

with this:

$cookie{$_} =~ s/+/ /g; #convert plus to space.

it seems to be working ok, I tested with 2 different users names with spaces in them and did not have any problems... if you guys want to try it out and it works, I'll add it to the download...


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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/02/2000 4:12 PM
Clamsy posted a fix for the delete bug here and it's works perfectly.
https://www.ubbdev.com/ubb/Forum2/HTML/001350.html

This message has been edited by NBAustin on October 02, 2000 at 05:30 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/02/2000 9:14 PM
the above was to fix the + sign being used in place of the space in usernames that had a space...

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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/03/2000 12:26 AM
I just noticed that smilies get stripped out and html left in it's place in replies. The same prolly holds true for forwards.
Posted By: Alien Re: Private Messages 3.5b - 10/03/2000 2:54 AM
I have the same problem with smilies.

Only html code shows all the time.

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: AllenAyres Re: Private Messages 3.5b - 10/03/2000 7:44 AM
yes, there's still plenty of work to be done...[Linked Image]

I did update the download with the fix by clamsy and the fix for the + in usernames... still ain't gonna call it a 2.0a until we get the html fixed... tho it may not be "fixable"...


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

- http://www.stand318.com
Posted By: SherwoodR Re: Private Messages 3.5b - 10/03/2000 7:27 PM
I install the hack and all looks fine.. but when i go to post a regular ubb message to the board it will not right data to the HTML file. This was the only hack I installed and I followed the directions to the T?

What can be wrong?

------------------
~~~~~~~~~~~~~~~~~~
SherwoodR
Hack it till it
looks good!
~~~~~~~~~~~~~~~~~~
Posted By: AllenAyres Re: Private Messages 3.5b - 10/03/2000 7:33 PM
this should have nothing to do with that... do you have a link and a test acct for me to look at it?

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

- http://www.stand318.com
Posted By: SherwoodR Re: Private Messages 3.5b - 10/03/2000 7:39 PM
no because I uninstalled it reset the forums and went back to plain jane... 8^(

I can reinstall it and set it up again so you can look at it. But there is alot more to this problem I think. Seams to do this no matter what hacks I add. At one point I added all kinds of hacks to the plain setup then added the header and footer information and it quit working

------------------
~~~~~~~~~~~~~~~~~~
SherwoodR
Hack it till it
looks good!
~~~~~~~~~~~~~~~~~~
Posted By: SherwoodR Re: Private Messages 3.5b - 10/03/2000 7:51 PM
duh but i do have a board up that i was chopping on that you can try out.

With hacks and cutom layout but no worky:
http://www.wysk.com/cgi-bin/ubb/Ultimate.cgi

without hacks. has custom layout and works:
http://www.wysk.com/cgi-bin/ytalk/Ultimate.cgi

sign up and try it maybe you can see what is going on. The PM works on the first but you can't post a regular UBB message... I will post this to another thread to... Do you have a suggestion on the best one?

TIA

------------------
~~~~~~~~~~~~~~~~~~
SherwoodR
Hack it till it
looks good!
~~~~~~~~~~~~~~~~~~

This message has been edited by SherwoodR on October 03, 2000 at 12:53 PM
Posted By: stupidboy.com Re: Private Messages 3.5b - 10/05/2000 4:46 PM
I've read nearly this entire topic from front to back in hopes that I wouldn't be considered a redundant prick-monster. Anyway... would anyone be so kind as to give me an idea as to what would change between 1.5c and 2.0? The reason I'm asking is because upon starting the upgrade to 5.46 I installed my hacks, er, mods in the following order. (the number denotes the cat number for the mod)

0001 Welcome Newest Member COMPLETED
0002 Total Accurate Posts COMPLETED
0003 CYMPM COMPLETED
0004 Previous/ Next in Forum COMPLETED
0005 blind edit /no CAPS COMPLETED
0006 ForumDisplay Add On COMPLETED
0007 Active 30 Topics COMPLETED
0008 Custom Layout / IP COMPLETED
0009 Anchor in Threads COMPLETED
0010 Last User Name to Post COMPLETED
0011 Log-in / Log-out COMPLETED
0012 SSI MEMBER / News COMPLETED

So, if anyone could let me know if there is a quick fix to upgrade from 1.5c to 2.0, I'd be eternally grateful.

------------------
ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.

This message has been edited by stupidboy.com on October 05, 2000 at 09:48 AM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/05/2000 6:30 PM
If you have already installed v1.5, just upload the .cgi .pl and .cfg files from this download. There's no difference in the coding of getting it to work with your ubb for it to work. It's just changes to the files that come with the mod. Make sure you upload in ascii and set permissions on the files to 755.

SherwoodR, did you find out what your problem was? It shouldn't be anything to do with this mod..

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

- http://www.stand318.com
Posted By: Thradar Re: Private Messages 3.5b - 10/07/2000 8:10 AM
Just installed the PM hack and everything worked the first time. BUT, as someone else mentioned, I'm having problems with the cookies (I think). If I go to preferences and tell UBB to clear all cookies, it clears all the new thread type cookies, but it shows me still logged on as that user in the PM readout and Who's Online readout on the main forum page. Help! I installed the most recent version and read thru this whole thread.

------------------
Neal 'Thradar' Ulen
Webmaster www.gamerforums.net
Posted By: AllenAyres Re: Private Messages 3.5b - 10/07/2000 10:45 PM
Is it possible the pm's and the who's online set different cookies from the ones ubb sets? This may explain why ubb doesn't delete them in preferences...

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

- http://www.stand318.com
Posted By: Longshot Re: Private Messages 3.5b - 10/10/2000 1:46 AM
Okay.. I have a question, is there any way to make it so banned users can no longer use PM's? I would just delete the account or shut them off or sumthin, but most dudes tend to have like 32 accounts.

Thanx... fabulous work btw [Linked Image]

------------------
-Longshot
Posted By: AllenAyres Re: Private Messages 3.5b - 10/10/2000 7:11 PM
Thanks longshot... that is something being considered for the next version...

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

- http://www.stand318.com
Posted By: Ell Re: Private Messages 3.5b - 10/11/2000 9:57 PM
Hey all! I whipped up a few improvements for the CYMPM 2.0 .... here they are!

They:

- Prevent IP-banned users and user who've had posting rights disabled from SENDING PMs.

- Add the option to filter out SCRIPT OBJECT and EMBED tags from sent messages, that could potentially be used to hack your cookies, steal your password, and bring forth the four horsemen. Bad.

If you like it, please show your appreciation by NOT throwing rotten vegetables if you pass me in the street. [Linked Image]
Posted By: jlaine Re: Private Messages 3.5b - 10/11/2000 10:08 PM
Quote
quote:
We went through this at my site also. It proved effective to clear all your cookies manually- then the next time you log in the correct cookie seems to be stored that time around. I had the issue myself- after I deleted all my cookies and tried it again- everything was functional.


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/11/2000 10:14 PM
muchas gracias borg!

I added it to the files here to test... if no problems, then I'll put them in the download.

Anyone want to be banned...."just for testing purposes"? [Linked Image]

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

- http://www.stand318.com
Posted By: jlaine Re: Private Messages 3.5b - 10/11/2000 10:46 PM
Quote
quote:
LOL... I already tested it Allen-- Fully functional! [Linked Image]


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/12/2000 4:39 AM
Not working too well for Jigga-Master, he can't send pm's here and it tells him his posting privledges were removed, tho he is still posting in the forums...

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

- http://www.stand318.com
Posted By: jlaine Re: Private Messages 3.5b - 10/12/2000 3:28 PM
Quote
quote:
I am misunderstanding how he can be posting while blocked- even with the inclusion of this hack. The subroutine for IP blocking wasn't altered for the posting section of the UBB- only the PM cgi's were changed. How could this in effect still allow him to post even if banned?
The IP banning shouldn't have to look toward the private messages .cgi at any time- it is vice versa- which would lead to say that there is a issue elsewhere?
Forgive me if my logic is flawed- but I am missing how the addition of the IP banning routine in the private messages is somehow messing up the IP banning for the forums- I would think the error would be elsewhere?


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Darkki Re: Private Messages 3.5b - 10/12/2000 5:23 PM
I have pretty hard problem. Installed version 2.0 and everything else works fine, except sending a post. When sending it gives me white screen were read:

CGI ERROR
==========================================
Script Location : privatesend.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
MsgIcon : 1
action : send
message : adsf
etc.

And I have installed this two times now and tried to check code many times that it would be correct. If I set some anonymous username to receiver and try to send a post, it gives white normal html pages were is "Contact Us | Scifi- ja Fantasiakirjat" and Infopopup logon.

Can anyone help me out?

Pages are: http://darkki.neutech.fi/bboard/Ultimate.cgi

-Darkki-
Posted By: Darkki Re: Private Messages 3.5b - 10/12/2000 5:25 PM
Link went little wrong..

http://darkki.neutech.fi/bboard/cgi-bin/Ultimate.cgi
Posted By: icEFusioN Re: Private Messages 3.5b - 10/12/2000 11:56 PM
I'm getting the same error as Darkki... [Linked Image]

(Using 5.47)

This message has been edited by icEFusioN on October 12, 2000 at 04:59 PM
Posted By: mediaone Re: Private Messages 3.5b - 10/13/2000 4:04 PM
in the privatesend.cgi PM20_update mods change

if ($fromprofile[8] =~ m/Write/) {

to

if ($fromprofile[4] =~ m/Write/) {
Posted By: AllenAyres Re: Private Messages 3.5b - 10/13/2000 5:35 PM
OK, finally looking at the profile fields. I would imagine it checks to see if you are allowed posting privledges, which would be profile field 4, thanks mediaone!

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

- http://www.stand318.com
Posted By: mediaone Re: Private Messages 3.5b - 10/13/2000 6:02 PM
no probs, glad to help.
Posted By: Ell Re: Private Messages 3.5b - 10/13/2000 8:46 PM
Oops. shocked Got my actual status and posting status fields swapped again. Sorry. That's what I get for hours of playing with the MegaMod script. [Linked Image] I'll update my link too.

Allen, is it okay if I start work on the "instant message" type-thing someone talked about earlier? Specifically, I was thinking of changing my "I'm online!" script (the one that displays a lightbulb next to a persons name to show that they are currently on/offline as you read any posts they've made) [/END PLUG] so that if you click on it, it'll bring up a box where you can enter an "instant message" (delivered by way of the CYMPM) that'll popup to the desired user whenever they're presented with a "thanks for posting!" screen or something... just want to check that I'm not starting work on something you've got going...

This message has been edited by borg_5x8 on October 13, 2000 at 01:48 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/13/2000 9:28 PM
That sounds real good borg... and something we would like to install here, most likely...

If you can look at it as well, can you check to see why the cympm doesn't display ubbcode like it should in replies(links, smilies, etc). Thanks.

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

- http://www.stand318.com
Posted By: Alien Re: Private Messages 3.5b - 10/13/2000 10:04 PM
Yes! Like, fix that, or something! [Linked Image]

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: Ell Re: Private Messages 3.5b - 10/14/2000 3:56 PM
Done. [Linked Image]
Manual changes list

will sort out the HTML, UBBCode and smilie handling properley. It even restores the smilie codes in a reply/forward dialog if you have MasterMinds' CPSmilies mod!

For the lazy , this file is the adjusted privatesend.cgi file, with both this and the security updates installed (note that you will still have to edit your private.cfg file if you haven't already done so; see here for the details on what you have to add).

For the interested, it scraps whatever the previous code was trying to do, and now parses messages to be sent in this manner:


[*]IF (HTML NOT ALLOWED) MAKE < and > redundant

[*]APPEND Sig

[*]PROCESS Smilies

[*]IF (UBB ALLOWED) PROCESS UBBCode

[*]IF (IMG ALLOWED) PROCESS IMG (done within UBBCode check)

[*]PROCESS newlines

[*]PROCESS pipes

I'm gonna start work on the Instant-Message idea... any other suggestions for improvements?


This message has been edited by borg_5x8 on October 14, 2000 at 09:05 AM
Posted By: Greg Hard Re: Private Messages 3.5b - 10/14/2000 4:56 PM
Good job on that code borg, works like a charm.

Cant wait for the IM idea.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: Alien X Re: Private Messages 3.5b - 10/14/2000 5:01 PM
I'm having a little problem. Well i did the mod and everything.. it works and all BUT i can't see my forums
Posted By: CTH Re: Private Messages 3.5b - 10/14/2000 5:10 PM
borg,

Yer a genious mate !! That has to be the only PM problem that had ever got on my nerves lol and yer fix is working perfectly [Linked Image]

I do have one suggestion though...How about integrating the spellchecker ya get with v5.47 into the PM's ????

TotalNewbie
Posted By: Ell Re: Private Messages 3.5b - 10/14/2000 9:23 PM
Alien X.. do you mean the modifications I've written, or the CYMPM 2.0 in general?

Ps. Are we officially past 2.0 yet? 2.2 maybe?
Posted By: Greg Hard Re: Private Messages 3.5b - 10/15/2000 12:08 AM
2.2 sounds good. Enhance it more borg, and you can call it 3.0!

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: Greg Hard Re: Private Messages 3.5b - 10/15/2000 12:12 AM
you should add an exit(0); to the bottom of ever PM file except private.cfg to comply with safeperl. [Linked Image]

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: Ell Re: Private Messages 3.5b - 10/15/2000 1:03 AM
Allen and cal probably just want to live dangerously. "Safe Perl"?? Bah! [Linked Image]
Posted By: NBAustin Re: Private Messages 3.5b - 10/15/2000 8:29 AM
UBB Code Buttons, Advanced Font Properties and Preview would be EXCELLENT additions to PM.

Possible?

Also, I think a break or paragraph break should be automatically added after replies so the text isn't resting on the "Original Message" text.

This message has been edited by NBAustin on October 15, 2000 at 01:44 AM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/15/2000 9:59 AM
I updated the download with the new changes... thanks borg_5x8. To get the changes, just upload the newer .cgi/ .pl files...


The best way to upgrade this would be to begin writing it in strict -w -T, that way it would work with v6 and previous versions of ubb as well... we're just around the corner...

a couple of changes everyone has been clamoring for:

- a way to limit the number of pm's or the length of time (days) a pm can be stored... for those who keeps hundreds for months on end, using up the disk space...

- related, have the outbox set to not save any by default, then let the user select to save if they desire. Most people do not even know they have an outbox.

- a cc: box to send to more than one person

- a "select all" button, to delete all.

- a way to send to an email address

- here's a cool suggestion by C_P:
Another suggestion for the new version of PM, would be a way to fwd our messages to ourselves via sendmail..
This could be neat too if there was an admin function to do this.

Example: The Private dir is loaded with old messages. The admin could fwd all of them to their owners via email, then clean the dir. They could do this maybe monthly, perhaps via a crontab. Larger sites could have sections that were sent at different times.

- The auto delete function would definitely be a cool / much needed idea...

ANy/ all of these would make for a great v3!

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

- http://www.stand318.com
Posted By: Parker Clack Re: Private Messages 3.5b - 10/15/2000 2:27 PM
Since both the main script and the private messages use the same cookie library should you set your cookies in the control panel to be set broadly or directory specific? I have found that if someone sends me a private message and I read it my regular cookie gets reset. This doesn't happen all the time and the cookies that I have set for the main forum seem to reset themselves every other day. I have the cookies set directory specific and two cookies are written. One for the cgi-bin and one for the domain name. Would these conflict with one another? Should I set the cookies in the control panel to broadly or directory specific?

Thanks,
Parker

This message has been edited by Parker Clack on October 15, 2000 at 07:28 AM
Posted By: Parker Clack Re: Private Messages 3.5b - 10/15/2000 2:43 PM
One thing that I did that is kind of cool is add a pop up window to let you know you have a private message waiting if you use Netscape or puts the private message in an iframe if you use IE.

In Ultimate.cgi look for:

if ($privcount[0] == $privcount[1]){
if ($privcount[0] == 0) {
$pmdesc = "You have 0 private messages.";
}
if ($privcount[0] != 0) {
$pmdesc = "You have $privcount[0] new private message$ptadd.";


change this to:

if ($privcount[0] == $privcount[1]){
if ($privcount[0] == 0) {
$pmdesc = "You have 0 private messages.";
}
if ($privcount[0] != 0) {
$pmdesc = "You have $privcount[0] new private message$ptadd.";
$frameinfo = qq(
Click here if you want to close the Private Messages Box.
You will need to delete your private messages first.
);
$privatepopup = qq( );
} else {
$privatepopup = "";
}}
}

then look for:

print<
and right below this add

$privatepopup

or wherever on your Ultimate.cgi page that you would like it. I put it at the top so the members can see it as they log on.

In addition you will need to put your message that you want to say for your popup with Netscape users in a file called instantprivate.html and put this in your ubb directory and change the yoururl.com path to your ubb directory.

Parker

This message has been edited by Parker Clack on October 15, 2000 at 07:47 AM
Posted By: Ell Re: Private Messages 3.5b - 10/15/2000 5:29 PM
LOL, Nice topic title. [Linked Image]

I just wrote all the changes you suggested Allen, and I'm gonna use what little time I ahve left to test them; when I run out of time, I'll post the files here for anyone to look through if they want.
Posted By: jlaine Re: Private Messages 3.5b - 10/17/2000 8:13 PM
The Privatesend.cgi seems to be in binary mode- is there a link where I can get the file in ASCII? Or is it just me?

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/17/2000 8:24 PM
waiting patiently on borg...[Linked Image]

jlaine, the file in the database has been updated with the latest versions..

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

- http://www.stand318.com
Posted By: jlaine Re: Private Messages 3.5b - 10/17/2000 9:01 PM
Quote
quote:
Yes- that is where I got the files from- the privatesend.cgi seems to be in a binary mode though. I will redownload the zip and check again....... [Linked Image]



------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: jlaine Re: Private Messages 3.5b - 10/17/2000 9:03 PM
No.. it is in binary at this end, quite a mess....

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Outlaw Re: Private Messages 3.5b - 10/17/2000 9:41 PM
Please clarify this forme. What is the correct and latest PM Version??? 2.0 or 2.2/x ???
Posted By: AllenAyres Re: Private Messages 3.5b - 10/17/2000 9:41 PM
OK, download updated with an ascii privatesend.cgi... sorry.

If you already have this installed, just upload the .cgi, .pl, and .cfg files to update... https://www.ubbdev.com/db/cgi/ubbcount.cgi?expath1=Forum8&expath2=&topic=000016&type=&number=8

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

- http://www.stand318.com
Posted By: jlaine Re: Private Messages 3.5b - 10/17/2000 10:15 PM
Quote
quote:
I am starting to wonder if it isn't me.... But I am still viewing privatesend.cgi in binary. Is anyone else getting this error?
I added the updates manually- so the point is moot- but anyone installing this the first time may not have such a luxury...
I am assuming you did it correctly- so I don't know why I am viewing it in binary... [Linked Image] Ho hum...


------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Greg Hard Re: Private Messages 3.5b - 10/17/2000 11:18 PM
privatesend.cgi is also in binary for me.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: AllenAyres Re: Private Messages 3.5b - 10/18/2000 1:19 AM
I am not sure what/ how you guys are getting that, I have downloaded it several times and still do not get it in binary.

Anyways, I did go through and rename the versions on each file to 2.2 and fixed one bug that has been haunting this since the beginning. Most of the files have perl paths of
#!/usr/bin/perl
but 3 of the files - private.cfg, privatesend.cgi, and one other I don't remember, had perl paths of
#!/usr/local/bin/perl
no big deal if you are on NT, but definitely a problem if you run your site on something else. cal mentioned this before, but I didn't realize a few were still like that. I set all cgi, pl, cfg files to #!/usr/bin/perl, which should cut down greatly on the 500 ISE error questions we keep getting about this.

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

- http://www.stand318.com
Posted By: jlaine Re: Private Messages 3.5b - 10/18/2000 1:30 PM
Quote
quote:
Ahh at least it isn't just me then! [Linked Image]



------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: Ell Re: Private Messages 3.5b - 10/18/2000 9:08 PM
Update- done everything for V3.0, but I think I'm gonna have to re-write the delete routines [Linked Image] due to the "check all boxes" change. Also, I still can't get it to actually send emails, but everything else works great. Additional features:

(not many)
- Simple cypher-encryption when embedding the users password in the HTML code- plain text passwords are *always* a bad idea! Must update my UBB for that some day...

Anything else you'd like to see added as a feature? I could do with some help fixing these bugs too (where fore art thou, cal? [Linked Image])


Soooooon....
Posted By: Greg Hard Re: Private Messages 3.5b - 10/18/2000 10:11 PM
UBB Code Buttons for PM's.
Show signature prechecked for PM's.
There seems to be a bug, when my users have their sig in the sent PM, the person he/she sent it to has a line of the sig in the date sent or whatever.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: AllenAyres Re: Private Messages 3.5b - 10/18/2000 11:15 PM
Sounds great borg... an auto expire, or limit (either in message # or or database size) is really needed... tho I think you had said you were already working on that...

ubbcodebuttons would be nice, but not extremely necessary, specially for something with such limited uses... I think a pre-checked sig box would be easy... something like the sig hack 1.5 should do it...

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

- http://www.stand318.com
Posted By: J.C. Re: Private Messages 3.5b - 10/18/2000 11:43 PM
borg_5x8,

What about a drop box like in the forumdisplay to "hopto" other forums in the ubb? That updates as you add or remove em?


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


This message has been edited by C_P on October 18, 2000 at 04:50 PM
Posted By: Longshot Re: Private Messages 3.5b - 10/19/2000 2:52 AM
Hey, I found a bug with the PM's, everything works beautifully, until I pm one of our members. His username "DB Fan no. 2171986323 1/2" seems to be f00king up the PM's because I get a page that returns all this server information, and junk.

I can recreate the error window if necessary, it does it anytime I PM him, but no one else.. [Linked Image]



------------------
-Longshot
Posted By: Vipermad Re: Private Messages 3.5b - 10/19/2000 3:12 AM
Hopefully a known bug that is getting attention. It is the / character that is messing it up. PM is still putting APO for the ' character too. Many thanks for all the work, it is appreciated!!!
Posted By: Pilot Re: Private Messages 3.5b - 10/19/2000 11:00 AM
I had dozens of users with corrupt cookies!

The + sign problem....really severe!

(Why are you updating the cookie anyway?)

To convert a "binary" file to ASCII - simply upload it to your FTP server as BINARY and download it again as ASCII - (edit as required) then upload once more as ASCII.

----

Looking forward to V3. Great feature...
Posted By: Ell Re: Private Messages 3.5b - 10/19/2000 7:04 PM
Mastermind- dounds like the classic signs of a pipe in the sig... I'm not sure if the script checks for that... I'll add it in.

Prechecked sig? NOT a problem. Codebuttons are 2-clicks away too....
Allen, I'm MAJORLY overhauling the Auto-delete thing, so that admins can choose by date or to limit the number of posts... the choice is soo much better.

C_P: Also easily done.

This message has been edited by borg_5x8 on October 19, 2000 at 12:09 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/19/2000 8:31 PM
OK, my second child shall be named borg!

Do you mind if the 5x8 is his/ her middle name?

Pilot, have you used the latest version? It should be correcting that + sign... let me know if it doesn't.

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

- http://www.stand318.com
Posted By: Pilot Re: Private Messages 3.5b - 10/19/2000 10:37 PM
Yes, I have 2.2 in now - works fine.

I have one (new) request - a feature to allow admin ids to look at other user's mailboxes.

I know it sounds intrusive but sometimes people complain about abuse etc and it would be nice to see what's being said. OK I can browse the files but that is a bit crude.
Posted By: Greg Hard Re: Private Messages 3.5b - 10/20/2000 1:52 AM
I agree. Not to but in or anything, but that'd be cool.
Borg, you rule even out of Planet Community!

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: Ell Re: Private Messages 3.5b - 10/20/2000 11:04 AM
Invasive? Tell that to the Admins who have "display PW in CP" modifications installed...

Okay, will think on how to add.

MasterMind: I'm seriously blushing now! How do you know me from Planetco? You are friends with M_E_W right?

MasterMind, C_P and Allen; at the end of today, college breaks up for a week-long vacation, so I'll be back and working furiously on this tonight.. do any of you three want a copy of what I've done so far to see if someone can please save me from totally re-doing privatedelete.cgi? :bambi-eyes:
Posted By: AllenAyres Re: Private Messages 3.5b - 10/20/2000 5:42 PM
we can bug test it here, if ya want... I am sure the members would love to beta test it...

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 10/20/2000 8:30 PM
borg, please e-mail me a copy at [email protected]. Yes, i am friends with M_E_W. I also did some work for antig awhile back, and i love the work you do their.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: Ell Re: Private Messages 3.5b - 10/20/2000 11:23 PM
It runs the risk of totally wiping all your old PMs tho... hang on, I'll be back and working in about an hour, hopefully get something working out tonight (it's 10:30pm here in the UK).

MasterMind- that's ironic, coz I love what you guys have done with this place! PLEASE! If you know anyone who can think up a decent colour scheme to replace the one we have at PlanetCo (*shudder*) send 'em over immediately!
Posted By: Alien X Re: Private Messages 3.5b - 10/21/2000 4:25 AM
Um.. borg u were saying that u didn't really get the e-mail thing to work.. well it works fine for me, sends me an e-mail everytime i get a PM
Posted By: Joe Re: Private Messages 3.5b - 10/21/2000 8:18 AM
Okay have to say that the 2.2 version was at least better on the html than previous versions I used.

But am still getting a mess on PM error pages. Beginning html tags and the headers aren't printed at all.. And might recommend using the zero spacing attributes for the body tag since these are standard on the UBB. has any of that been fixed? Or is this "just me" situation? [Linked Image]

And suggestion for Allen, how about updating the index here... forum summary reads 2.0 but topic reads 2.3... Might confuse some no?

This message has been edited by Joe on October 21, 2000 at 01:39 PM
Posted By: Ell Re: Private Messages 3.5b - 10/21/2000 3:50 PM
No, Alien X, I meant something different... the ability to send a PM to someone by adding "mailto:[email protected]" into the To: box (which can accept multiple recipients now, BTW)

This message has been edited by borg_5x8 on October 21, 2000 at 09:22 AM
Posted By: Ell Re: Private Messages 3.5b - 10/21/2000 8:48 PM
Woohoo! V3.0 beta is out! Please forward any bugs/problems to me, but don't expect any actual support until the final release (when I add a few more features)

Instructions for Beta-Testers:
Get this file , drag-n-drop the other files over your old scripts (update private.cfg as you need) and drop the 2 images in your noncgi/pmimages directory (or wherever the other PM images are)

Features since the last version:
- Auto-Support for UBB Code Buttons (v3)
- "Check all" and "uncheck all" delete options
- Outbox disabled by default for new users
- Ability to send to more than one recipient
- Ability to send to email addresses
- Administrators can set the number of messages before a warning message is displayed, and the number of messages before auto-delete kicks in
- Admins can choose to enable Sig pre-checking or not.
- Forum hopto box (not sure if it displays 100% correctly) (suggested by C_P)

Bugs fixed:
- Illegal pipe checking on signiature (fixed I think) - Problem discovered by MasterMind

Known Bugs:
- I don't know what the whole problem with the /s and +s was that everyone's been talkign about, but if a solution's been reached, please tell me!
- Others unknown. It's beta!

Planned features:
- Basic encryption of (I didn't get around to it)
- Add a check so it disallows sending of email via PMs if your admin doesn't want it (yeah, I'm too lazy to change it right now) [Linked Image]
- "You've got mail!" sound option
- Convergence with my "I'm online!" hack for UBB instant-messaging
- Option to autodelete old PMs (rather than by number of PMs)
- Admin PM box browsing features
- Preview message ?
- Anything else you suggest!


PHEW! Now, I've got all this week to work on the Vinkulum and any other big projects anyone suggests... [Linked Image]
Posted By: Ell Re: Private Messages 3.5b - 10/21/2000 8:51 PM
Oh #(*!#*!! I've just realise I worked on an old copy of my files for this.. it doesn't include the security enhancements I suggested! Bah, never mind, I'll put 'em in the next release...
Posted By: Greg Hard Re: Private Messages 3.5b - 10/21/2000 9:32 PM
Not to mention the PM e-mail is from PC.

and find @address
replace it with @address

Other than that, good work.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/22/2000 12:00 AM
somewhere around line 134 in privatedelete.cgi it has "$in(autodelete)" I think it should have "$in{autodelete}"

I changed this and it worked for me.
Posted By: Greg Hard Re: Private Messages 3.5b - 10/22/2000 1:24 AM
Allen, have you updated the file yet so i can change the title, again? [Linked Image]

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: stupidboy.com Re: Private Messages 3.5b - 10/22/2000 2:13 AM
I just installed 5.47 and version 2.0 of cympm whatever it's called mod. Upon refreshing to see the results, I noticed that "favorites" was poof from the Ultimate.cgi file. So, I cried for a while and tried it again. Same results ten or twenty times of starting over.

Then, I tried to install the beta 3.0 version from Borg. Amazingly enough, the favorites returned and I thought everything was grand. I could check messages and change preferences, but damn... when I tried to send one I get an internal server error. first it was the "@" in the instructions that made it choke. After fixing that, the error I'm getting is as follows:

Undefined subroutine &main::UBBCodeButtonsHead called at /usr/www/domains/haplesswonder.com/cgi-bin/ubb/privatesend.cgi line 444.

Here's what line 444 contains:
$UBBCodeButtonsHead = &UBBCodeButtonsHead("new");

Does anyone have any ideas?

here's the board: http://www.haplesswonder.com/cgi-bin/ubb/Ultimate.cgi

------------------
ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.
Posted By: Yamaha Raptor Re: Private Messages 3.5b - 10/22/2000 2:31 AM
well i tried this and this is the error i got from my server.


In string, @address now must be written as @address at privatesend.cgi line 447, near "$TextSize>Send To: One name per lineEmail in the form mailto:email@address"
Execution of privatesend.cgi aborted due to compilation errors.
In string, @address now must be written as @address at privatesend.cgi line 447, near "$TextSize>Send To: One name per lineEmail in the form mailto:email@address"
Execution of privatesend.cgi aborted due to compilation errors.



------------------
http://clankiller.virtualave.net/cgi-bin/Ultimate.cgi?action=intro

Posted By: Sinko Re: Private Messages 3.5b - 10/22/2000 2:39 AM
Well, I just noticed a few things. First off, my Privatesend.cgi is coming up with the dreaded 500! And also, if you run the UBB on your own personal server, and you don't have a mail server, you can't use that. Do you think we can make it where you don't have to have a mail server? Thanks!
Posted By: Greg Hard Re: Private Messages 3.5b - 10/22/2000 3:37 AM
the two fixes are this:

in privatesend.cgi find:

@address

change it to this:
@address

The delete one is around...

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: AllenAyres Re: Private Messages 3.5b - 10/22/2000 7:12 AM
[Linked Image] I deleted my previous 2 posts due to the errors being ones that I introduced when I accidently deleted a " while editing the pm email message.

So, yeah, the auto-delete function works really well... I had >300 pm's in my outbox/inbox from all the pm's I get here and they all just went "poof"...[Linked Image] The "select all" button works really well too.

I haven't found any bugs yet, other than the 2 mentioned already, and they fix the problems. Good work.

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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/22/2000 9:28 AM
I downloaded the new files and the format is all screwed up.

Editing these would be a pain.

What gives?

This message has been edited by NBAustin on October 22, 2000 at 02:42 AM
Posted By: Ell Re: Private Messages 3.5b - 10/22/2000 11:48 AM
*shock* Only two bugs? shocked that's GOTTA be a first! Go! Find more! [Linked Image]

I'll update for those later today...

NBAustin.. "The format is screwed up" HOW exactly?
Posted By: Muc Re: Private Messages 3.5b - 10/22/2000 11:57 AM
When I installed it, it worked fine for me, except one thing:

Why does it not show the border in privateview etc. ?

Looks terrible, border=1 instead of border=0 brings up these double-borders, could anyone help me ?
Posted By: NBAustin Re: Private Messages 3.5b - 10/22/2000 6:05 PM
Quote
quote:
All the code is on about 4 or 5 lines when i open them in Notepad.
Posted By: zParaduck Re: Private Messages 3.5b - 10/22/2000 6:38 PM
*growls* The PM Send doesn't work in my UBB! The url is http://www.backtobed.com/Ultimate.cgi

The error is:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

Premature end of script headers: /usr/www/users/slipper7//privatesend.cgi


I uplaoded in ASCII and CHMODed to 777..... Any ideas?
Posted By: AllenAyres Re: Private Messages 3.5b - 10/22/2000 6:50 PM
did you make your private directory (all in lower case) and set permissions to 777? Also, check the path to perl on your files, some were set to different paths in the older downloads...

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

- http://www.stand318.com
Posted By: zParaduck Re: Private Messages 3.5b - 10/22/2000 7:33 PM
Yes, path to perl 5 is correct. The private dir is at 777 permissions and is in lowercase.
Posted By: stupidboy.com Re: Private Messages 3.5b - 10/22/2000 8:59 PM
I've got everything installed (Ver 2.0 & 3.0 updates). Everything that I can test seems to be working correctly, save privatesend.cgi. I've fixed the @ issue and now when I click "send" I get returned back a blank html doc. When I run from telnet, I get all the server stats.

Any ideas? http://www.haplesswonder.com/cgi-bin/Ultimate.cgi

------------------
ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.
Posted By: Ell Re: Private Messages 3.5b - 10/22/2000 10:18 PM
Ah, the joys of beta...

Only thing I can solve off the top of my head: muc, the borders around the cells + tables aren't actually borders, they're cellspacing. Add CELLSPACING=2 and see what happens.
Posted By: Ell Re: Private Messages 3.5b - 10/22/2000 10:20 PM
*Does doubletake*

OMG! I only just realised we've got V3 running here at UBBDev.com! [Linked Image] Anyone had any problems here yet?
Posted By: NBAustin Re: Private Messages 3.5b - 10/22/2000 10:25 PM
Can someone reupload the files in the proper format so all the code isn't on 4-5 lines when i open them?

Thanks in advance.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/22/2000 10:35 PM
Quote
quote:
Not yet, tho I haven't tried out all your new features yet (email).

Austin, we are using the same version as you download from this thread...

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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/22/2000 11:44 PM
I'm getting a "no output" error in privatedelete.cgi.

This message has been edited by NBAustin on October 22, 2000 at 05:52 PM
Posted By: zParaduck Re: Private Messages 3.5b - 10/22/2000 11:49 PM
I'm still getting that darn error *see a few posts above*

This is on my BB not the UBB Dev(Which I will add is a great site [Linked Image]
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 12:12 AM
OK....

Also there's a box all by itself on the upper left. ????

This message has been edited by NBAustin on October 22, 2000 at 05:57 PM
Posted By: Jago Re: Private Messages 3.5b - 10/23/2000 12:21 AM
Can you please upload the ubbhack.txt file? It's not included in the zip.
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 12:53 AM
Another problem....

I tried the UBB Code "bold" button and got a runtime error.

I ran debug and it pointed to this:

function AddText(NewCode) {
document.PostTopic.Comments.value+=NewCode
Posted By: AllenAyres Re: Private Messages 3.5b - 10/23/2000 1:14 AM
While this is in progress, I'll post an updated file to the database that will have all the files needed to install it from scratch, plus double check those file you are having problems with Austin.

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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 1:26 AM
Thanks Allen.

I opened the in Wordpad instead, and they come up fine.
I guess they didn't like Notepad at first.

The only problems I have now are:

The privatedelete produces no output

I tried the UBB Code "bold" button and got a runtime error.

I ran debug and it pointed to this:

function AddText(NewCode) {
document.PostTopic.Comments.value+=NewCode


and

There's a check box all by itself on the upper left in privatesend or privatedelete
Posted By: AllenAyres Re: Private Messages 3.5b - 10/23/2000 2:27 AM
I updated the database entry with the latest files... try them and see if it clears up your problems...

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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 3:04 AM
Allen,

privatedelete now works fine, but after sending a PM thru privatesend, a lone checkbox appears above the PM Inbox text on the left.

also,
UBB Code Buttons still have a runtime error:
*********************
Line 79
Error:'document.PostTopic.Comments' is null or not an object
Posted By: angelh66 Re: Private Messages 3.5b - 10/23/2000 3:34 AM
hummm i'm not alone [Linked Image]

The same for me like NBAustin


Quote
quote:
Just a variante i use 2 pages and it's the same

Thanks ... (oups ...
get the bug)



------------------
Newbie From Paris - ckforum.fr.fm
Posted By: AllenAyres Re: Private Messages 3.5b - 10/23/2000 3:57 AM
ok, I get no errors with the code buttons, using all of the functions... test it here and tell me what you get.

the little box in the upper left is the delete check box, just some minor table reworking needed...

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

- http://www.stand318.com
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 4:06 AM
Code buttons work fine here. Checked that earlier.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/23/2000 4:19 AM
Are you using v3.5 of the codebuttons? Upload MM's new ubbcodebuttons.pl file and see if that clears it up...

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

- http://www.stand318.com
Posted By: zParaduck Re: Private Messages 3.5b - 10/23/2000 4:27 AM
Problem: My "privatesend.cgi" returns a blank HTML page when I go to it. I have fixed the @ error by adding a before the @. If I remove the I get a 500 Error >_<

I have reinstalled the hack twice, and double checked my uploading and CMHODing.

Does anyone know how to get it NOT to display a blank HTML page?

My board is at http://www.backtobed.com/Ultimate.cgi

Thanks in advance.

This message has been edited by zParaduck on October 22, 2000 at 09:30 PM
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 4:29 AM
Not using 3.5 Allen.

Can i use that file anyway?
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/23/2000 4:41 AM
zParaduck
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/23/2000 4:42 AM
zParaduck,

in privatesend.cgi, search for @address and change it to @address.
Posted By: Greg Hard Re: Private Messages 3.5b - 10/23/2000 4:43 AM
Ok, i see there are some bugs.

borg and allen, when will this be completed so i can move it to FINISHED mods? [Linked Image]

It works fine on my end, maybe a few changes are needed to make it look better and some new features.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 4:45 AM
Where in the world is UBB Code Buttons 3.5 posted at?

(Is the spellchecker in or out BTW?)
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/23/2000 5:15 AM
Another thing:

In privatesend.cgi, search for


and change to


This message has been edited by Rattler on October 22, 2000 at 10:17 PM
Posted By: zParaduck Re: Private Messages 3.5b - 10/23/2000 12:45 PM
Rattler-

Thanks for your help, but I did both of those (@address and $SigPreCheck), but it still shows a blank page. Anyone know anything else that is wrong?
Posted By: Ell Re: Private Messages 3.5b - 10/23/2000 10:02 PM
NBAustin- that's a javascript error; did you change the codebuttons in any way?

Check function bold and function addtext are the same as the original mod.... if it's only Bold that causes the problem, the error MUST be in function bold.

zParaduck.. do you have UBBcodebuttons installed? I fnot, try removing the lines:

Code
code:

I actually have no idea if that will work on a UBB without codebuttons installed... but it seemed worth a try. [Linked Image]

Never seen "the box in the tophand corner" but I know for a fact the hopto: box is screwy; if I sort that, I suspect this other phantom checkbox will sort itself out too.

MasterMind: We never plan to have this finished! It'll haunt the top of your board til the day you die! Mwahaha!

Seriously tho, once we've had some more extensive testing, and the admin functions & "I'm online!" merger are out, then it'll be ready. End of the week maybe?
Posted By: NBAustin Re: Private Messages 3.5b - 10/23/2000 10:40 PM
No didn't change em. I'm not using UBB Code Buttons 3.5 because my members like the spellchecker.

BTW...does this new PM version have the ban check included?
Posted By: zParaduck Re: Private Messages 3.5b - 10/23/2000 10:42 PM
I still get a blank page....
Posted By: Ell Re: Private Messages 3.5b - 10/24/2000 12:01 AM
Ok, I think I've sorted the bugs. Try downloading from http://www.fracturedreality.co.uk/~etb/ubb/CYMPM3b.zip

Reminder: It's still in beta. With that in mind, I shall now neglect bug finding, and get on with the next features! [Linked Image]
Posted By: zParaduck Re: Private Messages 3.5b - 10/24/2000 12:14 AM
It's still a blank page......redownloaded your new file, Borg and reinstalled all files.
Posted By: Ell Re: Private Messages 3.5b - 10/24/2000 12:46 AM
Can I have a URL please?
Posted By: NBAustin Re: Private Messages 3.5b - 10/24/2000 1:18 AM
zParaduck,

If you are running an older version of UBB, you will have to put this line in the files:

require "cookie-lib.pl";
Posted By: Yamaha Raptor Re: Private Messages 3.5b - 10/24/2000 1:34 AM
well it is working good on my bored now.[Linked Image]
well after i did the little fix that mastermind said anyways.
i am still running 5.46 and codebuttons 3.0
cuz i am not much of a ubb hack so i will not try to update them myself.
hehe oh well.
but it is working anyways.

------------------
http://clankiller.virtualave.net/cgi-bin/Ultimate.cgi?action=intro

Posted By: zParaduck Re: Private Messages 3.5b - 10/24/2000 2:09 AM
The board is at http://www.backtobed.com/Ultimate.cgi .

Version 5.47
Posted By: Ell Re: Private Messages 3.5b - 10/24/2000 3:22 AM
Uh, a URL to the problem itself please; seeing your board doesn't help much.
Posted By: SlaPPiE Re: Private Messages 3.5b - 10/24/2000 6:16 AM
zParaduck, it will work if you have the code buttons mod installed. I had the blank page too until I installed UBBCodeButtons 3. You might as well just install it. It's a great mod anyways. [Linked Image]

------------------
-Silent Thunder
Posted By: eskimo Re: Private Messages 3.5b - 10/24/2000 7:50 AM
CGI ERROR
==========================================
Script Location : xxxxxxxxcgi-binforumprivatesend.cgi
Perl Version : 5.00503

I'm getting this error after I click Send Private Message.

I've tried to install the hacks on with Avatar, custom status ,starhack, UBBCode v3.5...still got the same error.

Updated the files with the latest Private Msg files..still the same.
Posted By: lovely Re: Private Messages 3.5b - 10/24/2000 8:49 AM
It works fine with me. Cool [Linked Image]
Posted By: Alien Re: Private Messages 3.5b - 10/24/2000 11:23 AM
Confirmed working for me too.

All 3 fixes worked on my privatesend & privatedelete files as well! Looks like mainly table cleanup and layout (and new features) is up next? [Linked Image]

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: Ell Re: Private Messages 3.5b - 10/24/2000 3:32 PM
Aaaaaaaaaallen...... https://www.ubbdev.com/ubbcgi/privatesend.cgi?action=reply&id=7

Yay! The next feature (UBB Instant messages) is working! After some bugfixing, I hope to have it ready for downloading by tonight!
Posted By: Jago Re: Private Messages 3.5b - 10/24/2000 4:06 PM
Oh damn! That sounds freaking awsome! Will the instant messaging be an upgrade on top of PMv3 or will it be a totally new version of PM?
Posted By: Outlaw Re: Private Messages 3.5b - 10/24/2000 5:02 PM
Is there going to be a Admin function which allows an admin to prune/delete all sent items for all users, especially inactive users etc...???????
Posted By: Outlaw Re: Private Messages 3.5b - 10/24/2000 5:06 PM
I get a blanck page when I click on New PM ???
Why is this?
Posted By: Outlaw Re: Private Messages 3.5b - 10/24/2000 5:15 PM
Ok here is the error...

Undefined subroutine &main::UBBCodeButtonsHead called at /***/cgi-bin/UBB/privatesend.cgi line 444.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/24/2000 5:40 PM
Latest files (with all 3 bug fixes) are in our database now for download.

There's still a table layout problem in the outbox, if you have sent messages. The delete checkbox is in the upper left instead of the lower right under the "delete" column. And there's one checkbox for each pm in the outbox. The check boxes still work as they should, so it seems like it's just a table layout problem.

That "admin delete" for inactive/ banned users would be cool...

Outlaw, do you have ubb codebuttons 3.5 installed? If you have v3, just upload the .pl file that comes with 3.5...

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

- http://www.stand318.com
Posted By: Outlaw Re: Private Messages 3.5b - 10/24/2000 5:49 PM
"do you have ubb codebuttons 3.5 installed? "

No I don't and have looked for it but could not find it. However, I am not sure I want that hack. I just want my PM working again...

BTW, I upgraded just before I posted the messege above, so when exactly were the files put up? I upgraded 30 minutes before this post...

What's with the "codebuttons 3.5" requirement anyway? That is pretty lame and like I said, it would not go well with our board.

Also, the new files do not include any Installation instructions [I don't need them but newbies might] and most of the files still say PM2 in the info...FYI
Posted By: Outlaw Re: Private Messages 3.5b - 10/24/2000 6:18 PM
Ok, redownloaded, and its back up and working, but its back the way 2.2 was, nothing new. Is it still version 3.0???

Anyway, I wana thank you for your very quick response and help. You guys are awsome. I wish u guys would write your own UBB version, cause I rather pay you guys since you are the only ones with REAL Features and REAL support...
Posted By: eskimo Re: Private Messages 3.5b - 10/24/2000 7:38 PM
I'm still getting this below error after uploading the latest .pl

CGI ERROR
==========================================
Script Location : xxxxxxxxcgi-binforumprivatesend.cgi
Perl Version : 5.00503
Posted By: Ell Re: Private Messages 3.5b - 10/24/2000 11:07 PM
Woohoo! UBBIM (UBB Instant Messages) v 1.0 is fully operational at www.planetcommunity.com !!

It needs 3 mods to be installed:
CYMPM 3.5 (documenting right now)
Who's online? 3+ (available for download)
I'm online! 2.0 (documenting right now)

Before I release it to the public, I want to get it going here at UBBDev first... Allen, please email/ICQ (preferably) me when you get online. [Linked Image]

What other problems is everyone having with CYMPMs?
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/25/2000 12:48 AM
I was having a problem with the system when I tried to send PMs to people with spaces in their usernames.

There was a line in the privatesend.cgi file that said something like :$to =~ s/ //ig;

I took out that line because it took out the spaces in the $to variable but you need the spaces in there in order for it to open the right $to.db file. With that line in there, if I sent a PM to Rattler 1, Ratter1 would get the message not Rattler 1. You might have fixed that after I downloaded the files.

Also, what about the cookies? They seem to be automatically stored even if I have NameStorage set to "no" in my preferences.
Posted By: Outlaw Re: Private Messages 3.5b - 10/25/2000 12:50 AM
PM 3.x has bugs, as of this morning.
I reinstalled it this morning and I don't see any difference/changes between it and 2.2.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 1:31 AM
Quote
quote:
That's why it is in the "beta" forum... there's no guarantee that it will work... I can tell you that it works on here, and that I did nothing different from the instructions found with the download to install it, mainly cuz I was the one who redocumented the install instructions.

Eskimo, you are getting the same error that many others have gotten, only to find out it was because of an install error. Please look over your instructions, paying special attention to the ones at the top of private.cfg. If you do not follow those instructions, it is guaranteed to have problems.

Rattler, we used to have those problems, but haven't since the bug was fixed waaaay back on page 4 of this thread. If you are using the latest downloads within the last few days, you shouldn't be having that problem...

If we have time, we'll install the new features tonight. After it appears to be fairly stable, we'll post for download...


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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 1:32 AM
Forgot to mention, if you just can't get it to work, we provide installation services here, guaranteed. Just click on the link to the lower left.

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

- http://www.stand318.com
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/25/2000 2:06 AM
Allen,

I just downloaded the files again and installed them and once again, I can't send messages to people with a space in their usernames like "Rattler 1".

Then when I commented out this line:
Code
code:
it worked fine.
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/25/2000 2:28 AM
Also, the cookies remain set even after I close the browser. I already deleted all the cookies manually and tried again and it still stores them.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 2:37 AM
He is working on the cookies Rattler, I really don't know about the other + stuff... we aren't having problems with it here...

I fixed the table layout in privateview.cgi for the delete checkbox in the outbox. If you want the revised file, I just now uploaded it to the zip file in the database. Check the pm's on here to verify the fix... just upload that one file in ascii for the table fix.

I wasn't able to get Borg's files for the update here on the site, so we'll put them up tomorrow...

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 2:53 AM
Just tested with a user name with spaces, you are correct Rattler, let me see if I can find a fix... right now when you send it to someone with spaces in their name, it sucks out the spaces and tries to send it to the same name, only with no spaces (just like you said).

Give me a few, I will try to find a fix...

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

- http://www.stand318.com
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/25/2000 3:03 AM
It's that line I mentioned earlier in privatesend.cgi in the send subroutine:
$to =~ s/ //g;

It shouldn't be there. I think.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 3:05 AM
OK, that was simple enough...[Linked Image]

## FIND: (in privatesend.cgi)

$to =~ s/ //g;

## REPLACE WITH:

$to =~ s/+/ /g;

It seems to have fixed it on here... once again, I have uploaded the files with the fixes in place to the database... let me know if it doesn't do the trick for you Rattler.

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

- http://www.stand318.com
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/25/2000 3:39 AM
Allen,

Do you have any idea what this line is for or doing:
print "";

It puts body tags in the middle of tables and stuff.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 3:43 AM
I haven't seen that... do you have a link to an example?

Did the fix help your space problem?

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

- http://www.stand318.com
Posted By: Rattler til Death Re: Private Messages 3.5b - 10/25/2000 3:49 AM
The space problem is fixed now. Thanks

I'm just waiting for the cookie fix.
Posted By: TwiZteR Re: Private Messages 3.5b - 10/25/2000 6:06 AM
Well the script seems to work fine except from 2 things:

1.The link when I click the Inbox-link at the Forum Summary it takes me to my main page of the server

2.The link to send a PM to someone at the threads ain't working

plz help me I really want this to work


------------------
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 6:30 AM
1. recheck your coding in Ultimate.cgi, there's a problem there.

2. recheck your coding in ubb_library2.pl, there's a problem there as well...

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

- http://www.stand318.com
Posted By: Vipermad Re: Private Messages 3.5b - 10/25/2000 6:44 AM
Just a note to say that the new version of files Allen recently uploaded work fine on a heavily hacked site. The only rogue item was the "Hop To" box (not really for my site, but nice). I fixed that little bit as well as slimmed down the "Check All" and "Uncheck All" images and putting two spaces between them. I can also confirm the errant "tick box" is gone in the Outbox too. Great job guys, and so fast!!!! Many thanks!


PS I just tried to use spellcheck here and after clicking on "Finish" I got a CGI error.


Quote
quote:
Posted By: AllenAyres Re: Private Messages 3.5b - 10/25/2000 7:28 AM
Thanks Viper... I am glad you were able to get it working... 2 bug fixes in one night, a first for me... [Linked Image]

The spell checking is fixed as well, I forgot to add the fix from SK...

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

- http://www.stand318.com
Posted By: Alien Re: Private Messages 3.5b - 10/25/2000 7:45 AM
Fixes confirmed working on my test version.

Good work!

------------------
Visit Alien Soup Forums
http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 1:47 AM
Latest files are now working on ubbdev.com. If you get a chance to look at it, please check it out... we should be able to begin distribution of the semi-finished code tomorrow...

Borg's "I'm online" will be part of this - I will install on this board tonight for bug testing...

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 10/26/2000 1:53 AM
Allen, get on ICQ please.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 8:37 AM
"That's why it is in the "beta" forum... there's no guarantee that it will work... "

I understand, but its posted in the DB and there is no mention of BETA there...
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 8:43 AM
Quote
quote:
Is it confirmed that the sent messages are not saved or just not displayed?

Also, WILL there be an admin function to delete/prune ALL sent messeges for all users?

Another issue. Can u add a feature which allows admins to delete all the messeges and info from the PM dataBase for users whom are no longer active as of x amount of days/weeks etc...?
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 8:47 AM
"Borg's "I'm online" will be part of this "

Does this mean the new PM3.0 will have this built in or do we have to add it. If built in, will there be new instructions for UPGRADING?
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 8:52 AM
OK... we are beta testing the "I'm online" portion... a few small bugs, but it looks like it is working well...

Post any bugs you see here...

1. - pop-up isn't quite tall enough for info inside, need to adjust one or the other.

2. - image in pop-up is looking for images in ubb cgi directory... I placed them in there as well just for testing purposes...

3. - pop-up should take on ubb's colors a little better

4. - need to rename online.gif to something else, it replaced the online.gif for the "who's online" section in Ultimate.cgi

5. - nothing else that I can see... nice work Borg [Linked Image]

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

- http://www.stand318.com
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 9:20 AM
Ok, question. I have the PM 2.2 installed. Can I just download and replace the existing files without doing anything else (other than setting path to perl) and have it working right away?
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 6:31 PM
Until Borg sets the ubb codebuttons as an option, you will need to have ubb code buttons installed and v3.5 of the ubbcodebutton.pl file uploaded... which works quite well... and adds a few new features.

Other than that, just upload the v3 pm files to your ubb cgi directory making sure perl paths are correct (some have changed in the files to make them all the same, just recheck them). And upload in ascii...

No additional coding changes to your ubb files are needed if you are upgrading pm's, unless you decide to install the "I'm Online" addition.

Cookies in this latest version appear to be fixed, judging by reponses from those who use Netscape... this is good news.

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

- http://www.stand318.com
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 7:29 PM
"Other than that, just upload the v3 pm files to your ubb cgi directory making sure perl paths are correct..."

I did exactly that and when I click on Send Pm I get a white screen...
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 7:41 PM
"making sure perl paths are correct (some have changed in the files to make them all the same, just recheck them). "

Nope. I just downloded a fresh copy, and the paths to perl are NOT all the same in all the files.
Some have usr/bin/perl some usr/local...

I prefer the usr/bin/...[Linked Image]

Quote
quote:
Where do I find this hack, and the 3.5 file?

This message has been edited by Outlaw on October 26, 2000 at 12:46 PM
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 8:43 PM
Aieee! Allen, please send me any updates you've incorerated into the files! As of now, I'm working with the version I sent you, and fixing the 4 bugs you listed above...

Let me repeat this for all to hear.... YOU NEED UBBCODEBUTTONS 3 OR GREATED INSTALLED. I _tried_ to set it as optional (but it obviously didn't work)... white screens when trying to send are known to be a symptom of this.

Allen; looks like I didn't document everything properley... there's a $UBBSlaugher missing from the routines that build the forums (My forums are v 4.5... dunno if .6 has it different)... is it in sub PageBottomHTML in ubb_library.pl (should be near the end)
That line introduces the line into the forum code... but only introduces it if you have NEW IMs.

Outlaw: we have this thing called a "database of mods" and another thing called "finished mods forum" and even a "search engine"... with all due respect, if you can't even be bothered to go looking for the mod (it's only 2 click away from here) we can't be bothered to spoon feed it to you. [Linked Image]
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 9:00 PM
Quote
quote:
That is nice. Now try showing us where to get it...[Linked Image]

Quote
quote:
We dumb users also have this thing called HOW LONG MUST WE WAIT FOR THE HACK TO BE PUT INTO THE DATABASE?????? [With all due respect]
Posted By: Greg Hard Re: Private Messages 3.5b - 10/26/2000 9:22 PM
Allen, i got the I'm Online 2.0 with UBB IM's installed at my board, and when clicking ONLINE i get an ISE. I sent this to borg as well.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Private Messages 3.5b - 10/26/2000 9:35 PM
Outlaw,

Go here:
http://www.h-realms.com/codebuttons3.5.zip

This message has been edited by NBAustin on October 26, 2000 at 02:36 PM
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 9:43 PM
Outlaw, it's at the top of the finished hacks forum...

https://www.ubbdev.com/ubb/Forum7/HTML/000288.html

Not difficult, eh?
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 9:48 PM
ps. "cookies fix" ?? Unless you have cookies, your newly recieved IMs won't pop up... The CYMPM files also set your cookies (courtesy of cal) because you need them to view the PMs... right? [Linked Image]
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 9:57 PM
1. - pop-up isn't quite tall enough for info inside, need to adjust one or the other.

Fixed in latest version

2. - image in pop-up is looking for images in ubb cgi directory... I placed them in there as well just for testing purposes...

Fixed.

3. - pop-up should take on ubb's colors a little better

It should do- the

4. - need to rename online.gif to something else, it replaced the online.gif for the "who's online" section in Ultimate.cgi

Fixed. They're now "IMonline.gif" and "IMoffline.gif" (original, eh? [Linked Image])

5. - nothing else that I can see... nice work Borg

Thankyou. [Linked Image] Next up- admin functions for CYMPM, and the ability to tie in UBBIM with Karma & Thread Tracking mods...

This message has been edited by Borg_5x8 on October 26, 2000 at 03:03 PM
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 10:01 PM
Quote
quote:
Actually all I found there is pure junk. Let me explain.

1 I wanted the PM 3.x or the latest with bug fixex, nothing more.
2 Not only did I not find it and it doesnot exist, but instead I found a bunch of mobo jumbo included like the I'm online must be installe **** !!!!!! I did not want that!
4 Fine, I get that. Guess what, It also needs UBBCODEBUTTONS. I did NOT WANT that!!!!!!!!
5 Fine, i get that and the instructions for that says "## FIND: (Smilie CP Add-On)" !!!! What the f*ck??? I don't want all this **** !!!

So, where is the simple latest version of the PM system with clear install instructions? is my question.

Have you guys gone mad? Yes its nice to have bells and wistles, but to come up with this kind of **** and not even MENTION it, and even more, you post the thing in the DB as a FINISHED product...???

Guys, I love your work, but you are wasting alot of my times and making me work 10 times harder, when I have lots of Network Admin work to do...
Please come to your senses? This is getting rediculous...[Linked Image][Linked Image][Linked Image]
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 10:04 PM
Borg, I sent you the files by email...

I have that ubbslaughter in ubb_library.pl.. it looks like this:


$Footer
$UBBSlaughter

BOTTOM
} # end PageBottomHTML sr

I forgot that pop up was a major feature in this... anyways, nice work.

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

- http://www.stand318.com
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 10:09 PM
Allen, I'll check the email... don't go anywhere! The problem is that on loading a forum (eg: https://ubbdev.com/ubbcgi/forum...+in+Beta&number=3&DaysPrune=5&LastLogin= )
The window should pop up if you have a new IM... and it's not doing that for me. How about everyone else?

Outlaw:


Quote
quote:
Shows you were looking for UBBCODEBUTTONS. Which I showed you where to get.

And also, the mod doesn't care if you don't want to install the codebuttons or not... when I say "It needs it". That means "it needs it" ie you HAVE to install it at present if you want the CYMPM to work!!

It's in the database for download.... notice this is the "beta forum"... if you don't want the trouble of beta products, don't install it until it's finished.

This message has been edited by Borg_5x8 on October 26, 2000 at 03:16 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 10:10 PM
Outlaw, this is obviously beta code... do not use it if you do not like how it's being written, it's that simple.

You said you have v2.2 working.. stick with it if you do not like the direction this is going... come on now, this is given freely... we give of our time freely, several times more than you use to try to install this.

If you do not like "bells and whistles", then you wouldn't be installing pm's... most people consider that "bells and whistles". 95% of all ubb owners who want private messages would give their left leg for ubb codebuttons as well... you don't have to install either.

Please act a little more maturely and consider Borg's time as valuable as well... he cannot spend a week coding something for one particular person's tastes.

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 10/26/2000 10:15 PM
Well, it seems my problem was because MR BORG left out a print line....

BORG???

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 10:18 PM
MM>> I forgot...

I got the ISE too...

replace the eval statement (right before the require lines) in ubonline.cgi with one from a file that you know works, and go from there... it fixed it here

here you go:
Code
code:

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 10/26/2000 10:19 PM
Ok, beta testing on this seems to be going in the right area. All seems to work on my end. Any bugs from you allen?

Outlaw, i believe all you have to do is upload the ubb_code_buttons.pl file and it will only install ubbcodebuttons for PM's, not the main forums. Please be a bit nicer, we are working on this.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 10:21 PM
[Linked Image] @ MasterMind. Dangnabit! Ah'l leave out print lines if ah dang well wanna! *arms golddigger shotgun and calls for 'Ol Yeller*

This message has been edited by Borg_5x8 on October 26, 2000 at 03:24 PM
Posted By: Greg Hard Re: Private Messages 3.5b - 10/26/2000 10:22 PM
It isnt your fault you forgot the print line. [Linked Image]

So it is...

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 10:23 PM
I think you are correct MM about the code button file...

the only real bugs I have found are the ones mentioned already, plus the popup doesn't happen when you have pms...

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

- http://www.stand318.com
Posted By: Ell Re: Private Messages 3.5b - 10/26/2000 10:45 PM
Allen! I just figured out the answer to why I'm not seeing this... I forgot to tell you to add
Code
code:
to the top of forumdisplay.cgi and postings.cgi !!! Of course! It's not checking the files! [Linked Image]

*phew*... that one was annoying me. [Linked Image]

This message has been edited by Borg_5x8 on October 26, 2000 at 03:46 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 10/26/2000 11:03 PM
hmmmmm... added now, I don't see any change... let me know if you get something different.

I did notice a couple of those javascript additions were added below the tags in the instructions... was that correct?

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

- http://www.stand318.com
Posted By: Outlaw Re: Private Messages 3.5b - 10/26/2000 11:07 PM
Ok, guys sorry about that...

I'm trying to get this running then...



This message has been edited by Outlaw on October 26, 2000 at 04:08 PM
Posted By: Nutso Re: Private Messages 3.5b - 10/26/2000 11:58 PM
Can someone help me out i keep getting this same error when i try to send a pm

CGI ERROR
==========================================
Script Location : xxx/public_html/board/cgi-bin/privatesend.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
Message : pm test
MsgIcon : 2
Signature : yes
action : send
color : Black
font : Times New Roman
mode : prompt
pass : ****
sendto : test name
size : 3
subject : pm test
user : Nutso

Environment Variables
------------------------
Removed stuff here
Posted By: Outlaw Re: Private Messages 3.5b - 10/27/2000 12:02 AM
Ok boys, I have it working great, as far as I know but no popups...

Uhhh now to add the online feature...arrrhhh
Posted By: AllenAyres Re: Private Messages 3.5b - 10/27/2000 12:21 AM
Good deal Outlaw... that wasn't so hard now, was it...[Linked Image] The pop-ups work after you install the I'm online part.. we should be able to release today or tomorrow...

Nutso, you and most everyone who installs it the first time...[Linked Image] Be sure and follow all the instructions, even the ones at the top of private.cfg... it will not work if you don't...

The notification pop-ups are working now... I haven't uploaded your new ubonline.cgi file yet Borg, I am afraid to, since it works now...[Linked Image] I'll make a backup and try it out...

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

- http://www.stand318.com
Posted By: Outlaw Re: Private Messages 3.5b - 10/27/2000 12:39 AM
OK, PM me the I'm online...
No it was not that hard, but the different instruction in the hacks were a pain in the butt.

BTW Will the sound work? the "you got mail" or is that separate?
Posted By: AllenAyres Re: Private Messages 3.5b - 10/27/2000 1:53 AM
hmmm.. that wasn't fun... the whole site gave me cgi errors with that last update... every cgi page... it was the fix you sent via ICQ Borg for that replacement sub in ubb_library.pl ...painful...[Linked Image]

The new ubonline.cgi you sent last gave a few errors as well... I reuploaded the other one.. it seems to be working well. I'll do a file compare and update the differences regarding the spaces in the name. Then send you all I have.

Outlaw, the sound alertis separate, and pretty easy. I believe I found it in the "requests and suggestions" forum...

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 10/27/2000 2:20 AM
Yo allen, pop me the updated stuff in my e-mail now please. [email protected]

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Pilot Re: Private Messages 3.5b - 10/27/2000 8:39 PM
Please resolve UBBRandomX and Y to random numbers in $header as UBB does in all other routines - needed for banner HTML etc. Lift the code from any UBB module.

Please do not make this hack require others (eg codebuttons) make other hacks OPTIONAL.

Please be careful to make each release upward compatible and think about those who do not have all the other hacks (and may not want them either). Always be careful of anything which impacts performance of busy boards.

Always document each release carefully - ie what has changed and why. You can never have too many comments (and get someone not familar with the code to review the instructions).

Keep your cookies away from the UBB ones as I have had MAJOR problems with corrupt ones.

Even with v2.2 my UBB cookies are screwed up yet again. It has to be the PM code doing this.
Posted By: Greg Hard Re: Private Messages 3.5b - 10/27/2000 8:51 PM
So what do you want us to do? Use CGI.pm for cookies just for the pm hack? No, i dont think so. We must use the ubb cookies.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Outlaw Re: Private Messages 3.5b - 10/27/2000 8:58 PM
"We must use the ubb cookies."
I agree. Now, when I post a new post on our board, the auto fill for user name and pass no longer works. It works for replies and edit etc. but not for New Posts.
Why?
Can someone help me fix this. I installed Sticky Threads and PM at the same time [bad mistake] and now I am not sure which is causing this...[Linked Image][Linked Image][Linked Image]

This message has been edited by Outlaw on October 27, 2000 at 02:05 PM
Posted By: Greg Hard Re: Private Messages 3.5b - 10/27/2000 9:54 PM
I have both of those hacks on my 5.47a board, and it works fine.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Outlaw Re: Private Messages 3.5b - 10/27/2000 10:14 PM
MasterMind look at this and help if you can. https://www.ubbdev.com/ubb/Forum2/HTML/001712.html
Posted By: gamerzparadize.com Re: Private Messages 3.5b - 10/28/2000 3:41 PM
When are you guys gonna release the UBB IM?

------------------
www.gamerzparadize.com
*comming
soon*
Posted By: Greg Hard Re: Private Messages 3.5b - 10/28/2000 4:42 PM
All seems well on my board Allen. Works like a charm. But check your PM's borg. [Linked Image]

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Greg Hard Re: Private Messages 3.5b - 10/28/2000 5:05 PM
Here are some feature ideas from outlaw and me.


1 Admin prune delted/old PMs in out box
2 Admin can delete None active Usrs/banned Users's PMs and info
3 Buddy list
4 Saved Messeges Folder
5 Will tell a user on the Ignore list that he cannot PM user x because he is PM Blocked
6 Will NOT save PM sent to a user if blocked.
Currently, If I send a PM to a user who has put me on the ignore list, my PM will get put into his folder anyway, eventhough he cannot see it.
7 Will notify users of new PMs via sound/graphic, even in Forumdisplay [and anywhere on the forum if they are online]
8 A feature which lists the last user to who sent u a PM like this: "Outlaw - You have 1 private message(s) (0 new) - Latest Message from boobless" [with the user name linked to their profile]
9.Ability to create a limited number of new folders and move PM's to them.
10. Spellchecker.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Pilot Re: Private Messages 3.5b - 10/28/2000 5:22 PM
Re COOKIES

1 - Why are you updating (possibly corrupting!) the UBB cookies at all? I assume for preferences - any other reason?

2 - Are you honouring the control panel setting for cookie SCOPE? It seems that your code sets the cookie scope at root (/) instead of the same value as the UBB control panel setting for cookie scope - surely this is wrong?

Please listen to the requests not to have several other hacks installed just to get PM v3 - it would be much more widely accepted if these were optional - it can't be that hard to look at a configuration setting and react accordingly.

People need the bug fixes & admin features without having to install 3 other hacks. I think you have got a little carried away with the code here. Yes, I know it's free and we don't have to use it - but why not make it widely compatible?

I have pm 2.2 - my main problem is the space control and admin. I want auto-delete etc but I don't want to mix it with the other new hacks. Now you have given me a tough choice - install several unwanted hacks or have old pm messages hanging about...!

Thanks for a great hack. Shame it has become so complex to install it now.

This message has been edited by Pilot on October 28, 2000 at 12:43 PM
Posted By: gamerzparadize.com Re: Private Messages 3.5b - 10/28/2000 6:50 PM
Sounds like some good ideas you got there MasterMind I especially love the sound idea that would be awsome.

------------------
www.gamerzparadize.com
*Comming Soon*
Posted By: Greg Hard Re: Private Messages 3.5b - 10/29/2000 12:05 AM
It's true that there are problems with needing other hacks - I assume it'll be worked out in 4.0 or 3.5..

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Outlaw Re: Private Messages 3.5b - 10/29/2000 12:45 AM
"9.Ability to create a limited number of new folders and move PM's to them."

With admin option to limit how many PMs users can save/move to those folders, because otherwise users will abuse this feature and eatup alot of hd space...
Posted By: AllenAyres Re: Private Messages 3.5b - 10/29/2000 12:50 AM
OK, one more time from the top....


You DO NOT have to install any other modification for pm 3.0 to work, period.

As it stands right now, you will need to upload the ubbcodebuttons.pl file so you do not get any errors. You do not have to install ubb code buttons tho...

There are optional things you can install, ubb code buttons and "I'm online" being a couple, but please read the thread before you complain about the modification...

ps.. this is beta code, half of you complain because you want it in alpha version, the other half complain because it isn't in a finished version and causes errors... we'll not release alpha code, and you'll have to make the decision whether or not you want to risk installing beta code...

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

- http://www.stand318.com
Posted By: Outlaw Re: Private Messages 3.5b - 10/29/2000 1:54 AM
Well, the I'm On Line seems to work fine on this board, so I want it...[Linked Image]
Posted By: Greg Hard Re: Private Messages 3.5b - 10/29/2000 2:11 AM
Borg, you alive?

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 10/29/2000 2:37 AM
It is Borg's code, and he asked to not release it until more bugs are worked out of it... there are still several to go and he apparently has been busy...

We'll release as soon as it appears safe to do so...

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 10/29/2000 2:54 AM
i was able to work around the bugs i found.

BUG REPORT!

1. In the new PM 3.3 code (the one for UBB IM's borg send me), here and at my forums, i got IM's from an unknown (non existant) user named "yes" and a few from a period. (DOnt know what i mean? I got blank PM's from users named Yes and "." at my forum and here, up to 25 from them)

2. When i get an IM, and click the users name in that IM window, and send the IM, i go to planet community and get a username not found error.

Thats about it.

Now, people, please wait for the testing to be over, bugs to be fixed, and dont complain. Ok?

~MM~

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Programmer and Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: zParaduck Re: Private Messages 3.5b - 10/29/2000 3:49 AM
I personally agree with Allen and Master. Why would we want a program that has many weird bugs and possibly some security issues (not saying that I know of anything [Linked Image]?
Posted By: Vipermad Re: Private Messages 3.5b - 10/29/2000 3:58 AM
Guys, I check here several times a day...I have never been so patient in my life...but I KNOW it is worth it! Keep up the good work!
Posted By: Ryan Little Re: Private Messages 3.5b - 10/29/2000 5:47 AM
There should be an option for administrators that would allow us to turn off the "send a PM to an email address" option, but still keep the option to receive an email when we get a PM. I know that this can be done by editing the privatesend.cgi file, but I don't personally like the send a PM through email feature anyways.
Posted By: Vipermad Re: Private Messages 3.5b - 10/29/2000 6:51 AM
If I am browsing the bottom of a topic, and I cllick to send someone a IPM (Instant Private Message), I am magically moved to the top of the page. Feature or bug? If you're as tired as me you'll say feature!! [Linked Image]
Posted By: Ryan Little Re: Private Messages 3.5b - 10/29/2000 6:59 PM
Ca you give us a time frame for when PM 3.3 will be released? Few days, a week, more than that?

Almost everything in 3.0 works fine for me except for sending PM through email (as you can tell from an earlier post I don't like the idea newayz [Linked Image]). It sends the email and the person receives it, but instead of taking me to the page that says "#emails sent, # PMs sent. Redirecting..." my server returns an internal error. (As yes, my sendmail location and all of that are correct because UBB Friend is fully opperational.) Normal PMs are sent with no errors at all. The only time I run into the error is when I try to send a PM to an email address.

The hop-to drop down menu is also in the top left corner.. strange place.

I know that you are working hard to fix these bugs so I'm not really complaining. The general PM features work and that's what I mainly care about. But if anyone else has had these problems and can tell me how to fix them before the next version is released, please do so.
Posted By: Ryan Little Re: Private Messages 3.5b - 10/29/2000 7:20 PM
SORRY!

I read through this entire thread several times and overlooked Borg's post to d-load the script from http://www.fracturedreality.co.uk/~etb/ubb/CYMPM3b.zip Once I noticed this post, I d-loaded the updated version and everything worked! All of the errors I had previously recieved no longer existed.

Keep up the great work!
Posted By: jlaine Re: Private Messages 3.5b - 10/29/2000 7:41 PM
One minor issue I wandered across-
When you send PM's to multiple users and you have your signature box checked, it adds it to the message the number of times that you have for users to send the message to.
Ex:
Send one PM to 8 people, your signature is inserted 8 times in the bottom of the PM.

[Linked Image] Just thought I would bring it up...

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: AllenAyres Re: Private Messages 3.5b - 10/29/2000 9:34 PM
That could be a problem,...[Linked Image]

Borg will most likely be back in the morning... if we can, we'll get the latest put up tomorrow...

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

- http://www.stand318.com
Posted By: Ryan Little Re: Private Messages 3.5b - 10/30/2000 1:53 AM
I've also found another bug in the Signature. When the signature is auto checked, but the person doesn't have a signature, then it displays the typical
------------------ line even though there is no signature (as in an unhacked UBB).

It would be great if no line was added at the bottom if the user has no sig- like is done with Sig Hack 1.5.
Posted By: Outlaw Re: Private Messages 3.5b - 10/30/2000 3:41 AM
Ok, major bug.

I isntalled the UBB codebuttons which I thought was needed. Everything worked fine, partially.
Now, some of my Admins and Mods and users cannot edit their own/other posts/threads. Some can edit replies, but not their original posts. I can edid my own, and others, but not initial posts.

When they click on the submit button, nothing happenes. it just sits there...

Has anyone else had/cought this bug?
Posted By: Outlaw Re: Private Messages 3.5b - 10/30/2000 11:55 AM
Another PM Bug.
Let's say you have your PM set to limit of 20
Now send yourself/have someone send you let's say 30 PMs. See what happenes?

What I get is a loooooooong page with 10-20 spaces between each post, with the "notice"/warning messege about the limitation of posts, and this is even when the Outbox is turned off...

This message has been edited by Outlaw on October 30, 2000 at 03:58 AM
Posted By: Jigga-Master Re: Private Messages 3.5b - 10/30/2000 2:47 PM
yo also theres no install instructions in that zip file???

------------------
-= DFT =-
...................
I don mean dis in a disrespectful way//
But colombine happens in the ghetto happens every day//
Uncle L
Posted By: Flare945 Re: Private Messages 3.5b - 10/30/2000 10:54 PM
I'm having some major problems here. This is on the send new PM screen, once I click Send after I have filled out the PM...

CGI ERROR
==========================================
Script Location : C:UBB547privatesend.cgi
Perl Version : 5.006

Form Variables
-------------------------------------------
Message : please
Signature : yes
action : send
color : Black
font : Times New Roman
mode : prompt
pass : test
sendto : Flare945
size : 3
subject : come on
user : Test

Environment Variables
-------------------------------------------
COMSPEC : C:WINDOWSCOMMAND.COM
CONTENT_LENGTH : 144
CONTENT_TYPE : application/x-www-form-urlencoded
GATEWAY_INTERFACE : CGI/1.1
HTTPS : off
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_CONTENT_LENGTH : 144
HTTP_CONTENT_TYPE : application/x-www-form-urlencoded
HTTP_COOKIE : DaysPrune=45; NameStorage=no; lastLogin=2451848.1552; LastLoginDT=10-30-2000%2003%3A52%20PM; sessionLogin=2451848.1552; sessionLoginDT=10-30-2000%2003%3A52%20PM; UserName=Test; Password=test; UserName=Test; NameStorage=no; DaysPrune=45; Password=test; sessionLoginDT=10-30-2000 03:52 PM; lastLogin=2451848.1552; sessionLogin=2451848.1552; LastLoginDT=10-30-2000 03:52 PM
HTTP_HOST : 192.168.1.101
HTTP_REFERER : http://192.168.1.101/UBB/privatesend.cgi?
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
INSTANCE_ID : 1
LOCAL_ADDR : 192.168.1.101
PATH : C:WINDOWS;C:WINDOWSCOMMAND;C:Program FilesMts
PATH_INFO : /UBB/privatesend.cgi
PATH_TRANSLATED : C:UBB547privatesend.cgi
PROMPT : $p$g
REMOTE_ADDR : 192.168.1.101
REMOTE_HOST : 192.168.1.101
REQUEST_METHOD : POST
SCRIPT_NAME : /UBB/privatesend.cgi
SERVER_NAME : 192.168.1.101
SERVER_PORT : 80
SERVER_PORT_SECURE : 0
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Microsoft-IIS/4.0
TEMP : C:WINDOWSTEMP
TMP : C:WINDOWSTEMP
WINBOOTDIR : C:WINDOWS
WINDIR : C:WINDOWS
Posted By: WEAPON Re: Private Messages 3.5b - 10/30/2000 11:46 PM
Flare, make sure you have your private directory chmoded 777.

------------------
-Webmaster of Cheat City
Posted By: gamerzparadize.com Re: Private Messages 3.5b - 10/31/2000 3:34 AM
Flare make sure you have a folder in your cgi-bin directory name private (spelled exactaly). This problem has happend to me before and it was easily fixed by naming the folder private

------------------
www.gamerzparadize.com
*Comming Soon*
Posted By: Pilot Re: Private Messages 3.5b - 10/31/2000 1:06 PM
The directory name should be picked up from the configuration file. If it is not then this is a bug.

My PM directory is not called private and is not in my CGI-BIN directory because it would not work until I put it somewhere else.

I do hope Borg is not hard-coding these directory names - that would be poor coding practice. Always use the config variables.
Posted By: Bosss17 Re: Private Messages 3.5b - 10/31/2000 3:55 PM
Hey i am having a problem with sending provate messages and i read pages 1-5 of this and said **** it and hit the reply button =)

well

when i click "New PM" it brings me to "my site/cgi-bin/privatesend.cgi?"
but all it is is a blank page!

big fat and white!

anyone have any ideas???

the in advance

Bosss17

This message has been edited by Bosss17 on October 31, 2000 at 07:56 AM
Posted By: Bosss17 Re: Private Messages 3.5b - 10/31/2000 7:22 PM
well i think there is a problem with the .zip file being destributed...

if sombody with a working copy could send me theres (v3.0) i could find out ...

[email protected]

thx
Posted By: Greg Hard Re: Private Messages 3.5b - 10/31/2000 9:28 PM
BUG REPORT:
When i receive a private message alot of my signature (including my pic and 5 animated gifs) is in it like that. Its nasty.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: Ryan Little Re: Private Messages 3.5b - 11/01/2000 1:31 AM
Bosss17- If you would have continued to read past page 5 you would have noticed that it has been repeatedly stated that you MUST have the UBB Code Buttons 3.5 file in your cgi bin. You don't have to install it, but you must have the file in your folder or you will not be able to write messages. There's no way to get around the issue in this version. If you have already done this, then your problem is deeper.

------------------
Founder / CEO / Editor-In-Chief @ WeBreezes.com

Hacker- A person who enjoys exploring the details of programmable systems and how to stretch their capabilities
Posted By: Bosss17 Re: Private Messages 3.5b - 11/01/2000 12:23 PM
Ok i have done that but now i am getting messages from a user called "Yes" i know that this has been mentiond b4 but i thought i would remind u =)

btw i just read all 13 pages =)

------------------
Bosss17
Posted By: Ryan Little Re: Private Messages 3.5b - 11/01/2000 11:07 PM
Glad that your script now works. Don't know why we get messages from Yes all the time, I think he goes to every site and sends out a PM [Linked Image]

Hope it gets fixed soon. I know the next version will be awesome considering all of the suggestions we've made.

------------------
Founder / CEO / Editor-In-Chief @ WeBreezes.com

Hacker- A person who enjoys exploring the details of programmable systems and how to stretch their capabilities
Posted By: Igor Re: Private Messages 3.5b - 11/02/2000 9:32 AM
Well, I installed this mod, it seems working, but only one problem: browser shows user name several times like "BobBobBob - you have no private messages".
There is no way to logout and login again.

Can you tell me what is wrong?
Thank you
Posted By: Igor Re: Private Messages 3.5b - 11/02/2000 8:12 PM
New trouble!!!!

Now, when I entered any forums, I get message

Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.


Cookie: lastLogin=2451851.1813; LastLoginDT=11-02-2000%2006%3A13%20PM; Buttons=full; DaysPrune=1000; NameStorage=yes; sessionLogin=2451851.164%012451851.1639%012451851.0204%012451851.......... and so on - wery long line


Looks like something wrng with cookies

Help!!!
Posted By: Jigga-Master Re: Private Messages 3.5b - 11/02/2000 9:52 PM
yo why do people even bother upgrading to pm 3 if theres so many problems...i mean look @ this 13 page topic full of bugs..just chill till the next version...[Linked Image]

------------------
-= DFT =-
...................
I don mean dis in a disrespectful way//
But colombine happens in the ghetto happens every day//
Uncle L
Posted By: Igor Re: Private Messages 3.5b - 11/02/2000 10:25 PM
Quote
quote:
Thanks for suggestion [Linked Image]
Posted By: Ryan Little Re: Private Messages 3.5b - 11/02/2000 10:35 PM
Most of the problems come in the fact that most of these people either don't know how to program or either don't follow directions. My first installation was a breeze and when I couldn't send a PM, I read the post that said to add UBB Code Buttons 3.5 and after that alls well. There's not really a tremendous amount of bugs, the script just needs some cleaning up at the edges.

If you don't know Perl then why even bother to hack a forum? The statement might be harsh, but it screws up the whole community and everyone's experiences are ruined if a newbie tries to hack a forum not knowing what they are doing. If you see an error in the coding, then fix it yourself! Then come back here and describe the problem and give suggestions on ways to improve it.

We're programmers, developers, some of us trained professionals. Come on guys... We shouldn't be dwelling on simple problems that could be prevented. Half of the posts in this thread are repeated over and over. If people would take time to read all of the posts then we wouldn't have to worry about all of this.

------------------
Founder / CEO / Editor-In-Chief @ WeBreezes.com

Hacker- A person who enjoys exploring the details of programmable systems and how to stretch their capabilities
Posted By: Flare945 Re: Private Messages 3.5b - 11/02/2000 11:19 PM
well i got past my previous problem, but now I get this:

flock() unimplemented on this platform at C:UBB547/private.pl line 482.
Set-Cookie: UserName=Flare945;expires=Fri, 2-Nov-2001 21:25:59 GMT; path=/ domain=192.168.1.101
Set-Cookie: Password=******;expires=Fri, 2-Nov-2001 21:25:59 GMT; path=/ domain=192.168.1.101


any ideas?

BTW - I edited out my PW
ALSO - this happend when I was trying to send a PM

This message has been edited by Flare945 on November 02, 2000 at 03:21 PM
Posted By: TwiZteR Re: Private Messages 3.5b - 11/03/2000 5:48 AM
Well..I have some problems with PM 3.0 too:

- I CAN enter my inbox and I CAN edit my PM prefs, but when I click to send a PM, I get a White Screen with nothing but white [Linked Image] Same if I use the button in the threads.

And when I click the Members List button, it searches for memberlist.cgi while my memberlist is memberslist.cgi with a S in it, but if I try to enter the adress manually to my memberslist I can't get that either...so what to do ?? ..heh


This message has been edited by TwiZteR on November 02, 2000 at 09:49 PM
Posted By: TwiZteR Re: Private Messages 3.5b - 11/03/2000 5:54 AM
And while I'm here [Linked Image] Where can I find that "This message has been edited by TwiZteR on November 02, 2000 at 09:49 PM" -mod like u have on this boards?? it looks SO much nicer than the original one
Posted By: Flare945 Re: Private Messages 3.5b - 11/03/2000 6:17 AM
yah, i want that mod too
Posted By: Ryan Little Re: Private Messages 3.5b - 11/03/2000 6:31 AM
TwiZteR did you happen to forget to upload the UBB Code Buttons 3.5 script to your server? You can't write messages w/o it. You don't have to install the mod, you just have to have the script on your server.

------------------
Founder / CEO / Editor-In-Chief @ WeBreezes.com

Hacker- A person who enjoys exploring the details of programmable systems and how to stretch their capabilities
Posted By: TwiZteR Re: Private Messages 3.5b - 11/03/2000 6:51 AM
Can u explain that one a little further?? it sounds nice...hehe
Posted By: Jigga-Master Re: Private Messages 3.5b - 11/03/2000 7:11 AM
See what im syin!!!!!!

------------------
-= DFT =-
...................
I don mean dis in a disrespectful way//
But colombine happens in the ghetto happens every day//
Uncle L
Posted By: DOD-THE KAHN Re: Private Messages 3.5b - 11/03/2000 7:32 AM
Yeh I would have to agree with Ryan up there. But heres the difference in my case. It's true I dont know CGI at all, but I do know ASP, and it uses variable in much the same way as CGI. I followed the direction to the letter on a fresh board and PM3 just wouldnt move. Then someone said to install codebuttons and I said what the hell i tried evrything else why not. Allen was holding me up trying to help as well but he couldnt figure my problem out either.

With PM3 still not working I simply uploaded the Codebuttons .pl file to the cgi-bin and BOOM!!! PM3 was working. That simply made no sense to me at all, but concidering it was working I didn't care if it made sense. Then I installed the code for code buttons and PM3 has been working without a glitch.

PM3 adds a great feature to your site, and has worked right off the bat for hundreds of us. I wasn't one of the lucky ones I had to work at it. But look at it this way, when the author put that discalimer on that file (that most people obviously never read), it's said AT YOUR OWN RISK and thats what it means.

I know how long it would take me to write this program in ASP so I can appreciate the knowledge and time that went into it. The authors of these ( MODS ) can only take you so far, you have to do the rest. If that means you have to go out and buy a book and read about CGI for 2 months to understand whats going wrong with the scripts then thats what you have to do. noone has time to come to your house to install mods for you, just to keep people from flaming their mods on these boards.

From what I've seen these guys try to help people with the mods they wrote all the time. They gave you the mod free so obviously they want to see it work for you. But if you come with a negative attitude trashing thier work, how much help do you think your going to get from them or the main body of the community here. Real world or cyber world, noone likes a cry baby. I know I sound harsh but I've learned 4 languages by reading books and CGI is going to be the next one. In my book the ONLY way you can flame anyones mod, is by writting a better one, other than that, you aint got nothing coming

Newbie from Hell
Rick
Posted By: Pilot Re: Private Messages 3.5b - 11/03/2000 11:10 AM
The installation instructions could be clearer - if people are not uploading ubbcodebuttons then it must be due to poor instructions. Any hack should be self-contained. It should include all the documentation required without reading through 13 pages here.

Programmers just love documentation! The worst person to document any code is the guy who wrote it since they make too many assumptions. Get someone else to try to install it and see what they find confusing.

Good programmers make things easy for less technical people. That's how Bill Gates got to be the richest man in the world. I'm lucky to be professionally IT literate but others aren't.
Posted By: Pilot Re: Private Messages 3.5b - 11/03/2000 3:08 PM
Another problem I have with PM is this. If the username/password stored in my cookie is not valid - PM rejects it (so far so good) - but does not prompt for the correct name/password (not so good).

Could you change the PM code so that if the cookied username/password is rejected then the PM login screen is presented so the user can type in the correct values?

In other words once you have determined that the values in the cookies are INVALID - don't use them automatically next time!!!

Or at least provide a user prompt to correct them!

Once a wrong value is in the cookie (eg after a password change in UBB profile) - you can never get PM to work again at the moment without deleting the cookie!

This message has been edited by Pilot on November 03, 2000 at 07:15 AM
Posted By: Vipermad Re: Private Messages 3.5b - 11/03/2000 4:26 PM
Allen and all...
If you get a chance to respond...everything works great so far...but I have NO SENT messages listed. Both views (single page or 2-page). People are sending them and others are receiving them...but they do not show up in the outbox. Hope you have time to respond [Linked Image]

OK, disregard! I just registered my son and his worked...so I deleted all MY files in the private folder (I think they were corrupt) and all is OK!

Vipermad

This message has been edited by Vipermad on November 03, 2000 at 08:11 PM
Posted By: Igor Re: Private Messages 3.5b - 11/04/2000 7:54 AM
Quote
quote:
Same problem here!!!
I made some research, and apperently this is problem with cookie - it grows in size each time I wrote new message. I looked into the cookie file: instead of User name Bob it shows BobBobBob

Can somebody have an idea how to fix that? Please help.

PS: Please, do not write any more messages about bad programming skills or anything like it - this is not polite.
Posted By: Gizmotic Re: Private Messages 3.5b - 11/04/2000 1:43 PM
What have i done wrong ?

"privatesend.cgi?" just brings up an empty page...

*everything else works
*permissions are set correctly, *directory "private" is set 777 in my cgi-dir
Posted By: Matze Re: Private Messages 3.5b - 11/04/2000 1:53 PM
This is a problem, which had been here discussed many times before! Do you have the codebuttons.pl in your cgi Folder? If yes, there seems to be something wrong with your implementation of the PM 3.0, please recheck all instructions (see in private.cfg too)!

------------------
Matze
Posted By: Gizmotic Re: Private Messages 3.5b - 11/04/2000 2:20 PM
Thanx for the fast answer
anyway, i've checked everything and it still won't work.
For the meantime i'll reinstall 2.2 again...
Posted By: Greg Hard Re: Private Messages 3.5b - 11/04/2000 11:45 PM
Borg, Allen??
My problem is huge, can someone help

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 11/05/2000 2:11 AM
Just got back in town everyone... will try to contact Borg and see what's up...

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

- http://www.stand318.com
Posted By: Flare945 Re: Private Messages 3.5b - 11/05/2000 2:20 AM
well i got past my previous problem, but now I get this when I was trying to send a PM:


flock() unimplemented on this platform at C:UBB547/private.pl line 482.
Set-Cookie: UserName=Flare945;expires=Fri, 2-Nov-2001 21:25:59 GMT; path=/ domain=192.168.1.101
Set-Cookie: Password=******;expires=Fri, 2-Nov-2001 21:25:59 GMT; path=/ domain=192.168.1.101


any ideas?

Note: I edited out my PW, since it is the same as it is here on UBBDev.
Note: I posted this before, and got no replies. Thats why I am posting it again.
Posted By: Pezman Re: Private Messages 3.5b - 11/05/2000 10:47 AM
Privatesend.cgi just brings up a blank page on my UBB also.

I followed the directions to the T!
Posted By: Pezman Re: Private Messages 3.5b - 11/05/2000 11:10 AM
Well codebuttons will hopefully work.
http://www.h-realms.com/codebuttons3.5.zip

is where to go to get it, incase anyone doesn't want to read all of that **** .

codebuttons.pl
codebutton.pl
code buttons

whatever the hell it is called.
Posted By: Pilot Re: Private Messages 3.5b - 11/05/2000 2:22 PM
Can I make a request for a stable release before any more features are added please?

Some of us are suffering from bugs (especially cookie problems) and would like a stable release to install.

I am using 2.2 and my cookies are still getting damaged by PM code. I have to delete my cookies every couple of days.

However it might add more problems to use the current beta releases - so can "we" fix the bugs and get a stable release out soon please?
Posted By: Greg Hard Re: Private Messages 3.5b - 11/05/2000 4:42 PM
It IS stable. My cookies are fine.

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board. I am not an employee of Infopop

Due to time limitation, I do not offer support Via. E-mail. Please post on the forums.

Sincerely,
MasterMind
Posted By: NBAustin Re: Private Messages 3.5b - 11/05/2000 7:10 PM
My users are have cookie problems left and right, and have to rset them every few days.
Posted By: jlaine Re: Private Messages 3.5b - 11/05/2000 7:20 PM
I have had no cookie issues running this version- I had some minor ones with the version prior, but I also have codebuttons3.5 installed.
Every option on PM's are working correctly with my installation.

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: TwiZteR Re: Private Messages 3.5b - 11/05/2000 8:49 PM
Well..installing the ubbcodebuttons helped me alot, but gave me some new problems..heh...because none of the images is working now...and do I really have to do the hack before they show ?? and do I have to upload some new pics then??

and one more:

when in the hack says:

## FIND: (Smilie CP Add-On)

$Preppie =~ s/

/nrn/isg;
$Preppie =~ s/
/n/isg;
$Preppie =~ s//:)/isg;
$Preppie =~ s//:(/isg;
$Preppie =~ s//:D/isg;
$Preppie =~ s//;)/isg;
$Preppie =~ s//:o/isg;
$Preppie =~ s//:p/isg;
$Preppie =~ s//cool/isg;
$Preppie =~ s//:rolleyes:/isg;
$Preppie =~ s//mad/isg;
$Preppie =~ s//eek/isg;
$Preppie =~ s//confused/isg;


## REPLACE WITH THIS:

$Preppie = &ConvertSmilies($Preppie);

shal I replace the whole thing with $Preppie = &ConvertSmilies($Preppie); or shal I replace every line or what ??
Posted By: jlaine Re: Private Messages 3.5b - 11/06/2000 12:11 AM
You need to replace the entire code block with that one line- and follow the instructions to a T, the functionality of this hack has been proven, with that minor edit exception that I am still trying to recreate... (although you should have tagged this message to the ubbcodebuttons hack)...

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.

This message has been edited by jlaine on November 05, 2000 at 04:15 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 11/06/2000 1:54 AM
You can't get the functionality of codebuttons without installing them...[Linked Image] Uploading the codebuttons.pl file just eliminates the errors associated with pm's.

Flare, it sounds like you are running this on WIN95,98 or ME, and PWS, which doesn't support file locking. Is that the case?

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

- http://www.stand318.com
Posted By: Flare945 Re: Private Messages 3.5b - 11/06/2000 2:05 AM
you got me allen. is there any way to fix this problem?
Posted By: Igor Re: Private Messages 3.5b - 11/06/2000 7:53 PM
Quote
quote:
That is right! I have same problem.
Posted By: DJLunacy Re: Private Messages 3.5b - 11/06/2000 8:14 PM
I installed everything and so far it works fine. The only problem is when I enter in an e-mail adderss it says [email protected] is not a registered member of the board. Also it displays the infopop copyright twice in the error screen..


------------------
Peace Out,
DJLunacy
www.mp3.com/voi
Posted By: TwiZteR Re: Private Messages 3.5b - 11/06/2000 8:45 PM
well...how do I make the Memberslist button work then ??...as the button searches for memberlist.cgi while my memberlist is memberslist.cgi
Posted By: Ell Re: Private Messages 3.5b - 11/06/2000 9:03 PM
Three cheers for DOD-THE KAHN!

Pilot: re instructions... welcome to beta. The idea is not for you to get a working product, but for you to help us smooth out the kinks so that it works for everyone. It's been said before, and I'll say it again: You don't like beta, you live without frills and run the last stable release. Of course good programmers want to make things easy for less technical people.. what do you thing "testing" is about? We could just release it as it is and tell you all to "fix it for yourselves"... it works fine here, at my board, at MasterMinds and at 2 others... we're doing this for you! I wrote the documentation on the fly not to be good documentation, but so I could give it to someone who could install it, and figure things from there.

Everyone: Sorry, but if you post "I click on xxxxx and it gives me a white screen!" We're no closer to helping you than coding self-writing UBBs. At least a list of other mods you have installed would help, at the bare minimum!

MasterMind: Thanks for all the problems. [Linked Image]

Oh, BTW all, I'm back if ya hadn't noticed. [Linked Image] I'll get to work on this mod ASAP, to bring it to the finished stage...

Pilot: If your browser cookies behave in an unconventional way, it might be handly to give exact details of your browser...
Posted By: Matze Re: Private Messages 3.5b - 11/06/2000 10:14 PM
My Cookie problems went away after updating the Cookies subroutines in the ubb_library.pl with the newest one from the Who is online Hack:
Code
code:
I think, this will work at other Board's too - test it [Linked Image]

------------------
Matze
Posted By: Igor Re: Private Messages 3.5b - 11/06/2000 10:41 PM
Thank you Matze,

I will newer forget this - you help a lot!
PM finaly works on my forum!!!
Posted By: Matze Re: Private Messages 3.5b - 11/07/2000 12:54 AM
Not me, it was done
Quote
quote:
[Linked Image]

Matze

This message has been edited by Matze on November 06, 2000 at 04:57 PM
Posted By: Pilot Re: Private Messages 3.5b - 11/07/2000 10:46 AM
Hi Borg, I use Netscape 4.72.

Can you post the URL to the current (stable) release please! I don't want to pick up the wrong one...

Thanks

BTW - I live not far from you!
Posted By: Fujin Re: Private Messages 3.5b - 11/07/2000 8:18 PM
Hey this is just a thought, i tried installing whos online before i had pms and it worked except it did not have the online.cgi so i removed it later i found the online.cgi file and when i added whos online(after adding pms) it did not work. Hey it might be a thing that the 2 codes alter each other and cause problems.

My opinion is to remove the Whos Online, its a BB not a freaking chat.

------------------
Matt
Posted By: DJLunacy Re: Private Messages 3.5b - 11/07/2000 9:25 PM
I insatlled who's online after pm mabey i should go and make sure the cookies and everything else aren't all outta wack..



------------------
Peace Out,
DJLunacy
www.mp3.com/voi
Posted By: DJLunacy Re: Private Messages 3.5b - 11/07/2000 9:53 PM
from what i can tell cookies are fine. I was going through the code and i noticed that there are some incosistancies. Like when cal added the cookie sub he ended the script with

1;

but privatesend doesn't etc. The line navagtion you know tline, you should consider nuking that becuase you have the drop down on top of the image you might want to move that in the place of it.

Also the most annyoing thing is seeing the copyright notice twice. I looked for a second to see where it was at but didn't feel like breaking anything.



------------------
Peace Out,
DJLunacy
www.mp3.com/voi
Posted By: Thermit Re: Private Messages 3.5b - 11/09/2000 12:40 AM
Okay, props to all who have been working so hard to make this thing work.

Here's my $0.05:

1. The 3.0 zipfile in the database contains several files that look like they are binary. (i.e. newline replaced with little black square) This doesn't cause a functional problem, but it is gonna be a pain when debugging, customizing, etc. I haven't bothered to write a program to fix it, but guess I will if zip isn't fixed.

2. Was getting white screen at first after following directions to a T, but after reading dozens of pages in this thread, yes...it was just needing the UBB Code Buttons perl file installed to work. (Note to those who may not realize this: You may not have to actually add the full Code Buttons Hack, but it is gonna look ugly as hell if you don't, or require further hacking to remove UBB Code references)

3. There may be a cookie problem. I can't really say because I'm not sure how smart the code is supposed to be, but here is what I see: I'm trying to test the hack. So I have two IDs, of course, my main user ID and an alternate ID. I get two browser windows, one dedicated to each ID. I erase cookie information in Preferences to make sure everything starts clean. Then I login each seperate ID in it's own browser. (One note, I don't have to type in the password...it works without it...this seems to indicate something isn't working right already.) Anyway, everything seems to work okay viewing and sending messages, but if I hit Receive Messages in the alternate ID window while looking at inbox messages, it suddenly displays the inbox messages for my main ID. So, either there is some cookie problem, or it is simply impossible for a person to test this using only one computer. Tell me, is this a cookie problem or just the way it is supposed to work??

4. Would be nice to lose the "Hop To" bar, but I can do that myself.

5. I'm not concerned about this particular feature, but the Outbox doesn't seem to work. (i.e. Is always empty)

Thanks.
Hope someone can answer my cookie question...

__________________________________________________________________

Here is another bug scenario:

I use my main user ID and send a message to my alternate ID. Then in another browser, I clear cookies in preferences, then login to private messages using the alternate ID. I see the message that was sent and click on the message to read it. Then I click on the reply button, which brings up the compose private message screen, everything looks good. Type in a quick reply and hit the Send button, get Internal Server Error page.

This message has been edited by Thermit on November 09, 2000 at 02:19 PM
Posted By: Vipermad Re: Private Messages 3.5b - 11/09/2000 2:00 AM
I thought the SAME thing about my outbox...till I registered my son at our site and his worked! Imagine my surprise when mine worked perfectly after deleting all of my PM files on the server. Not sure what happened, but once I did that it all worked as advertised. HTH!! [Linked Image]
Posted By: AllenAyres Re: Private Messages 3.5b - 11/09/2000 5:29 AM
Thanks guys, for looking at this... Borg is studying for exams right now, but has said he should be able to get back on this on Thursday. Your beta testing and reporting will be a big help in his finishing this up asap.

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

- http://www.stand318.com
Posted By: Pilot Re: Private Messages 3.5b - 11/09/2000 8:23 PM
PM 3.0 is not beta right - that's why it is in the hacks database here?

A lot of my users (myself included) are finding that they get admitted to private forums without the password prompt ever appearing now. I am not saying this breaks security but it certainly is not how it worked before the cookie problems emerged following the install of PM and/or Who's online.

If I had a dedicated server I would be looking forward to vbulletin v.2 which included PMs, polls, online etc in the standard build code! www.vbulletin.com
Posted By: AllenAyres Re: Private Messages 3.5b - 11/09/2000 8:31 PM
As has been stated many times, pm3.0 is most definitely beta... this thread is in the beta forum, every post by borg here mentions it is beta...

Bypassing the login screen for private forums is ok as long as you are allowed to be in there in the first place... are any users admitted to pf that aren't supposed to be there? It seems to me that's how it should work... why should I sign in if I don't need to, and those who aren't allowed are still kept out? Please post in our private forums if you are allowed access without signing in...

vB has its own problems, a little more serious than pm's, but this isn't the thread to discuss them... go to chit chat if you like, there are several threads there that do...

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

- http://www.stand318.com
Posted By: Rattler til Death Re: Private Messages 3.5b - 11/10/2000 12:32 AM
Allen,

I think that Pilot is having the problem because the PM code sets the cookies not taking into consideration whether a person have selected to store the cookies for a year or not. It just sets the cookie with some expiration date that is in the distant future. I doesn't even check what the value of the NameStorage variable is.

Just like everytime I come to this site, it automatically knows who I am and I have it set so that my username and password are not saved in memory. Yet it still knows who I am.

I modified the PM's on my board to eliminate the call to the set_cookie subroutine and added code that will use the ForwardWithCookies routine that postings.cgi uses. That way, the cookies seem to be set right.
Posted By: Muc Re: Private Messages 3.5b - 11/10/2000 12:49 AM
Is there a instruction outside how to upgrade to 3.0 from CYM Private Messaging Center 1.5 ??

would be nice, thanks
Posted By: Viper10799 Re: Private Messages 3.5b - 11/10/2000 3:04 AM
i dont know how to do this can someone explain(this is my first time with a ubb) and i dont understand how to insert this perticular hack(private message) will someone plz help me???
Posted By: AllenAyres Re: Private Messages 3.5b - 11/10/2000 3:17 AM
Rattler, I understand what you are saying... this is still a work in progress and should work much better once a few bugs are worked out... apparently the newest version is still not in the database, so you aren't getting all the bug fixes yet. Hopefully borg will be able to work on this some tomorrow and we can get a less-buggy version out...

Muc, all you have to do is upload the new cgi, cfg, and pl files to get the new functionality... no new coding needed... also upload the codebuttons.pl file if you already haven't installed them to avoid the errors...

viper, this one isn't for the faint of heart, or the very new users. You should start off with something a little easier and workup in complexity...

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

- http://www.stand318.com
Posted By: scats Re: Private Messages 3.5b - 11/10/2000 8:20 AM
Hello!
Just a suggestion/question:
Why isn't v 2.0 of this available for download in the database, I wonder? I wrested with this beta for quite some time, then tried v 1.5 (which caused endless errors on UBB 5.47.), but v 2.0 worked perfectly on my system on the first install... [Linked Image]
I'm just surprised it isn't there, unless I simply missed it. (?)
Posted By: Thradar Re: Private Messages 3.5b - 11/10/2000 8:44 AM
I was wondering when you would finally post something scats. [Linked Image] Glad you got the old version of PM working anyway.

------------------
Neal 'Thradar' Ulen
Webmaster - GamerForums.Net
Senior Editor - Moviefan Online
Posted By: Pilot Re: Private Messages 3.5b - 11/10/2000 12:53 PM
Quote
quote:
Great - can you post your code changes so I can fix this problem? It is urgent! Version 3 may be beta but this problem is caused by earlier versions that are not meant to be beta. So we need fixes as well as new beta versions really!

Appreciate if you can Email the changes (or even just the entire CGI files that you fixed) to me ASAP

pilot@scotsmen.co.uk
Posted By: scats Re: Private Messages 3.5b - 11/10/2000 4:29 PM
I'm glad too Thradar. [Linked Image] And thanks for recommending this site.
Posted By: Thermit Re: Private Messages 3.5b - 11/10/2000 5:41 PM
If we can get the latest greatest version of PM 3.0 that UBBDEV is running here combined with the ForwardWithCookies routine then I think we will be really close...
Posted By: Outlaw Re: Private Messages 3.5b - 11/11/2000 5:51 AM
Quote
quote:
I have PM 3.0 running smoothly on 3 boards now, but I think it is VERY irresponsible of you to have 3.0 posted in the database. People tend to trust that what is in the database is final product as has been the case. having 3.0 in the DataBase while we all know the hardship involved in getting it working [and yes the cookies are screwed] especially since the instructions are poor at best, is not ver proffesional IMHO.
Posted By: Vipermad Re: Private Messages 3.5b - 11/11/2000 6:44 AM
Not sure if this will help or not, but it pertains to the OUTBOX in the latest version available to us simple folk (I think) [Linked Image]

If I send a NEW private message, or FORWARD a private message, it shows up in the outbox.

If I REPLY to a private message it DOES NOT show up in the outbox.

I can repeat this at will, and have verified there are no entries in the $user.db file.

Hope this helps the "cause" [Linked Image]

Vipermad
Posted By: Muc Re: Private Messages 3.5b - 11/14/2000 8:23 PM
Hy Allen and Borg, I have a new (for me) problem with PM3.0

I don't know if this had been discussed before because I was not able to read 16 pages PM3.0 problems, so if this was discussed before just send me the link please and I'll be quiet. [Linked Image]

Here's the prob:

Everything works fine, but when I send a new PM to a email adress i get an 500 ISE. What's wrong ? Do you know this ?

thanks
Posted By: AllenAyres Re: Private Messages 3.5b - 11/14/2000 8:38 PM
Thanks Muc for the bug report... we'll look at that one too.

I found a bug on the version here as well... when someone sends an im, and hits "enter" or "newline" to go to another line in the message, the im sends one im with the info from the first line and a pm for the next line, from user "Yes" and "1" as the subject and the info from the second line in the im as the end of the url for the message... you can repeat this yourself by senbding yourself an im and using a 2 line message in it... doesn't happen when the text flows to the next line, only when a new line is made with the enter key.

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

- http://www.stand318.com
Posted By: Thermit Re: Private Messages 3.5b - 11/14/2000 9:13 PM
Allen, is that a bug in PM or a problem with the way IM calls PM?

Sorry for being so impatient, but is there anyone actually working on PM 3.0 right now?
Posted By: Muc Re: Private Messages 3.5b - 11/15/2000 1:38 AM
Allen, I didn't understand your posting. "You'll look on that bug to", so, what you gonna do ? Is this bug in every version of PM3.0 or is it made by me... I don't understand.
So if you wanna have a look at my forum (I don't think you remember the adress), the URL is here:
www.frustchat.de/cgi-bin/board2/Ultimate.cgi

username: furz
password: furz

thank you
Posted By: Logix Re: Private Messages 3.5b - 11/17/2000 1:02 AM
I'm having a problem. Well, here's the prob. I'm running the newest v5.47a I think it is. Well, whenever I click "New PM," a blank page comes up. I've set all the permissions correctly but it still comes up blank. Any suggestions would be nice.
Posted By: zParaduck Re: Private Messages 3.5b - 11/17/2000 1:19 AM
Logix, as stated before, you must the the ubb_codebuttons.pl in the CGI Directory for PMs to work. The hack doesn't need to be installed, the pl files just has to be present.
Posted By: Pilot Re: Private Messages 3.5b - 11/17/2000 5:57 PM
Are we likely to see PM v4.0 (please make it have the cookie fix suggested above!) anytime soon?

Cookie problems are the number one problem because they affect UBB functions outside of PM making this "beta" code affect the whole of UBB and no-one expects that even of betas...

I sometimes find that I can't post in a private forum (says I am not auth), is OK after I delete cookies (for the hundredth time!).

The users are also reporting that red folders don't show properly for new messages - again probably a corrupt cookie problem.

Thanks
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 2:22 AM
I have uploaded the beta of v3.5 to our server:
[admin edit] latest files are here. [/admin edit]

Warning!! This is alpha/beta code! There are definitely errors present. We are not responsible for errors that may happen to your site.

It seems that our friend Borg is extremely busy with work. I hope by releasing this, we can get a few heads together to bugfix it... These are the same files installed here and I used the same instructions, which aren't the clearest... they will be rewritten as the bugs are squashed...

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

- http://www.stand318.com
Posted By: Matze Re: Private Messages 3.5b - 11/22/2000 3:18 AM
Allen, why not finishing 3.0 first? Is there a stable release???? shocked

I think i find another Bug in the 3.0 Version execpt for the known and discussed here.

When i used it in a Board where unregistered Users can write and Post, there will be a PM-Symbol for an unregistered User!!!!

Example Link:

http://www.bandit-umbau.de/forum/ubb/Forum13/HTML/000069.html

First I'm unregistered with no PM Symbol, then the Admin posts after me and i got a PM Symbol on first posting with pm-link to the admin!. After posting again, the Symbol of PM isn't lanoger availible at the first posting, but at the other two posting i got the Symbol to send another User a PM!!!

What the hell is this for a....:o

Perhabs we could get together a stable Version of 3.0 which will run without who is Online, Cookie-trouble and Codebuttons?

Matze
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 4:13 AM
Anytime you let unregistered members post on a modified ubb, you are gonna get things like that... especially when you have stuff like ICQ, AIM, Y!Mess, etc... it's because they have no profile, yet the ubb is looking for profile info to put along that memberline...

I posted the zip file because I have been begged a bajillion times for the files... I do not plan to move on to new features until this one is worked out tho... if that's any consolation...

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 4:23 AM
- Just fixed a small bug in the pop-up from ubonline.cgi - it now uses the ubb's background color.

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

- http://www.stand318.com
Posted By: gamerzparadize.com Re: Private Messages 3.5b - 11/22/2000 4:53 AM
ok i get an internal server error when i click on the online button to send someone and IM at my site is this a screw up on my part or is it in the coding?

------------------
www.gamerzparadize.com
*ITS HERE*
Check it out!
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 5:04 AM
Got a link to your problem? I didn't see it at your main board... it is most likely an install error... I used the same instructions here...

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

- http://www.stand318.com
Posted By: Vipermad Re: Private Messages 3.5b - 11/22/2000 7:18 AM
Allen, I have the same thing...installed to a T...I believe [Linked Image] Have a look here at the Viperclub , go on into any forum. For the most part it was very straight forward. Seems to work just fine 'cept this one thing. COULD be my install, so I'll poke around some more...it's still early!! [Linked Image]

As a PS...I uploaded the UBonline.cgi from before the fix you mentioned above and there was no change. No big surprise, but part of the process I guess! [Linked Image]

Vipermad

This message has been edited by Vipermad on November 21, 2000 at 11:40 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 7:43 AM
OK.. uploaded the files again...

This time I included the ubbrandomx and y functionality in the private*.cgi files for those who need it.

I have also begun adding a bugfix text file so you'll know what has been done, when. When we get a little more accomplished, I'll redo the official documentation...

Those ISE's... did you upload ubonline.cgi in ascii? Did you check the perl path at the top? chmod to 755?

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

- http://www.stand318.com
Posted By: Vipermad Re: Private Messages 3.5b - 11/22/2000 7:54 AM
Yep, and double-triple checked. Could the placement of some of the code be causing this? I had occasion to wonder whether I was in the right place once or twice, but I failed on the side of what little experience I have. It seems it is the Ubonline.cgi failing (NO offense intended, just the only term I could think of this late!![Linked Image] ). I'll keep looking!!

Vipermad
Posted By: gamerzparadize.com Re: Private Messages 3.5b - 11/22/2000 4:40 PM
Here you go Allen I will leave the hack in long enough for you to take a look at it.
www.gamerzparadize.com/cgi/Ultimate.cgi and when i click on the online to send an IM it gives me an internal server error 500 I have UBonline.cgi uploaded and chmoded to 755 and the perl path is correct.

------------------
www.gamerzparadize.com
*ITS HERE*
Check it out!
Posted By: Dark Templar Re: Private Messages 3.5b - 11/22/2000 5:24 PM
I know this has been said before, but I'll say it again-

This doesn't work with netscape for some reason. I have Netscape. I don't like IE. Therefore, getting this to work with NS is top priority in my book. Anyway, Borg's version at the Planet Community works just fine in netscape. Someone needs to share the new code [Linked Image].

------------------
--Dark Templar
Posted By: gamerzparadize.com Re: Private Messages 3.5b - 11/22/2000 5:51 PM
Yes I think Borg is holding out on us..

------------------
www.gamerzparadize.com
*ITS HERE*
Check it out!
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 7:15 PM
What does it do in Netscape?

Also, I am really not sure what is different from what you guys are doing and how we have it installed here... I probably need to redo the install instructions so they are clearer...

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

- http://www.stand318.com
Posted By: Thermit Re: Private Messages 3.5b - 11/22/2000 7:20 PM
I won't be using the Instant Message part of this hack, so I'm proposing incorporating this simple addition to the code base to make the IM aspect of PM optional via the config file:


IM Optional Hack

In the variables section of private.cfg add the following lines:


Code
code:

In privateview.cgi find:


Code
code:


and right BEFORE add:


Code
code:


Also in privateview.cgi, find:


Code
code:


and add the following right AFTER:


Code
code:
Posted By: Fuzion Re: Private Messages 3.5b - 11/22/2000 7:21 PM
Well Allen everything works it didnt blow up my UBB, but the only thing that doesnt work is the popup window i get an ISE

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 7:23 PM
testing in netscape... that looks like an html problem with the popup...

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

- http://www.stand318.com
Posted By: Fuzion Re: Private Messages 3.5b - 11/22/2000 7:26 PM
Can we get a demo of what you are talking about Thermit?

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: Vipermad Re: Private Messages 3.5b - 11/22/2000 7:36 PM
Quote
quote:
Allen, I get the pop up window, then I get the "Save as.." dialog box to save UBonline.cgi. Tested here on this site.

Vipermad
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 7:45 PM
I get the same thing.. it appears the pop-up's javascript has a problem... I do note that borg doesn't have it installed on his site right now, and gets the same error messge we do when using the "check all" function in pm's...

Nice addition thermit... I'll test it as soon as I get a chance and add it to the download... what happens to the online/ not online .gifs when im's are turned off?

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

- http://www.stand318.com
Posted By: Thermit Re: Private Messages 3.5b - 11/22/2000 7:54 PM
Quote
quote:
Gamer, easier to explain than demo.

PM is setup to display your Instant Messages in certain cases (all cases?) and there is a header bar in case any Instant Messages are there, but in my case there won't ever be any so this mod, if added to the code base, will allow people to opt into displaying the instant messages and that associated header. It also turns off displaying the Private Messages header bar since there is no need to differentiate if not using Instant Messages.

_________________________

Thanks Allen. Don't know the answer to the question about gifs cause I don't have IMs.

This message has been edited by Thermit on November 22, 2000 at 11:56 AM
Posted By: Thermit Re: Private Messages 3.5b - 11/22/2000 8:02 PM
Here is another change that I propose for the code base. It cosmetically changes the "Hop to" Bar to look the same as the "Hop to" Bars on the standard forumdisplay.cgi pages. More specifically it increases the font size by one, changes color of "Hop to" text and basically looks a lot better. Here's a comparision.





Standard Hop To Bar

In privateview.cgi find:

Code
code:


and replace with:


Code
code:

This message has been edited by Thermit on November 22, 2000 at 02:02 PM
Posted By: Fuzion Re: Private Messages 3.5b - 11/22/2000 8:10 PM
I like the other hop to bar that comes with it. anyways thanks Thermit for explaining that too me.

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: Dark Templar Re: Private Messages 3.5b - 11/22/2000 10:21 PM
http://www.cheatcity.com/UBB2/Ultimate.cgi

WEAPON has it installed and working, netscape too. I'm 99% sure he got the stuff from Borg.

P.S. Meet me by the flagpole out front, we'll jump Borg on his way back to Planet Community. [Linked Image]

------------------
--Dark Templar
Posted By: AllenAyres Re: Private Messages 3.5b - 11/22/2000 11:26 PM
It isn't installed at planet community, but we can still jump Borg...[Linked Image]

MasterMind does have it installed on his sit and working correctly in NS... we should prolly gang up on him as well....[Linked Image]

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 11/23/2000 1:51 AM
LOL!
Come on over. Just dont bug the members. They get cranky with unknown visitors. Post something if you register allen. [Linked Image]

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

OCCUPATION: Programmer, webmaster.

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Sincerely,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 11/23/2000 2:14 AM
Will do MM... can you take a look at the latest files here and see where we are still having problems? There are a couple of errors we really need to clean up in this... the "check all" javascript error, the NS pop-up error, etc... they seem to work fine on your site...

After we clean this up, our next order of business will be to make this mod as much a standalone app as possible.... to cut down on the number of installation errors and making it portable for other uses....

Only after that is done will we begin to add more features....

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

- http://www.stand318.com
Posted By: thekopykat Re: Private Messages 3.5b - 11/23/2000 2:59 AM
nevermind

This message has been edited by thekopykat on November 23, 2000 at 12:24 AM
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 11/23/2000 4:17 AM
Wow, good thing I didn't install this. I know the UBB stores cookies in the host somewhere but I don't know where. Try going through your whole noncgi folder and delete all the cookies.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu
Posted By: Dark Templar Re: Private Messages 3.5b - 11/23/2000 4:20 AM
Dude...cookies are kept on your computer, not the host.

------------------
--Dark Templar
Posted By: Thermit Re: Private Messages 3.5b - 11/23/2000 4:35 AM
I really appreciate whoever added the code to make PM stand-alone from the Code Buttons Hack, however one small bugfix is needed:

No Code Buttons Bugfix

In privatesend.cgi find:

Code
code:

and replace with

Code
code:


Maybe mixing C++ and Perl metaphors? [Linked Image]
Posted By: Thermit Re: Private Messages 3.5b - 11/23/2000 5:19 AM
This seemed like a bug in privateprefs.cgi because the controls default to single page, but my actual default seems to be no outbox.

Find:

Code
code:

replace with:

Code
code:
Posted By: Vipermad Re: Private Messages 3.5b - 11/23/2000 6:09 AM
Allen and all,
I made some changes to the images to select all and unselect all. I also added two spaces between them in the code so they would be centered on the other buttons. Here they are:

Check All

and
Uncheck All


With the spaces between them they look very nice. Not much, but I feel good pitching in my one cent!! [Linked Image]

Vipermad
Posted By: Vipermad Re: Private Messages 3.5b - 11/23/2000 6:32 AM
OK, just a thought, but I'm not running the latest version of Who's Online (online.cgi)...Think that makes a difference? I'll try to get all the updated code installed tonight and report back. My version does not have the CP interface...I'm a little slow! [Linked Image]

Vipermad
Posted By: Vipermad Re: Private Messages 3.5b - 11/23/2000 6:43 AM
Sorry, please delete [Linked Image]

This message has been edited by Vipermad on November 22, 2000 at 10:45 PM
Posted By: Vipermad Re: Private Messages 3.5b - 11/23/2000 6:51 PM
I installed the latest Who's Online and the ISE problem persists...just thought I'd let you know. [Linked Image]
------------------
Tony (Vipermad) Rickard
Viper Club UBB Admin

This message has been edited by Vipermad on November 23, 2000 at 10:54 AM
Posted By: jlaine Re: Private Messages 3.5b - 11/24/2000 4:55 PM
Just FYI (I have lost track of all the versions lately... LOL)
The 3.0b that took care of the mailto: problem, had an issue with people with spaces in their name. It wouldn't acknowledge them- so I downgraded to 3.0 and stayed with that one- it would send the PM- but it would create a folder with the username without the space, and obviously they couldn't get their messages then...

------------------
My Site
The only difference between a fool and an eccentric are your beliefs in their ideas.
Posted By: mark* Re: Private Messages 3.5b - 11/26/2000 8:04 AM
ok i've got all the script working except from privatesend.cgi

can someone tell me what to do. [[email protected]]
thank's.
Posted By: Thermit Re: Private Messages 3.5b - 11/28/2000 10:43 PM
Master Mind, Allen...

Was wondering if any of these enhancements/bugfixes will be in PM 4.0?

IM Optional

Standard Hop To Bar

No Code Buttons Bugfix

Private Prefs Bugfix

Thanks
Posted By: zParaduck Re: Private Messages 3.5b - 11/29/2000 12:43 AM
Hey there, I just installed PM 3.5 and it works fine, except for Ultimate.cgi.

Whenever I go to Ultimate.cgi, I come up with "This page cannot be displayed, DNS error". If I remove all of my PM code in Ultimate.cgi, this error goes away.

My UBB Version is 5.47b

Do you know of a fix for this?
Thanks!

This message has been edited by zParaduck on November 28, 2000 at 04:43 PM
Posted By: Fuzion Re: Private Messages 3.5b - 11/29/2000 1:17 AM
sounds like an instalation error i have no problem with it and i am using 3.5a on version 5.47a and it works fine.. did you install UBB IM? that has a lot of bugs you might not want to install that.

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: zParaduck Re: Private Messages 3.5b - 11/29/2000 1:28 AM
What's UBB IM? Is it the same thing as PM 3.5?

I have the following hacks installed:
UBB Code Buttons 3.5
Who's Online
Ubb Poll 2.0a
Posted By: Fuzion Re: Private Messages 3.5b - 11/29/2000 2:21 AM
Its an Instant Messanger for the UBB much like AIM but much crappier.

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: Greg Hard Re: Private Messages 3.5b - 11/29/2000 2:29 AM
Nothing like aim at all.

Allen,
Are ya gonna add the two bug fixes above into the code?

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

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Regards,
MasterMind
Posted By: Fuzion Re: Private Messages 3.5b - 11/29/2000 2:33 AM
I like ubb code buttons why would you want to add something that takes it away?

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: Greg Hard Re: Private Messages 3.5b - 11/29/2000 2:41 AM
Wait....who was using == for a variable? Tsk tsk.

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

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Regards,
MasterMind
Posted By: Thermit Re: Private Messages 3.5b - 11/29/2000 5:15 AM
Quote
quote:
Gamer, it's just an option. I happen to be opting out of "code buttons".
Posted By: AllenAyres Re: Private Messages 3.5b - 11/30/2000 2:46 AM
OK, uploaded the latest files with bugfixes again... https://www.ubbdev.com/hacks/beta/pm_im_3.5beta.zip

Thermit, added all your fixes except the "hop to" box change, since some people like the new look. I also got a little closer to fixing the NS im pop-up issue... still doesn't work tho... any assistance appreciated.

We are using the same files here, so this site is your demo of how these files are working now...

If you already have pm's installed, just upload the files in this zip to get the upgrade, no additional coding is necessary... you will need to do some coding to add im's if you don't already have them installed....check the readme.txt for instructions.

Check the bug fix list txt for change info and dates...

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

- http://www.stand318.com
Posted By: vietnight Re: Private Messages 3.5b - 11/30/2000 4:06 AM
i have this install but i can't see the image at all and when click on it to sent a msg it only show the image offline.

any help


------------------
I Am lost...
Angel is looking for me, help
Posted By: AllenAyres Re: Private Messages 3.5b - 11/30/2000 4:16 AM
got a link to the problem?

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

- http://www.stand318.com
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 11/30/2000 4:35 AM
I am still having problems with the inbox/outbox default. I change it to single layout and it is still default at no outbox. Another thing, some of my members can't send/receive PM's? Too many bugs, ugh. One more thing, how come the UBB image button isn't showing up in privatesend.cgi?

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

This message has been edited by GoTorankusuKu on November 29, 2000 at 08:40 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 11/30/2000 6:21 AM
Have you uploaded the above latest files Goto? We aren't having problems with that...

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

- http://www.stand318.com
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 11/30/2000 6:43 AM
Yeah I did a file compare and uploaded them. Some of my members can't receive nor send. Very strange, the image button is missing in UBBDev PM's too.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu
Posted By: vietnight Re: Private Messages 3.5b - 11/30/2000 6:44 AM
here is the link
http://155.42.83.210/ubb547/Forum1/HTML/000048.html
Quote
quote:


------------------
I Am lost...
Angel is looking for me, help
Posted By: zParaduck Re: Private Messages 3.5b - 11/30/2000 7:09 AM
Hello, I updated to the version posted earlier today and reinstalled. I still get the "Page cannot be displayed
Cannot find server or DNS Error
Internet Explorer" error when I go to my Ultimate.cgi

I cannot figure out what is wrong!

The link to the board is http://www.backtobed.com/cgi-bin/Ultimate.cgi
Posted By: rzr Re: Private Messages 3.5b - 11/30/2000 9:02 AM
is there any way to make the PM system so that instead of creating a new message for each reply, (which copies the previous reply, and adds it on, and some people like it that way) because some of these messages become redundant, and add quite a bit to the space. if it was like the general ubb posting method, where there is one thread, and replies are added onto that same one, it would solve that problem. and if users wanted to create a new topic, ofcourse that would be separate. but this would cut down and the space usage a lot! we've seen that our users like to keep replying to the same thread, instead of creating a new message for each reply. but instead, having one "topic" and with replies being added like ubb, it'd be one topic, that gets added onto, saved, deleted, or whatever. though i'm not sure completely how you'd implement it, as each user has a separate messages database. (currently we're running 30+MB per user, as they almost seem to "chat" using pm) so it is quite the cause for concern.

thanks a lot, and you guys have really done a great job with PM! thankyou.
Posted By: SpAwN Re: Private Messages 3.5b - 11/30/2000 9:25 AM
Ok Allen just installed PM3.5 and it works smootly no problems at all

Only if i install IM i get blank page in forumdisplay.cgi, not a error thus i removed the coding for IM.
I'll wait till you guys redocument the hack to a clean version.

I am already happy with PM3.5 btw [Linked Image]

Thanks...

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

I got also UBB hacks database
Posted By: Dark Templar Re: Private Messages 3.5b - 11/30/2000 5:30 PM
Spawn, it doesn't run smoothly and perfectly...I wouldn't know though, because I USE NETSCAPE!!! If you paid attention, you'd know that it doesn't work in netscape.

------------------
Posted By: SpAwN Re: Private Messages 3.5b - 11/30/2000 5:33 PM
Well let me say this, i dont give *** what NS does [Linked Image]

Edit: It does work good with NS6

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

I got also UBB hacks database

This message has been edited by -=SpAwN=- on November 30, 2000 at 09:36 AM
Posted By: Sukotto Re: Private Messages 3.5b - 11/30/2000 6:02 PM
Could you tell me what files to update for the new 3.5 beta you updated yesterday? I don't want to have to install it all again.

------------------
http://forums.pp-network.com
http://www.pp-network.com
Posted By: AllenAyres Re: Private Messages 3.5b - 11/30/2000 6:53 PM
Goto, it sounds like a space in the name problem, which was fixed quite a while back. Be sure and upload the latest to get all the bug fixes...

Viet, I really can't tell where your install problem is, it could be conflicting with that memberline bar... several bugs are apparent.

zpara, that's a dns problem, which the pm's have nothig to do with. Check with your host to see if they are having problems.

rzr, that is something like a personal/ private forum, not really what this was designed to do... the easiest way to fix your resource problem would be to set the auto-delete to something reasonable, like 30 messages... they can copy/ paste if they want to save them on their own pc... I always delete the previous message unless it is necessary...

PP-N, as always, just upload the files included in the zip to get the latest revisions for pm's. No new coding needed... im's will require new coding if you don't already have them installed...

Thanks everyone for assistance in this bug testing........

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

- http://www.stand318.com
Posted By: zParaduck Re: Private Messages 3.5b - 11/30/2000 9:37 PM
Allen, I'm 99.9% sure it isn't a DNS problem. I can get to my other site files fine. If I removed the code in Ultimate.cgi it works fine =)

UPDATE: I got it to work now =) Had to move my forums code down past my UBB Poll code!
Posted By: Dark Templar Re: Private Messages 3.5b - 11/30/2000 10:11 PM
Somewhere in the coding, I forget where, but it calls "ubonline.cgi". You really ought to fix it so it links to "UBOnline.cgi" (the right way), because these things are case-sensitive.

------------------
Posted By: BaDaBOom Re: Private Messages 3.5b - 12/01/2000 9:57 PM
I have big probs with the PM 3.0 hack!
I have installed the CODEBUTTON 3.5 Hack ....
My first prob is, when I want to post a pm I get get first the normal screen and can fill in everything BUT when I want to send it I get only a 500 error!
And if I take another (for example from vers. 3.5)privatesend.cgi, I can't fill anything cause I get immediately an error when I try to get into my pm-box!
My secound prob is when I want to post a normal reply or post a new topic I can also fill first everything but then when I click submit I only get a white screen!

This message has been edited by BaDaBOom on December 01, 2000 at 02:01 PM
Posted By: scats Re: Private Messages 3.5b - 12/03/2000 1:11 PM
I just installed this and so far, so good.

Just wanted to point out a couple minor things:

1) Looking at the source code of privateview.cgi using my browser, I could see my password in the html. Granted someone would have to have my password to get into private view to begin with, but still.

2) In preferences, couple of typos (recieve-->receive, effected-->affected). Also, no matter how prefs are set, the radio button defaults back to "NO outbox" when you revisit them.

Otherwise, fantastic job. [Linked Image]

------------------
Posted By: WEAPON Re: Private Messages 3.5b - 12/03/2000 7:00 PM
I'm not sure if this has been answered, so I'm going to ask. Has the "Yes" error been fixed yet?

------------------
-Webmaster of Cheat City
Posted By: AllenAyres Re: Private Messages 3.5b - 12/03/2000 7:15 PM
Thanks scat for the info, I'll update them tonight and post the files.

We are most likely gonna be separating the IM's from the PM's so that we can clear up the bugs a little more quickly and make the IM's an add-on. PM's 3.5 is close to being just about clean, it's the IM's that are giving most people problems...

The "Yes" error has not been fixed yet, it's one of the bugs that IM's has working against it and happens when someone sends an IM with carriage returns in the message body.

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

- http://www.stand318.com
Posted By: scats Re: Private Messages 3.5b - 12/03/2000 8:55 PM
Have people been having problems with their outbox? Mine is very kooky, saves PM's to certain members while not others. Deleting all cookies and resetting prefs doesn't affect it.

http://www.scattergirl.com/ubb_cgi/Ultimate.cgi?action=intro
Test subject is Joblo, pass "test123".

This message has been edited by scat on December 03, 2000 at 12:57 PM
Posted By: Thermit Re: Private Messages 3.5b - 12/03/2000 10:59 PM
I realized that my private prefs fix for the outbox selector wasn't complete. Sorry about that.

In addition to previous tweak:

https://www.ubbdev.com/ubb/Forum3/HTML/000065-17.html#405


Also do this:

In privateprefs.cgi find:

Code
code:

and replace with

Code
code:
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 12/04/2000 12:25 AM
Yeah, the top fix did it Thermit! I have 2 more problems with 3.5

1) The borders in privateread.cgi, the lines are suppose to be black, but instead they are grey. Here's a screenshot of what I'm talking about http://dbz.star64.com/uploads/ubbhacks/screenshot.jpg (the grey lines circled in red)

2) I'm having the problem with the outbox not saving a message sometimes. Sometimes when I send a PM it saves it to the outbox and sometimes it doesn't.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu



This message has been edited by GoTorankusuKu on December 03, 2000 at 04:28 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 12/04/2000 1:06 AM
Still bug testing... if anybody remembers, we began re-doing the cympm 1.5c because it had your username and password in the url in the messages sent to you, potentially a security risk.

I find it hard to imagine no-one has mentioned the condition still exists in your outbox. Go to your outbox here and hover over any message in it and you'll see what I mean... most likely no big deal, but can be. I am gonna look at this tonight and see if it is possible there may be an easy fix for it, something like copying over what was done for the inbox to the outbox... prolly not, but worth a look.

Thermit, thank you for the additions, they are in the code here now. I tested in sending pm to users with and without spaces in their names, it seems to be working well...

I will get the files uploaded shortly with all current bug fixes (found a couple more typos scat) and with the IM's separated out and their own thread started for those intensely interested....

Goto, those border colors were what Muc was all worked up about a few weeks ago. I believe a fix was posted somewhere here in another thread about it. It is a table border/ spacing problem.

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

- http://www.stand318.com
Posted By: Thermit Re: Private Messages 3.5b - 12/04/2000 1:46 AM
Cool.

Gotu, the problem of the table border, which is evident in several of the scripts, doesn't look like a trivial fix. The code doesn't seem to reference "$TableBorderColor" which is the color that is missing, also the structure of the tables doesn't currently seem to be setup right to enable the look and feel of standard UBB pages. I believe this requires nested tables to achieve the correct effect, the missing outer table's background provides the border.

Fixing this would really make PM look good and match the rest of the UBB. Any volunteers?
Posted By: AllenAyres Re: Private Messages 3.5b - 12/04/2000 2:23 AM
OK, files are uploaded with latest bug fixes... IM's are now an option and are set to "no" right now. Re-set them to "yes" in private.cfg if you want them to work. IM's will get their own thread started tonight.

If you want the latest updates and already have pm's installed, just upload the files included in this zip file, no other coding is required.

Get it Here

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

- http://www.stand318.com
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 12/04/2000 3:33 AM
Allen, have you fixed the image UBB Code Button in PM? At here and my UBB, the image button doesn't show just thought to let you know.

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

Posted By: Greg Hard Re: Private Messages 3.5b - 12/04/2000 3:35 AM
Allen -
Those files dont seem to include any fixes mentioned.

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

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Regards,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 12/04/2000 3:41 AM
I never noticed Goto... wonder what's up?

MM, they have all the fixes listed in this thread except the different "hop to" box that thermit had done... what's missing? Check the text file for bug fixes included...

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 12/04/2000 3:48 AM
my outbox still has the pass.
It still requires code buttons...

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

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Regards,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 12/04/2000 4:22 AM
The bug hasn't been fixed yet in the outbox....

I think the codebutton option is done.. let me check...

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

- http://www.stand318.com
Posted By: AllenAyres Re: Private Messages 3.5b - 12/04/2000 10:01 AM
OK.. I think the bugfix for the outbox and usernames/passwords is working, please check your own pm's here and tell me if you find it working or not... If it is ok, I'll add it to the files for upload tomorrow.

MM, I believe the fix for codebuttons is there, it isn't a manual option, but and auto-option, much like how some scripts are written to test for the presence of cookie_lib.pl, the code button fix test for the presence of the ubb_code_buttons.pl file and uses it if it is there... automagically....[Linked Image]


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

- http://www.stand318.com
Posted By: Darkstar Re: Private Messages 3.5b - 12/04/2000 4:29 PM
hrmmm i still get a cgi error when i try to send a private msg to someone.

***
CGI ERROR
==========================================
Script Location : C:Inetpubwwwrootcgi-binprivatesend.cgi
Perl Version : 5.006

Form Variables
-------------------------------------------
Message : test
MsgIcon : 13
Signature : yes
action : send
color : Black
font : Times New Roman
mode : prompt
pass : *
sendto : darkstar
size : 3
subject : test
user : darkstar

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 157
CONTENT_TYPE : application/x-www-form-urlencoded
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/msword, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: nl
HTTP_CONNECTION : Keep-Alive
HTTP_CONTENT_LENGTH : 157
HTTP_CONTENT_TYPE : application/x-www-form-urlencoded
HTTP_COOKIE : pword=hatchie; <------ cool password [Linked Image]
uname=Darkstar; DaysPrune=45; NameStorage=no; lastLogin=2451883.15; LastLoginDT=12-04-2000%2003%3A00%20PM; mRefreshInterval=; Date=9%2D11%2D2000+19%3A48%3A00
HTTP_HOST : opennapi.ifnap.org:6666
HTTP_REFERER : http://opennapi.ifnap.org:6666/cgi-bin/privatesend.cgi?sendto=darkstar
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90; PKBL008)
PATH_INFO :
PATH_TRANSLATED : C:Inetpubwwwrootcgi-bin
REMOTE_ADDR : 213.46.100.173
REQUEST_METHOD : POST
SCRIPT_NAME : /cgi-bin/privatesend.cgi
SERVER_NAME : 213.46.100.173
SERVER_PORT : 6666
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : 24Link/1.06

***

This message has been edited by Darkstar on December 04, 2000 at 05:26 PM
Posted By: Abbas Re: Private Messages 3.5b - 12/04/2000 10:56 PM
I'm getting a blank screen on forumsdisplay.cgi if Instant Messaging is added to this script. Here's the source of that page:

----------




----------

I was reading through the forums and I think Spawn had the same problem

Thanks
Abbas
Posted By: Darkstar Re: Private Messages 3.5b - 12/04/2000 11:18 PM
Version 3.5 will fix the blank screen, but in 3.5 i get a CGI error
And I know I did everything right.
Something is wrong with privatesend cgi file.
Posted By: Abbas Re: Private Messages 3.5b - 12/05/2000 12:51 AM
I am using 3.5, but still getting the blank screen. Only happens when forumdisplay.cgi is modified as per the instructions. The remaining three UBB cgi files are working fine.

-Abbas
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 12/05/2000 1:57 AM
I checked my outbox and hovered over a link and the username/password info is gone, Allen. I think you did it. You might try it yourrself to make sure. Oh yeah, are you going to add the fix for the image button?

------------------
The Fusion of Goku & Trunks...GoTorankusuKu

Posted By: Phase Strike Re: Private Messages 3.5b - 12/05/2000 2:47 AM
I have this error as well can anyone help

CGI ERROR
==========================================
Script Location : privatesend.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------
Message : test
MsgIcon : 1
Signature : yes
action : send
color : Black
font : Times New Roman
mode : prompt
pass : 802280
sendto : Admin5
size : 3
subject : hi
user : Phase Strike

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 155
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /www/gamenexus2k
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_COOKIE : lastLogin=2451883.1846; LastLoginDT=12-04-2000%2006%3A46%20PM; DaysPrune=20; NameStorage=yes; UserName=Phase%20Strike; Password=802280; sessionLogin=2451883.1838; sessionLoginDT=12-04-2000%2006%3A38%20PM
HTTP_HOST : gamenexus2k.com
HTTP_PRAGMA : no-cache
HTTP_REFERER : http://gamenexus2k.com/cgi-bin/privatesend.cgi?
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; AOL 6.0; Windows 98)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 152.163.207.68
REMOTE_PORT : 41757
REQUEST_METHOD : POST
SCRIPT_FILENAME : /www/gamenexus2k/cgi-bin/privatesend.cgi
SCRIPT_NAME : /cgi-bin/privatesend.cgi
SERVER_ADMIN : [email protected]
SERVER_NAME : www.gamenexus2k.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/4.0.4.3
Posted By: Fuzion Re: Private Messages 3.5b - 12/05/2000 2:51 AM
Quote
quote:
Darkstar reupload all the pm cgi files with the new version 3.5b and make sure you have a folder in the cgi-bin named private and make sure you chmod all the files to 755. that should do it.



------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: Greg Hard Re: Private Messages 3.5b - 12/05/2000 3:47 AM
Remind me to add "or die Bad file $!" to all the open and close commands in the PM files.

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

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Regards,
MasterMind
Posted By: AllenAyres Re: Private Messages 3.5b - 12/05/2000 8:41 AM
OK, I uploaded the latest files with the name/ password in the url bug fixed for the outbox... it's looking like we have gotten most of the bugs here whupped...[Linked Image]

Everyone with the privatesend.cgi errors. I tried to make it very clear in the instructions. If you do not follow the instructions at the top of private.cfg, it is guaranteed to give you those errors. Please read them and follow them, your errors will magically go away.

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

- http://www.stand318.com
Posted By: Darkstar Re: Private Messages 3.5b - 12/05/2000 1:45 PM
hrmmm now i am going out of my mind!
i checked everything a few times and still get privatesend error.

Soz but i am goign to uninstall it if i cant get it to work.
Posted By: vietnight Re: Private Messages 3.5b - 12/05/2000 4:03 PM
Quote
quote:
hey man have your creat a folder call 'private' in your cgi-bin, if you don't you will see that error, i have this problem before.
try that see it help



------------------
I Am lost...
Angel is looking for me, help
Posted By: Abbas Re: Private Messages 3.5b - 12/05/2000 4:25 PM
Doesn't anybody have any idea on the white screen problem? I would really appreciate some help!

Thanks
Posted By: Darkstar Re: Private Messages 3.5b - 12/06/2000 12:00 AM
Quote
quote:
Yes i maded a folder named private
But i cant understand why it still wont work.
Posted By: Fuzion Re: Private Messages 3.5b - 12/06/2000 12:12 AM
Quote
quote:
Can I have a link to your board I would like to take a look at this. and also make sure your perl paths are right.

------------------
My site www.gamerzparadize.com
Please come and Register!


This message has been edited by Gamer on December 05, 2000 at 04:17 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 12/06/2000 12:14 AM
All I can say is that if you follow instructions as written, it works. If, for some reason it doesn't work, we do have people that will install it for you, tho you may not like the price...[Linked Image]

https://www.ubbdev.com/services/installation.shtm

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

- http://www.stand318.com
Posted By: Greg Hard Re: Private Messages 3.5b - 12/06/2000 12:15 AM
Known Issues

-UBB IM Needs Fine Tuning and repairing

-When submitting a PM, instead of giving detailed messages, it displays dangerous server info. FIX IT!

Mis any?

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

Hack Developer of the Ultimate Bulletin Board.
Due to time limitation, I do not offer support Via. E-mail or AIM. Please post on the forums.

Regards,
MasterMind
Posted By: Fuzion Re: Private Messages 3.5b - 12/06/2000 12:22 AM
Also this may or may not affect it but I have had a time where i installed the new version and it didnt work then i installed ubb code buttons 3.5 and it started working so install ubbcodebuttons and see if that helps.

------------------
My site www.gamerzparadize.com
Please come and Register!
Posted By: Sukotto Re: Private Messages 3.5b - 12/06/2000 12:23 AM
Can't think of any others, maybe an alternative to online.gif so it doesn't change the online.gif that is used for the main forum.

That annoyed me, i had a cool icon for the Who's Online hack and this changed it.

------------------
http://forums.pp-network.com
http://www.pp-network.com
Posted By: WEAPON Re: Private Messages 3.5b - 12/06/2000 1:25 AM
Darkstar, make sure you chmoded the 'private' folder 777.

------------------
-Webmaster of Cheat City
Posted By: klipsch Re: Private Messages 3.5b - 12/06/2000 4:29 PM
I've installed the 3.5 pm and everything seems to work great. Except when I receive a pm and the pm e-mail notification is sent to my e-mail. There is nothing in the body of the e-mail just in the subject line that says you have received a private e-mail. Is there something I did wrong or is this a bug. Please help.

------------------
Check out the Klipsch board
Posted By: AllenAyres Re: Private Messages 3.5b - 12/06/2000 9:16 PM
OK, uploaded a fix for the email notification... just upload the new privatesend.cgi to fix it.

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

- http://www.stand318.com
Posted By: gary p Re: Private Messages 3.5b - 12/07/2000 3:55 AM
Could someone help me with the perl directory on virtualave.net

"Step 1 - Set your path to perl in all files."

Thanks. gary
Posted By: gary p Re: Private Messages 3.5b - 12/07/2000 4:02 AM
I should have wrote that

I need help with perl-path on both virtualave.net and/or www.f2s.com


"Step 1 - Set your path to perl in all files."

Thanks. gary
Posted By: gary p Re: Private Messages 3.5b - 12/07/2000 4:16 AM
Well, it actually was #!/usr/bin/perl

not the default #!/usr/local/bin/perl

I should have looked in Ultimate.cgi

I'm a newbie to this, that's why I learn so much small things everyday hehe

Sorry to bother you pro's with my lamer-questions.

You need to start somewhere... gary
Posted By: gary p Re: Private Messages 3.5b - 12/07/2000 5:31 AM
WOW Looks great! Everything works

Where are the *.gif's?
Can I download them somewhere?

Thank you...gary
Posted By: GoTorankusuKu Re: Private Messages 3.5b - 12/07/2000 6:45 AM
Here's how to add the images gary p:

Create a folder called "pmimages" in your NonCGI folder (w/o "")

Then upload all the images in this zip: http://dbz.star64.com/uploads/ubbhacks/pmimages.zip

------------------
The Fusion of Goku & Trunks...GoTorankusuKu



This message has been edited by GoTorankusuKu on December 06, 2000 at 10:45 PM
Posted By: AllenAyres Re: Private Messages 3.5b - 12/07/2000 11:48 PM
Thanks GoTo... I'll include them in the download...

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

- http://www.stand318.com
Posted By: Thermit Re: Private Messages 3.5b - 12/09/2000 8:14 AM
Small bug in the email notification part of this hack:

Sent a PM with title "email?"

Received email with text that said:

Quote
quote:
I guess it's missing a set of those little converter statements...
Posted By: Thermit Re: Private Messages 3.5b - 12/09/2000 8:49 AM
A couple of issues when sending PMs to multiple members:

Mentioned before by someone, but you get an Outbox message for each member sent to. Could get quite annoying. One idea is to just add one message and have "Sent to" be a non-link string "Multi", or something like that.

Also the redirect screen after posting to multiple members doesn't have proper english syntax:

Quote
quote:

And a feature request for the future: an option for admins to send a private message to all members at once.
Posted By: AllenAyres Re: Private Messages 3.5b - 12/09/2000 10:10 AM
ok, updated the download files again, this time with better directory structure, just extract the zip and the files will be set up in their proper directories for upload.

I put a zero sized index.html file in a private directory for 2 reasons. One, to give a little more security to the private directory as far as people browsing directories and two, to remind people to create the directory in the first place...[Linked Image]

I have also included all the .gifs needed, in their appropriate directories. Just upload their folders to ubb non-cgi directory.

Best of all, Thermit has put a lot of time into fixing the table layout so that it looks much more like the ubb and just plain looks better. THANKS THERMIT!!

We have all new files uploaded here, so check your inbox for the latest look. We are alomost to a stable 3.5 version...[Linked Image][Linked Image][Linked Image]

Once again, if you have already installed pm's 1.5c+, to get the latest functionality, just upload the new files, no new coding is necessary...

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

- http://www.stand318.com
© UBB.Developers