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...
Hmm...thanx for the link Allen. Finally the fix has been made 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.
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 URL to the board in my sig
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..
------------------
[This message has been edited by C_P (edited September 21, 2000).]
Looks like some used it, so must just be me it didnt work for Ill figure it out, probably hack related. Anyway, from the"too much time on my hands" department comes a typo in the instructions:
Minor stuff 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
Anyway, I got it working. It appears I screwed up somewhere in adding it to Ultimate.cgi, probably a typo It still thinks I am Tim+3dfiles though and I dont know why. Oh well, everyone else seems to be using it fine.
2.0 is working great for me. I'm glad the password/username in url has gone
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
Besides I probably installed it wrong somewhere lol
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?
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..
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
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?
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
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.
Okay I just unzipped the files, made a few adjustments, (to let it match my layout) uploaded, and all is fine, no errors, no probs. I sent a message, deleted it, checked ignore, preferences. Etc. No probs yet. I did have to add $Header or two, but that will not stop the program from working.
I think a more comprehensive doc file is needed. And of course adjust the ignore.cgi file as stated above.
Additional: I left the pmheader.html pmfooter.html empty.
My two cents..
C_P
------------------
This message has been edited by C_P on September 24, 2000 at 03:41 PM
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...
excellent... I made those changes, adding the topmargin=0 etc, etc, etc... and removed calls to pmheader.html, pmfooter.html, and cookie_lib.pl... that should cut down quite a bit on 500 ise's for people installing them...
I removed pmheader.html and pmfooter.html from the download since they are no longer needed...
Everything updated and uploaded... not quite enough changes for a v2.0a tho people should have less errors now...
this site has the latest files up should anyone question whether it works or not...
I may move this to "finished mods" unless we see some more errors today...
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...
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...
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
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
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)
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.
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
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?
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.
I really need to get this working, I'd appreciate any thoughts you might have about it Allen.
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.
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.
Okay, I got everything under control finally, thanks to a small brainstorming sessions with ukliam.
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.
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?
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.
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.
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
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.
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...
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
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..
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...
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"...
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! ~~~~~~~~~~~~~~~~~~
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! ~~~~~~~~~~~~~~~~~~
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
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
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..
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.
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...
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.
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.
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.
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...
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.
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:
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.
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!
Oops. Got my actual status and posting status fields swapped again. Sorry. That's what I get for hours of playing with the MegaMod script. 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
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
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...
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
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(
Clickhereif you want to close the Private Messages Box. You will need to delete your private messages first.
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
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.
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... Ho hum...
------------------ My Site The only difference between a fool and an eccentric are your beliefs in their ideas.
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.
Update- done everything for V3.0, but I think I'm gonna have to re-write the delete routines 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? )
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!
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...
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..
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!!!
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.
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
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.
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:
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!
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!
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?
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
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
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) - "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...
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...
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");
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.
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.
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!
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"... 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.
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?
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...
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.
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.
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.
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.
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?
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.
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?
well it is working good on my bored now. 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.
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.
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...
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
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...
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.
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...
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...
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).
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.
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.
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...
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...?
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?
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.
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.
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?
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...
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
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.
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
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.
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
Good deal Outlaw... that wasn't so hard now, was it... 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... 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... I'll make a backup and try it out...
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...
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...
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.
"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...
This message has been edited by Outlaw on October 27, 2000 at 02:05 PM
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.
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
"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...
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...
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...
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.
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 ?
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.
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!!
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 ). 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.
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.
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.
Just thought I would bring it up...
------------------ My Site The only difference between a fool and an eccentric are your beliefs in their ideas.
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.
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...
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
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
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
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
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.
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
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...
------------------
-= DFT =-
................... I don mean dis in a disrespectful way// But colombine happens in the ghetto happens every day// Uncle L
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
- 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 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
And while I'm here 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
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
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
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.
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
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
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
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.
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)!
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.
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.
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??
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
You can't get the functionality of codebuttons without installing them... 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?
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..
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.
Oh, BTW all, I'm back if ya hadn't noticed. 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...
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.
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.
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...
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
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!!
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.
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
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...
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.
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???
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...
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... I'm just surprised it isn't there, unless I simply missed it. (?)
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
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...
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.
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.
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 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, 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
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.
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.
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.
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...
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?
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...
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?
Allen, I have the same thing...installed to a T...I believe 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!!
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!
Vipermad
This message has been edited by Vipermad on November 21, 2000 at 11:40 PM
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?
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!! ). I'll keep looking!!
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.
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 .
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...
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:
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?
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
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
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....
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
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!!
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!
I installed the latest Who's Online and the ISE problem persists...just thought I'd let you know. ------------------ Tony (Vipermad) Rickard Viper Club UBB Admin
This message has been edited by Vipermad on November 23, 2000 at 10:54 AM
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.
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
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.
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...
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
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
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.
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.
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.
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........
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.
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
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.
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.
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.
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
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.
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?
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.
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...
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....
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
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.
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
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
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.
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...
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.
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
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...
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.
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.
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.
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...
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...
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...