php forum
php mysql forum
php mysql smarty
 
Page 2 of 3 < 1 2 3 >
Topic Options
#44537 - 06/11/02 01:23 AM Re: PM Hack Issue
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Thats some clever thinking BassTeQ. smile wink

Top
#44538 - 06/12/02 01:23 PM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Of course I want the code. Glad to see my idea worked out!

I'll PM your my mail.

Top
#44539 - 06/12/02 05:52 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ok, in privateseng.cgi

Find:
Code:
[/code]Replace with:
[code]
Thats pretty much it!
See how that works for you
_________________________
I can't afford a good signature editor frown

Top
#44540 - 06/13/02 04:32 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Thanks, I'll try it out and let you know. Btw, where do you check your own PMs on this board? I've searched all around but couldn't find a PM strip even on the front page of the boards. tipsy

Hmm, wait. What message does someone who wants to send a PM to someone with a full inbox get?

Top
#44541 - 06/13/02 06:20 AM Re: PM Hack Issue
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
This will come up:

The allowed limit of messages you can store is (Number of PM allowed here) You cannot send any more Private Messages until you delete old ones from your Inbox/Outbox.

Top
#44542 - 06/13/02 12:56 PM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Um... I can see that being OK for the one who is trying to send more messages while already having his inbox/outbox full.

But what about when someone is trying to send someone with a full inbox a new PM? What notification does the sender get then? Because I see only one notice in the script there, where there should be two, one for someone trying to send OUT of a full inbox/outbox and one for someone trying to send TO a full inbox/outbox. Or did I get something wrong?

Top
#44543 - 06/13/02 05:35 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
The code only applies to privatesend.cgi.
So the person with a full inbox/outbox can still receive messages, he/she just cant SEND them!
_________________________
I can't afford a good signature editor frown

Top
#44544 - 06/13/02 07:21 PM Re: PM Hack Issue
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Sorry I got that mixed up Gladius. I thought you meant the sender not the reciever.

Top
#44545 - 06/14/02 05:57 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
No problem. Glad we got that cleared up. Very elegant solution, I think. smile

I'll install the hack later today.

Top
#44546 - 06/14/02 01:37 PM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Ok, implemented it. Seems to work like a charm. Thanks!

Top
#44547 - 06/14/02 11:26 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Glad to hear it, one small bug which I found in it, was having a problem when replying to messages.

Look in my code above, where it says

Code:
[/code]Change that to:

[code]
Enjoy!
_________________________
I can't afford a good signature editor frown

Top
#44548 - 06/15/02 05:08 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Heh, that's great. I just came here to report this same thing and you've already got it. smile
Thanks again.

Top
#44549 - 06/16/02 05:17 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Hmm, here's another more or less bug (or oversight), but I suppose this is from the original hack... When you're not logged in (i.e. unregistered or unrecognized), and try to send someone a PM from their profile or post via the http://etc.etc./privatesend.cgi?sendto=UserName , the server will return an internal server error.

Is there any way to turn this into a notice that you're not able to send PMs unless logged in or registered? So that it doesn't seem broken to unreg'd/unrecognized users. Just a task for the local code wizz's. wink

Top
#44550 - 06/16/02 05:34 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Do you mean a PM or IM, because they are two different hacks?
I think you mean PM, either way all you would have to do is check for a valid cookie on the users side, and if it exists show them the msg screen, otherwise show them an error message ?

Ill a play with my board and see what I can do.
_________________________
I can't afford a good signature editor frown

Top
#44551 - 06/17/02 04:26 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
PM only currently... but I do intend to install the IM hack on it too. (It requires PM first afaik.)

So if you come up for a solution for both (if the same thing happens with IM), it'd be cool.

Top
#44552 - 06/17/02 05:46 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ok, im a little busy at the moment buy when I get some spare time Ill look into it smile
_________________________
I can't afford a good signature editor frown

Top
#44553 - 06/17/02 07:35 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Ok found a bit of spare time smile
Heres the fix

In privatesend.cgi find:
Code:
[/code]After that ADD:
[code]
Ive tested it and it works fine.
_________________________
I can't afford a good signature editor frown

Top
#44554 - 06/18/02 05:10 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Great stuff... I really appreciate your work. Thanks.

Here... Installed it and it works fine. wink

Top
#44555 - 06/22/02 07:03 AM Re: PM Hack Issue
Gladius Offline
Member

Registered: 03/29/01
Posts: 148
Oh btw... Could you do another small fix? The ' character like in "Topic's Title" is simply ignored by PM for some reason... It'll show in the subject line as "Topics Title". I got this when I try to PM someone from inside a topic that has such a subject.

Top
#44556 - 06/23/02 05:52 PM Re: PM Hack Issue
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Hrmm thats strange, I just sent a test PM on my board with ' in the subject like. ie
subject: this's a's test's

and it worked fine smile
_________________________
I can't afford a good signature editor frown

Top
Page 2 of 3 < 1 2 3 >


Who's Online
0 registered (), 29 Guests and 13 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