php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#44517 - 06/01/02 03:09 PM PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Hello peeps.

Since you're all bored in here I might as well throw in a bone to chew on. I have the final PM hack installed on 5.45c and it works fine - with one minor exception. Every time it hits the limit of 30 messages that I've set, the autodelete kicks in, but it stops with an Internal Server Error. (Which doesn't really provide much clues as to what's wrong.) And, of course, from then on every time you try to open the inbox it'll try to autodelete, and crap out. So you have to be really fast to catch it and stop loading before that kicks in, and manually delete messages.

Everything else, including normal deletion works without any problems. The only problem is autodelete. It's the only thing on my boards that does not function 100%, and while it's not really a major issue, it'd be even better if I could get this fixed so that everything would be working perfectly.

So, any ideas what I could do?

Top
#44518 - 06/01/02 08:25 PM Re: PM Hack Issue
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Auto-delete has been known not to work. Can you turn the feature off?

Top
#44519 - 06/02/02 02:28 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Nope, not that I know of... I suppose the only alternative would be to set the limit to 9999 messages or something...

Top
#44520 - 06/02/02 06:22 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
That has never worked, Ive had a look at it myself looking for a quick fix, but its not easy.
I gave up as I didnt have time to sit there and try and work out how the autodelete works. frown
_________________________
I can't afford a good signature editor frown

Top
#44521 - 06/02/02 08:13 PM Re: PM Hack Issue
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
i think the problem is the runtime of the script...

can you send me the script via mail? then i can try out what is the matter...
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44522 - 06/03/02 01:19 AM Re: PM Hack Issue
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by BassTeQ:
That has never worked, Ive had a look at it myself looking for a quick fix, but its not easy.
I gave up as I didnt have time to sit there and try and work out how the autodelete works. frown
</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Damn un-finished hacks. Some still have those annoying bugs in em.

Top
#44523 - 06/03/02 05:45 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
joking-down, I'll send it to you ASAP. Do you only need privatedelete.cgi? (I think that's all there is of the delete script. There are many other files in the hack though, and some modification of core ubb files is necessary.)

Kinda weird that this never worked and no one even bothered to mention it in the docs. eek

Top
#44524 - 06/03/02 07:06 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Gladius, Id recommend sending all the files, this way it helps when you are trying to work out the flow of the scripts.

Cheers
_________________________
I can't afford a good signature editor frown

Top
#44525 - 06/03/02 07:06 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Gladius, Id recommend sending all the files, this way it helps when you are trying to work out the flow of the scripts.

Cheers
_________________________
I can't afford a good signature editor frown

Top
#44526 - 06/04/02 05:38 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
He already let me know which others he needs too... I suppose if nothing can be done to fix autodelete, it wouldn't be hard to implement a limit so that once you reach the set amount of messages you can't receive any more until you delete some?

Top
#44527 - 06/04/02 06:01 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Yeah I dont think that would be too hard, you would just need to check the username.count file, and dont let the user send a message if their count is higher then X.
Actually Ill have a look at that soon and let you know the results!
_________________________
I can't afford a good signature editor frown

Top
#44528 - 06/04/02 07:01 PM Re: PM Hack Issue
Onkel_Tom Offline
Member

Registered: 11/18/00
Posts: 51
Loc: Germany-BB
autodelete works !
the only Problem occurs on Unix machines while executing the autodelete part in privatedelete.cgi but the PM are deleted. On Windows NT all works fine wink

I also found a problem when configuring the settings to "no outbox". In this case the PM's which are sent should not be stored in the .db of the sender (I think so!?) but it's stored everytime and the autodelete will not work when "no outbox" is configured. I found this error on my board for some users who has configured "no outbox" with 4 PM in the inbox and 300kb big $username.db !

autodelete from PM 3.8 only works when configuring "single page". all other configuration will not be autodeleted !
I coded the last 8 hours on PM 3.8 to get rid of the problem.

When my "betatest" are finished I will post the modifications to get it run wink
_________________________
Best regards and happy coding ...
Tom
Webmaster of
German Hayabusa-Forum
German BMW M5-Forum
German ZX-12r-Forum

Top
#44529 - 06/05/02 06:29 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
That would be great, let us know how you go.
_________________________
I can't afford a good signature editor frown

Top
#44530 - 06/07/02 01:58 PM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Autodelete never worked for any setting, anywhere on my UNIX server.

Anyway, that guy that I mailed above never got back to me after I sent him the files so I'm supposing he's not working on it, so BassTeQ, I'd welcome your solution. (Or this new one, if it doesn't require a new install of the PM hack.)

Top
#44531 - 06/07/02 06:13 PM Re: PM Hack Issue
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
[edit]
delete code because it dosen't work...
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44532 - 06/07/02 06:28 PM Re: PM Hack Issue
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
[edit]
tomorrow i check the code again....
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44533 - 06/09/02 02:07 PM Re: PM Hack Issue
joking-down Offline
deutscher moderator / v5 specialist

Registered: 12/24/00
Posts: 712
Loc: Germany
i found no error in the code...
i think it's a timeproblem on a unix-server. try to limit the PMs a user can receive
_________________________
UBB-Admin ( kids-hotline.de )


join Team UBBDev

I have [img]http://www.ubbdev.com/ud/?s=1&u=joking-down[/img] Points.

Top
#44534 - 06/09/02 11:37 PM Re: PM Hack Issue
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Can't find the solution either. Is the author of it still around? He'd know his hack the best.

Top
#44535 - 06/10/02 01:21 PM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
I tried that, but he's not supporting it any more. So, BassTeQ, wanna give it a shot?

Top
#44536 - 06/10/02 10:04 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ok, Ive done some coding, and my solution was to not let the user send any messages if their message count exceeds the maximum. They must delete excess messages to be able to send a message. So it forces them to clean up their inbox smile

If you want the code let me know.
_________________________
I can't afford a good signature editor frown

Top
Page 1 of 3 1 2 3 >


Who's Online
1 registered (Deb), 28 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks