PDA

View Full Version : Verify user accepts PMs before sending


bira
11-25-2001, 10:00 PM
Hi,

Don't know about you, but on my BB one of the most annoying issues has always been the case where you write a long PM, hit 'send' only to get the error message "user X's box is full and he cannot accept pms now" or "user X selected not to receive PMs or isn't allowed to". Well great, now you tell me! :D

Have no fear, a hack is here: a simple button that allows you to verify a user accepts PMs before you actually go about filling in the message area.

(This is especially helpful if you are using no-cache headers in private.php or in general, because hitting 'back' on the browser in those cases doesn't help - your message will have been lost.)

http://www.atlasf1.com/personal/bira/pm-verify-capture.gif

The hack is very simple and should be quite easy to install. The instructions are enclosed in the txt attachment.

Cheers,

Bira

SirSteve
11-27-2001, 12:04 AM
A must have hack! Works great!

Nam
11-27-2001, 11:02 AM
Great hack, love it.

Admin
11-28-2001, 03:25 PM
Installed here. :)

(third hack of Bira today already :D)

FWC
11-28-2001, 04:21 PM
[QUOTE]Originally posted by FireFly
Installed here. :)

(third hack of Bira today already :D)

bira
11-28-2001, 04:27 PM
[QUOTE]Originally posted by FWC
This is one of my all time favorites. I really wish it was built in to vB. :D

Admin
11-28-2001, 04:36 PM
[QUOTE]Originally posted by FWC
Firefly, while you're installing Bira hacks, please install this one:

https://vborg.vbsupport.ru/showthread.php?s=&threadid=22083

This is one of my all time favorites. I really wish it was built in to vB. :D

FWC
11-28-2001, 07:13 PM
[QUOTE]Originally posted by bira


heh, gotta admit I feel the same :blush: -- it's a really small hack, but I use it so very often, and my users love it. I'd be really happy to see it included in vB

squawell
11-29-2001, 07:01 AM
it's good for me~~~

thankz~~~~bira:D

LuBi
12-12-2001, 04:04 PM
Great one! Thanks Bira!

Stretchr
01-04-2002, 02:34 AM
I'm a novice coder but usually can copy and paste well. When I installed this hack, to test I PM'd myself. With my username in Recipient box, pressed verify and got the invalid user error. Any ideas? I went over everything again before posting this. Thanks in advance.

mark
01-04-2002, 12:48 PM
Same problem her ??

eva2000
01-11-2002, 06:56 AM
did you guys try pm someone other than yourself.. maybe pming yourself is the problem ?

bira
01-11-2002, 12:28 PM
when I write "bira" in the To field and then click "verify" I get the message that bira accepts PMs and there's no problem.

I can't honestly figure out why you have that problem.

Stretchr
01-11-2002, 06:16 PM
I hate to admit this but on every hack except one my problem was user error. I'll try this one again from the beginning. More than likely I performed a step wrong or left something out. Thanks.

Brian Cruz
01-14-2002, 01:37 AM
Could this be expanded so that it displays that message when a person tries to PM someone who has them ignored? I have someone on my ignore list who keeps PMing me, and I never see them cause he's ignored, but he's obviously not getting any message that says that.

69-FLy-gUy
01-19-2002, 07:25 AM
I installed. then i got this error in the admin panel

Parse error: parse error in /home/69flyguy/public_html/forum/admin/functions.php on line 820

Fatal error: Call to undefined function: vbdate() in /home/69flyguy/public_html/forum/admin/sessions.php on line 362


Now i am guessing it is from when i edited functions.php

but this is line 820 :


$buffer = str_replace(""", "/"", $buffer);



can someone help me?

i gues this should be in the support forum

Ciao

-69

Shenlong
01-19-2002, 08:42 PM
damn bira, great hack, works perfectly, smoothest installiation I have ever had (literally). keep em comin'!

Lucky
01-19-2002, 09:44 PM
Great work.

Thanks again buddy! :)

Lionel
01-26-2002, 06:34 PM
great, thanks

Omero
02-05-2002, 06:34 AM
FOUND A BUG!

Create a user with the char & in the name, and try to verify it. It gives "invalid recipient", even if the user exists! In fact, i send the message after that, and it gets right to the user!

I found this out with a user with the name "Plug&Pray" so I guess that & is spoiling out something... dunno if other chars are "critical" too.

Bira could you please look into it?

Omero
02-05-2002, 06:39 AM
I tried that with a lot of other users

"_/\/\][><_" Ok, verify correct

"Vizzini & Co." BUG! Recipient invalid!

"Daro [PdD] & Andros" BUG! Recipient invalid!

[...]

I tested A LOT of users, and that bug happens only when the char "&" is present into the name... i can very easily replicate it :)

Check it out :)

kennethj
05-05-2002, 03:54 PM
[QUOTE]Originally posted by Omero
I tested A LOT of users, and that bug happens only when the char "&" is present into the name... i can very easily replicate it :)

Check it out :)

Heineken77
07-16-2002, 04:59 PM
Thank you! :) Just installed and works wonderfully!

Wish some of the boards I was on found this hack before I lost some NICE and LONG PMs :( lol

Cheers!
Heineken

Chris M
08-04-2002, 12:08 PM
Hmmm...

It doesnt want to work with vB 2.2.6...

Fatal error: Call to undefined function: standardmsg() in /home/virtual/site26/fst/var/www/html/forums/private.php(748) : eval()'d code on line 1

Satan

Chris M
08-04-2002, 09:09 PM
Bira? Can you help?

Satan

Xenon
08-04-2002, 09:13 PM
Bira wasn't active since february, you should know this...

Chris M
08-04-2002, 11:16 PM
Ok...Can anyone help?

Satan

Alien
04-10-2003, 05:15 PM
Does this no longer work? Anyone have this on a copy of 2.3.0? :D

-Sidekick-
06-04-2003, 08:34 PM
Well this hack still works at vb.org and they use 2.3.0, so it's safe to assume yes.