The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
Quote:
.
|
|
#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.
|
![]() |
|
|