#41893
09/21/2000 3:28 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, you ask the right people, you get the right answers... my firstborn child is gonna have to be named cal, but it looks like we have what we asked for: https://www.ubbdev.com/db/cgi/ubbcount.cgi?expath1=Forum8&expath2=&topic=000016&ty pe=&number=8 This version finally fixes the "id and password in the url" bug plus, if you haven't updated your private messages in a while, it contains several display bug fixes that were fixed in the last version. If you have already installed private 1.5b or 1.5c messages on your board, this is a drop in replacement. Just add the files dated for Sept. 2000 and you are set to go... ------------------ Allen - http://www.stand318.com
|
|
|
#41894
09/21/2000 3:38 PM
|
Joined: Mar 2000
Posts: 445
Member
|
Member
Joined: Mar 2000
Posts: 445 |
Hmm...thanx for the link Allen. Finally the fix has been made ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) 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.
|
|
|
#41895
09/21/2000 10:56 PM
|
Joined: Jul 2000
Posts: 80
Member
|
Member
Joined: Jul 2000
Posts: 80 |
Welp, I have 2 problems: 1: It does not recognize usernames. I did reinstall recently everything is working fine, so... My guess is that installing the meberlist will solve that, I will report back. The other is that the Private messaging in Ultimate.cgi is showing up twice, at top and bottom of the forums. I am looking into it now, again probably a simple fix, but so you know..... Make it 3 problems. It now assumes I am Tim+3dfiles, so maybe thats why the username not recognized problem. Well, I still think member list will fix it. I have login hack installed, so, it should know who I am ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) URL to the board in my sig ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) ------------------ http://www.3dfiles.com http://board.3dfiles.com [This message has been edited by Tim 3dfiles (edited September 21, 2000).]
|
|
|
#41896
09/21/2000 11:25 PM
|
Joined: Jul 2000
Posts: 80
Member
|
Member
Joined: Jul 2000
Posts: 80 |
Got me. I tried adding memberlist, etc, nothing changed, same problem, I give up... for now, its late ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) ------------------ http://www.3dfiles.com http://board.3dfiles.com
|
|
|
#41897
09/21/2000 11:49 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
Well my two cents are as follows.. I had to add my header section html to the pmheader.html and leave the pmfooter.html empty. Also I went and removed all the $Header references. Why? Well this way all the screens in PM have the header and footer.(All the error screens too.) There is a weird thing too. I see a ? and nothing after it. Like privatesend.cgi? (In the browser url line) Not sure what's up there.. I see by other posts there is some other glitches.. That's why they call this forum BETA..LOL I'll be playing with it and see how it goes.. Not going live with it though.. ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) ------------------ [This message has been edited by C_P (edited September 21, 2000).]
|
|
|
#41898
09/22/2000 2:05 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
it seems to work fine here... what is your experience with your account here? ------------------ Allen - http://www.stand318.com
|
|
|
#41899
09/22/2000 3:28 AM
|
Joined: Sep 2000
Posts: 6
Member
|
Member
Joined: Sep 2000
Posts: 6 |
Can you make the mod like..
when the user is having a message and is currently online, then get a alert message using Java sciript or whatever....
or
if the user is just login and has a message, the get a alert message using Java sciript or whatever....
can you make this feature one private message?????????
This would be great for people to get private messgae instantly.. (like ICQ when they are online)
------------------ Thank you
Thank you
|
|
|
#41900
09/22/2000 3:40 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Opps - left some old code in privateread.cgi that screwed the cookies. I've sent an updated copy to allen who will hopefully upload it sometime today. Just a thought ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) ------------------ http://www.iamcal.com
|
|
|
#41901
09/22/2000 3:48 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks cal... uploaded it to the site now.. will put it in the download as well... I never get to sleep... ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) ------------------ Allen - http://www.stand318.com
|
|
|
#41902
09/22/2000 3:51 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
in ze download... ------------------ Allen - http://www.stand318.com
|
|
|
#41903
09/22/2000 6:09 AM
|
Joined: Aug 2000
Posts: 5
Junior Member
|
Junior Member
Joined: Aug 2000
Posts: 5 |
LOL ![[Linked Image]](https://ubbdev.com/ubb/smilies//tongue.gif) keep up the good work Allen ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) ------------------ 
|
|
|
#41904
09/22/2000 8:09 AM
|
Joined: Jul 2000
Posts: 80
Member
|
Member
Joined: Jul 2000
Posts: 80 |
Looks like some used it, so must just be me it didnt work for ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) Ill figure it out, probably hack related. Anyway, from the"too much time on my hands" department comes a typo in the instructions: Prefrences
Prefrences = Preferences
------------------ http://www.3dfiles.com http://board.3dfiles.com
| |
|
|
#41905
09/22/2000 10:21 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
thanks Tim, my fingers get dyslexic at times... will fix it... I see a few of them in there... ------------------ Allen - http://www.stand318.com
|
|
|
#41906
09/22/2000 7:26 PM
|
Joined: Jul 2000
Posts: 80
Member
|
Member
Joined: Jul 2000
Posts: 80 |
Minor stuff ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) What always scares me (not from everyone) is when I see a typo. One wonders if there were also typos in the cgi... Then I wonder... how many typos in the who UBB that we dont know about ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) Anyway, I got it working. It appears I screwed up somewhere in adding it to Ultimate.cgi, probably a typo ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) It still thinks I am Tim+3dfiles though and I dont know why. Oh well, everyone else seems to be using it fine. ------------------ http://www.3dfiles.com http://board.3dfiles.com
|
|
|
#41907
09/22/2000 8:08 PM
|
Joined: Sep 2000
Posts: 305
Member
|
Member
Joined: Sep 2000
Posts: 305 |
Hey, 2.0 is working great for me. I'm glad the password/username in url has gone ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) Only problem I've got which I had also with 1.5c is that my UBB codes won't work in messages or signatures only when using PM. And yep I'm do have it turned on too. It's just a little thing on a completely brilliant hack ![[Linked Image]](https://ubbdev.com/ubb/smilies//biggrin.gif) Besides I probably installed it wrong somewhere lol TotalNewbie
|
|
|
#41908
09/23/2000 3:47 PM
|
Joined: Sep 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Sep 2000
Posts: 6 |
Allen.... cool script but I did everything 4 times and cleared my threads and everything but this still happens..when I press send it just goes to a white screen with text showing the variables in the message I jsut sent including my pass! and It shows the variables for my server at hypermart! Why? ![[Linked Image]](https://ubbdev.com/ubb/smilies//confused.gif)
|
|
|
#41909
09/23/2000 5:19 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
When you get the white screen, right click it and choose view source. Then see what is or isn't loading. It could be your header and footer files. A lost table element etc.. Did you check it in IE & Netscape? ------------------ 
|
|
|
#41910
09/23/2000 5:25 PM
|
Joined: Sep 2000
Posts: 6
Junior Member
|
Junior Member
Joined: Sep 2000
Posts: 6 |
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
|
|
|
#41911
09/23/2000 7:05 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
newbie, check your private.cfg and make sure that where you set the ubbcodes to "yes" that the "Y" is lowercase, I may have uploaded it set to "Yes" instead of the correct "yes". Dr. Evil, I presume... did you make a "private" directory in you ubb cgi directory (again, all lowercase) and set permissions to 777? ------------------ Allen - http://www.stand318.com
|
|
|
#41912
09/23/2000 11:33 PM
|
Joined: Sep 2000
Posts: 34
Member
|
Member
Joined: Sep 2000
Posts: 34 |
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
|
|
|
#41913
09/24/2000 10:37 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
evilprodigy: That's a standard server variable dump page (don't worry, other people don't get tour password, just theirs). It indicates that there was a 500 ISE. Just a thought ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) ------------------ http://www.iamcal.com
|
|
|
#41914
09/24/2000 2:59 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
LordNite2000, check your files and make sure you don't have a line: require "cookie-lib.pl";if you do, make it: #require "cookie-lib.pl";This file is for older versions of UBB. Check all your PM 2.0 files for this line, and fix them as shown. C_P ------------------ 
|
|
|
#41915
09/24/2000 3:35 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
Okay I just unzipped the files, made a few adjustments, (to let it match my layout) uploaded, and all is fine, no errors, no probs. I sent a message, deleted it, checked ignore, preferences. Etc. No probs yet. I did have to add $Header or two, but that will not stop the program from working. I think a more comprehensive doc file is needed. And of course adjust the ignore.cgi file as stated above. Additional: I left the pmheader.html pmfooter.html empty. My two cents.. ![[Linked Image]](https://ubbdev.com/ubb/smilies//smile.gif) C_P ------------------ This message has been edited by C_P on September 24, 2000 at 03:41 PM
|
|
|
#41916
09/24/2000 5:59 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I had forgotten to take those out (cookielib.pl)... where did you need to add some more $header to? I will put them in the download... we also need to remove the calls to pmheader.html and pmfooter.html... ------------------ Allen - http://www.stand318.com
|
|
|
#41917
09/24/2000 6:35 PM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
Okay here is where I saw the missing $Header files.. Find this in private.pl &print_header1; print<<"END_OF_TEsT"; $BBTitle - Private Messages$HeaderInsert $HeaderFind this in PrivatePrefs.cgi &print_header1; print<<"SHOWINDEX"; $HeaderInsert $BBName - Private Messages Preferences$HeaderNext find this (same file) sub updateprefs { open (PREFS,">$db_dir/$user.pref"); print PREFS "email|$in{emailstorage}|layout|$in{layoutstorage}|status|$in{statusstorage}|Ignore|$in{ignorelist}"; close PREFS; &print_header1; print<<"SHOWINDEX"; $HeaderInsert $BBName - Private Messages Preferences$HeaderI think that's it.. Footnote: When I said I left pmheader.html & pmfooter.html empty I meant the files themselves. I still uploaded em, or else you receive an error. ------------------ 
|
|
|
#41918
09/24/2000 6:50 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
excellent... I made those changes, adding the topmargin=0 etc, etc, etc... and removed calls to pmheader.html, pmfooter.html, and cookie_lib.pl... that should cut down quite a bit on 500 ise's for people installing them... I removed pmheader.html and pmfooter.html from the download since they are no longer needed... Everything updated and uploaded... not quite enough changes for a v2.0a ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) tho people should have less errors now... this site has the latest files up should anyone question whether it works or not... ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) I may move this to "finished mods" unless we see some more errors today... ------------------ Allen - http://www.stand318.com
|
|
|
#41919
09/24/2000 7:02 PM
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
AllenAyres should my forum have any of the changes made? or do you think it is ok the way it is? ------------------ This message has been edited by ClanKiller on September 24, 2000 at 07:02 PM
|
|
|
#41920
09/24/2000 7:09 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
yours worked fine, but you now have the latest version as well... ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) ------------------ Allen - http://www.stand318.com
|
|
|
#41921
09/24/2000 7:15 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ok... that bit the big one... I am gonna have to redo the call to pmheader.html and pmfooter.html.... am leaving right now... will fix it when I get back tonight... ------------------ Allen - http://www.stand318.com
|
|
|
#41922
09/24/2000 7:43 PM
|
Joined: Jul 2000
Posts: 837
Member
|
Member
Joined: Jul 2000
Posts: 837 |
Thanks very much allen ![[Linked Image]](https://ubbdev.com/ubb/smilies//wink.gif) ------------------ 
|
|
|
#41923
09/25/2000 1:55 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
OK, redid the pmheader.html and pmfooter.html call and tested it on a Win2K server and apache server without problems... you don't need those .html files anymore. Private.cfg and private.pl are the only files changed from the last. Again, if you want to upgrade this, just upload the cgi, pl, and cfg files, no coding is needed... If we don't find anymore errors on this, I'll move it to "finished" tomorrow... ------------------ Allen - http://www.stand318.com
|
|
|
#41924
09/25/2000 7:25 AM
|
Joined: Sep 2000
Posts: 34
Member
|
Member
Joined: Sep 2000
Posts: 34 |
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
|
|
|
#41925
09/25/2000 11:46 AM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
Lord Nite, If you have telnet, go in and type perl -w ignore.cgi and see what messages you get. They can be very helpful... ------------------ 
|
|
|
#41926
09/25/2000 2:45 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
or upload the new ignore.cgi in ascii, set permissions to 755 and see what happens.. ------------------ Allen - http://www.stand318.com
|
|
|
#41927
09/26/2000 1:26 AM
|
Joined: Sep 2000
Posts: 34
Member
|
Member
Joined: Sep 2000
Posts: 34 |
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
|
|
|
#41928
09/26/2000 1:44 AM
|
Joined: Aug 2000
Posts: 1,290
Addict
|
Addict
Joined: Aug 2000
Posts: 1,290 |
check your private.cfg and see if you filled in all the parameters correctly. then check each file mentioned and check that line to see what's up. It could be another hack is interfering (although I doubt it) (scratching my head) .. dunno ------------------ 
|
|
|
#41929
09/26/2000 2:11 AM
|
Joined: Sep 2000
Posts: 34
Member
|
Member
Joined: Sep 2000
Posts: 34 |
I found a way to solve the problem....turn the ignore function off ![[Linked Image]](https://ubbdev.com/ubb/smilies/biggrin.gif) ------------------ "And the darkness swallowed the light and the earth fell into chaos." Lord Nite
|
|
|
#41930
09/26/2000 2:21 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
that'll do it... still not sure why it didn't work for you... ![[Linked Image]](https://ubbdev.com/ubb/smilies/confused.gif) ------------------ Allen - http://www.stand318.com
|
|
|
#41931
09/26/2000 1:12 PM
|
Joined: Mar 2000
Posts: 344
Member
|
Member
Joined: Mar 2000
Posts: 344 |
Excellent work on this. ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) It's now installed and functioning on the first try. Now all I have to do is finish customizing the html layout a little to match my site. My only problem right now, is that I have the message pulldown icons mod installed and no icons display. The pulldown menu appears, but it does not display icons, and if you choose one, it shows complete in the private message threads list. If you wish to see exactly what I mean, just check it out at the URL below. I'd REALLY like to get these two hacks to coexist properly otherwise I may have to disable it temporarily. ![[Linked Image]](https://ubbdev.com/ubb/smilies/smile.gif) ------------------ Visit Alien Soup Forums http://www.aliensoup.com/cgi-bin/forums/Ultimate.cgi
|
|
|
#41932
09/26/2000 3:22 PM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
ouch, getting a 500 ise there... I hope we aren't the cause.. ------------------ Allen - http://www.stand318.com
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|