![]() |
Disable PMs for single user(s)
Ever wanted to disable the PMs for 1 or 2 users without having to create a new usergroup for them?
Then this hack is for you! 1) Go to ACP and turn off PM reception for the user(s) causing trouble. 2) Then put the following code (replace X, Y and Z with the userids) in template phpinclude_start to make sure they won't turn it back on again: PHP Code:
This was developed and tested with 3.0.6, but should work with all 3.0.X-Versions. |
why not make it a vboptions so it will be easy to add/remove users from that list?
|
Because that would make things a bit more complicated ;)
|
Won't this make members who disable PMs themselves unable to turn them back on?
|
No. The code only gets executed for the userids listed.
|
Ohhh I'm sorry... I didn't read the code carefully enough. Sorry about that :)
Great idea man, I'll be able to use this in the next few weeks. |
@Kirby
Could you please provide the instructions also as a textfile, so people who use this hack can have it as a reference for upgrading. :D :D |
Hmm, a textfile for 4 lines which will not be lost during an upgrade (as it is phpinclude code) sounds like overkill.
But neverthlesss: attached :) |
Hi
there is such option Quote:
|
Quote:
Sorry, I don't understand what you want? |
I mean there is no option to diable user pm in ACP
|
There isn't?
Screenshot attached. |
Any plans to upgrade this to RC1 ? ;)
|
Erm ... not really.
But if there's enough Interest I might take a look into making this a real Hack :) |
Well, I'm definately intersted (for personal reasons). Does that count? ;)
(There we go, now that you have 1/2 person, all we need are a few more. ;)) |
Hi
that is to stop recieving pm what a bout stop sending pm |
If receiving is disabled, you also can't send PMs.
|
Hi
great KirbyDE I will try that thanks |
Is there a 3.6 version of this? I am looking to disable a couple users pm's
|
How can I disable PMs from ONE user to ONE other user? As in.. User2 would not be able to PM User1, but User2 can PM everyone else and User1 can still recieve PMS from everyone else.
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|