UBB.Dev
Posted By: Aglavalin Block Send Private Messages v1.0 - 09/05/2002 1:12 AM
Mod Name / Version - Block Send Private Messages v1.0

Description - Prevents users who have blocked private message from sending them, and advises users that someone has disabled recieving private messages when they click on any 'Send PM' link.

Pre-requisites - none

Author - Aglavalin, aka Steve Stout

Files Altered - sendprivate.php, /languages/english/sendprivate.php

Database Altered - no

New Files - none

Note: This is a simple hack. Works fine on 6.0.x


Several people requested these two features, and this seems like the easiest way to add them into UBBT. Graying out every link to PM someone seemed like more work than it was worth, so this is the next best thing. Giving the user the message that the person does not accept PMs right away, instead of after they have typed their message in.

Attached File
55789-BlockSendPM_v1.0.txt  (68 downloads)
Posted By: Aglavalin Re: Block Send Private Messages v1.0 - 09/13/2002 12:14 AM
This hack works with 6.1 just fine.
Posted By: Erik_Rana Re: Block Send Private Messages v1.0 - 02/18/2003 2:15 AM
[]Aglavalin said:
This hack works with 6.1 just fine. [/]

Textstring to use if your users use swedish language on your board.
Just add in the file /languages/swedish/sendprivate.php

At the bottom of the file before
Code
?>   

$ubbt_lang['NOSENDPRIVS'] = "Tyvärr, du kan inte skicka privata meddelanden (PM) då du inte accepterar dom själv.";
Posted By: Erik_Rana Re: Block Send Private Messages v1.0 - 02/19/2003 12:45 AM
I got an idéa when i installed this modification..
The PM system should allow a user that recives an PM to answer that to te other user2 that might have blocked PM.

It might be a tough thing since the system must know several things for one thing it must remember if old PM´s from the user2 is allowed to be sent or just new PM´s from the user2 after the fact the user2 changes user2 config so user2 does not accept PM´s

I'll post this in the request section on UBBThreads support forum also.
© UBB.Developers