The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove users ability to remove private messages
Anyone happens to know if this one exists? If not, would someone fancy creating one?
|
#2
|
|||
|
|||
private_managepm_start hook:
PHP Code:
|
#3
|
|||
|
|||
Awesome, appears to be working with a message:
Quote:
|
#4
|
|||
|
|||
So when a user gets to their max allowed pms and can't delete any what are you going to do did you ever think about that problem
|
#5
|
|||
|
|||
The array is an array of usergroupid's which are allowed to delete PM's.
Code:
if($vbulletin->GPC['dowhat'] == 'delete' && !in_array($vbulletin->userinfo['usergroupid'], array(6))){ eval(standard_error('You may not delete private messages. <a href="private.php">Return</a>')); } |
#6
|
|||
|
|||
Quote:
Quote:
|
#7
|
|||
|
|||
Even if you allow each member 1000's it will one day fill up and if it takes years by then you will forget that you added this code. You would be best to fix the code now for that problem in the future
|
#8
|
|||
|
|||
The thing is that the banned users can't send private messages either way, but they were able to remove them due to our changes in the banned usergroup(s). So this code fits perfectly with what we actually want .
|
#9
|
||||
|
||||
Just because they can't send them doesn't mean they can't receive them, either way one day their inbox will fill up.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|