Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Dec 2014, 17:32
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Remove users ability to remove private messages

Anyone happens to know if this one exists? If not, would someone fancy creating one?
Reply With Quote
  #2  
Old 13 Dec 2014, 17:39
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
private_managepm_start hook:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Untested, but should do the trick. Will prevent everyone from deleting PM's.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 13 Dec 2014, 19:03
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Awesome, appears to be working with a message:

Invalid Action specified. If you followed a valid link, please notify the administrator
Any idea how to include this code to specific usergroups? And perhaps a custom text? <3 Really appreciate it btw!

Last edited by Skyrider; 13 Dec 2014 at 19:09.
Reply With Quote
  #4  
Old 13 Dec 2014, 19:46
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
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
Reply With Quote
  #5  
Old 13 Dec 2014, 19:57
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
The array is an array of usergroupid's which are allowed to delete PM's.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #6  
Old 13 Dec 2014, 19:59
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Originally Posted by ForceHSS View Post
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
I highly doubt that'll be a problem with tons of PM space.

Originally Posted by Dave View Post
The array is an array of usergroupid's which are allowed to delete PM's.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Appears to be working perfectly, thanks!

Last edited by Skyrider; 13 Dec 2014 at 20:14.
Reply With Quote
  #7  
Old 13 Dec 2014, 20:24
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by Skyrider View Post
I highly doubt that'll be a problem with tons of PM space.


Appears to be working perfectly, thanks!
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
Reply With Quote
  #8  
Old 15 Dec 2014, 10:13
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Originally Posted by ForceHSS View Post
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
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 .
Reply With Quote
  #9  
Old 15 Dec 2014, 14:58
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Just because they can't send them doesn't mean they can't receive them, either way one day their inbox will fill up.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove sig lines from Private Messages jamoss vBulletin 2.x Beta Releases 3 01 May 2009 09:24



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:25.

Layout Options | Width: Wide Color: