Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Users Only Allowed to Send PMs to Staff (staff excluded) Details »
Users Only Allowed to Send PMs to Staff (staff excluded)
Mod Version: 1.00, by Gary King (Member) Gary King is offline
Developer Last Online: May 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 4
Released: 14 Dec 2003 Last Update: Never Downloads: 0
Not Supported  

Requested here: http://www.vbulletin.org/forum/showthread.php?t=59131

What does this hack do?

It restricts the user's usage of private messages, so that they can only send/receive private messages from administrators, supermoderators or moderators.

You are also able to turn this on or off at will, in the settings area of the admincp.

Instructions

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


Open private.php and find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Create a new template named error_canonlypmstaff with the following content
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Enjoy!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[Staff Ranks] Staff Buttons Nexus SkyCatcher vBulletin Rank Sets 5 12 Nov 2006 12:00

Comments
  #2  
Old 15 Dec 2003, 12:35
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Real name: Daniel
Nice hack Gary Won't use it though since it is for vB2
__________________
Former vBulletin.org Staff Member

Guildhead | Torhead | Wowhead
Please do not Private Message, Email or Instant Message me for Support with vBulletin or help with any Modifications to vBulletin.
Reply With Quote
  #3  
Old 15 Dec 2003, 17:46
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
Nice idea mate! Thanks alot
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #4  
Old 27 Dec 2003, 01:39
Shell Geeks's Avatar
Shell Geeks Shell Geeks is offline
 
Join Date: Dec 2003
Real name: Ask Me
wow that was an easy install great hack, this will be great to fight off all the lamers who register at boards just to blanket it with PM's
Reply With Quote
  #5  
Old 27 Dec 2003, 02:39
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Could people please click on Install if you installed it, just for courtesy, thanks
Reply With Quote
  #6  
Old 28 Dec 2003, 17:58
BabesAndStuff BabesAndStuff is offline
 
Join Date: Jun 2003
Real name: Frank
can u use this with permissions to give some people normal rights and others the hacks limited to staff rights only
Reply With Quote
  #7  
Old 23 Jan 2004, 15:11
midnightz midnightz is offline
 
Join Date: Jan 2003
Is there away, to have it where only accepted groups numbers can PM admins. I get a lot of PM's from newbies and groups and just don't want them. But I would like to kep in touch with the usergroups i feel choice.. ?

Possible,

Thanks
Reply With Quote
  #8  
Old 23 Jan 2004, 16:44
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by midnightz
Is there away, to have it where only accepted groups numbers can PM admins. I get a lot of PM's from newbies and groups and just don't want them. But I would like to kep in touch with the usergroups i feel choice.. ?

Possible,

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

Replace the X with whatever usergroupid you want to allow to send PMs
Reply With Quote
  #9  
Old 23 Jan 2004, 17:03
midnightz midnightz is offline
 
Join Date: Jan 2003
Great thanks

If I'm not mistaken before installing this will still block users from sending pms to other users?
and also allow myself to PM'ed by shosen usergroups.

Will the above code (i'm not sure) allow Pm's to fully operate as normal, meaning all users can pm all users, except admins (unless the usergroup is listed)

Thanks again for such a quick response
Reply With Quote
  #10  
Old 23 Jan 2004, 20:40
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by midnightz
Great thanks

If I'm not mistaken before installing this will still block users from sending pms to other users?
and also allow myself to PM'ed by shosen usergroups.

Will the above code (i'm not sure) allow Pm's to fully operate as normal, meaning all users can pm all users, except admins (unless the usergroup is listed)

Thanks again for such a quick response
This will allow one extra usergroup to send PMs freely to anyone they want.
Reply With Quote
  #11  
Old 23 Jan 2004, 20:47
midnightz midnightz is offline
 
Join Date: Jan 2003
I am guessing I could maybe repeat the X part of the code and add more groups if needed? Or is this a no-no
Reply With Quote
  #12  
Old 14 Mar 2004, 12:34
firas firas is offline
 
Join Date: Feb 2002
thanx alot..

i have a question..

how can i give the staff the ability to reply????
__________________
easy come, easy go
Reply With Quote
  #13  
Old 14 Mar 2004, 14:53
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by firas
thanx alot..

i have a question..

how can i give the staff the ability to reply????
They already CAN reply.
Reply With Quote
  #14  
Old 21 Mar 2004, 15:06
firas firas is offline
 
Join Date: Feb 2002
Originally Posted by Gary W
They already CAN reply.
i just installed it when i tried to send a message to a member that i created, it did not allow me.

any clue?
__________________
easy come, easy go
Reply With Quote
  #15  
Old 21 Mar 2004, 15:42
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Originally Posted by firas
i just installed it when i tried to send a message to a member that i created, it did not allow me.

any clue?
Strange, it works fine for me I just tested and installed right now on a fresh 2.3.4; just make sure you are either mod, smod, or admin.
Reply With Quote
Reply


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

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 19:56.

Layout Options | Width: Wide Color: