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.
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.
[]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.";
"Do not meddle in the affairs of sysadmins, for they can make your life miserable by doing nothing." <img src="/threads/php/images/graemlins/wink.gif" alt="" /> Unknown
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.
"Do not meddle in the affairs of sysadmins, for they can make your life miserable by doing nothing." <img src="/threads/php/images/graemlins/wink.gif" alt="" /> Unknown
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.