Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mass Private Messages Details »
Mass Private Messages
Mod Version: 1.00, by ThorstenA (Member) ThorstenA is offline
Developer Last Online: Sep 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (1 vote - 5.00 average) Installs: 16
Released: 08 Jan 2009 Last Update: Never Downloads: 1
Not Supported Template Edits Re-usable Code Translations  

Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.

What does this modification do?
On memberlist select multiple users for Mass Private Messages them. This is done by only 2 template edits
What is Mass PM? It's like Mass Mail in admincp. You write one pm to multiple users.

How to
In template memberlist_resultsbit replace

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

with

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

In template memberlist replace

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

with

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

In template memberlist also replace the second instance this code appears:

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

with

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

In template memberlist also replace

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

with

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



How does this template modification work?
This template edit puts a checkbox right to each user. If you click on "Send PMs", the small javascript generates a custom url "private.php?do=newpm&userid[]=1&userid[]=2&userid[]=3" and refreshes actual window with this url. Javascript code is mostly from Quick Links > Open Buddy List.

FAQ
Originally Posted by chikkoo View Post
I installed this product. But I don't want to show this feature to everyone. Is there a way to restrict few usergroups, such as admin, supermoderators and moderators?
You can for example only show this mod for moderators, supermoderators and administrators (usergroups 5,7,6). Note that you have to put this condition for any template edit you want to only show to these usergroups.

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

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
Private Messages Enhancements Mass Private Messages on Memberlist ThorstenA vBulletin 3.7 Template Modifications 48 11 Mar 2009 02:48
Mass Delete Old Private messages amykhar vBulletin 2.x Full Releases 50 28 Feb 2007 01:30

Comments
  #2  
Old 09 Jan 2009, 00:40
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
hey do you think you could make a different hack but similiar to this where you can mass pm from within the admincp (I'd like to mass pm certain usergroups sometimes, but I can only email them currently) you would rock if you could do that version.

anyway, thanks for this release, it might come in handy down the track.
Reply With Quote
  #3  
Old 09 Jan 2009, 05:30
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
This modificationen makes use of memberlist template and therefore has to be completely rewritten for an admincp version. That is why I will not write an admincp version. I'd be glad if another one would complete this task.
Reply With Quote
  #4  
Old 09 Jan 2009, 17:02
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
I am unsure as to what needs to be done to restrict this to certain user groups. Where exactly does this go and what gets placed in the "here you do put template edits"?


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

Reply With Quote
  #5  
Old 09 Jan 2009, 17:06
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by Junkie View Post
I am unsure as to what needs to be done to restrict this to certain user groups. Where exactly does this go and what gets placed in the "here you do put template edits"?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
You have to do this for all changed parts of this template (4x).
Reply With Quote
  #6  
Old 09 Jan 2009, 17:11
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Sould I would put "<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">" at the beginning of your edits and then </if> at the end of your edits?

So your last edit


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


Would be


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

Reply With Quote
  #7  
Old 09 Jan 2009, 17:19
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Only changes from template should be within new <if conditions>. For last change it would be like this:

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

Reply With Quote
  #8  
Old 09 Jan 2009, 17:24
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Why was this left out? I'm still confused. Not that advanced of a coder.

</tr>
$memberlistbits
Reply With Quote
  #9  
Old 09 Jan 2009, 17:29
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by Junkie View Post
Why was this left out? I'm still confused. Not that advanced of a coder.

</tr>
$memberlistbits
This is html code from original template. You have to display this html code for all usergroups.
Reply With Quote
  #10  
Old 09 Jan 2009, 17:31
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Would it be possible to get each of the required edits with the additional usergroup code? If so, can you PM it to me?
Reply With Quote
  #11  
Old 09 Jan 2009, 17:34
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Sorry, this mod is unsupported.
Reply With Quote
  #12  
Old 09 Jan 2009, 17:38
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Can you at least help with the second edit. I have the one you already helped with and I try and do the other two on my own. I'm afraid I won't be able to figure out the big edit.
Reply With Quote
  #13  
Old 09 Jan 2009, 17:42
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Sorry, this mod is unsupported. If you want to code yourself and have questions about coding, please go to appropriate forums on vbulletin.org. Thank you.
Reply With Quote
  #14  
Old 11 Mar 2009, 02:48
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Re-Use: This code may be used in other modifications as long as the original author is credited.
Reply With Quote
  #15  
Old 27 Sep 2009, 13:36
Matt Lathrop Matt Lathrop is offline
 
Join Date: Dec 2008
Is there a way to select all?
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 06:08.

Layout Options | Width: Wide Color: