Version: 1.00, by ThorstenA
Developer Last Online: Nov 2023
Category: Private Messages Enhancements -
Version: 3.7.4
Rating:
Released: 08-18-2008
Last Update: Never
Installs: 32
Template Edits
Re-useable Code
No support by the author.
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 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
Quote:
Originally Posted by chikkoo
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.
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">
here you do put template edits
</if>
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">
here you do put template edits
</if>
Are you putting that around every edit in the templates that are listed? Can you give an example of how this is integrated with the code? It's not working for me at all.
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))">
here you do put template edits
</if>
Are you putting that around every edit in the templates that are listed? Can you give an example of how this is integrated with the code? It's not working for me at all.
Yes, you have to put any template edit within this conditional. For example first template edit would be
I clicked install so it runs the install count up. Instead of userlist, I would like to see, on the pm page, a list of the usergroups and a checkbox so I dont have to send to individuals, but just to the usergroups. Make it to where only certain usergroups can do this as per the admincp
I have 12 boards to install something like this on, and would be willing to donate if you actually put it out as a product
I am someone who is newer to doing these modifications and do not understand your reasoning. There may be a number of people with this modification book marked and waiting for you to make it a simple xml add on. As a simple import you would have anyone that wanted this installing it. Why exclude anyone from adding this, if it can be made easier to install?
I am someone who is newer to doing these modifications and do not understand your reasoning. There may be a number of people with this modification book marked and waiting for you to make it a simple xml add on. As a simple import you would have anyone that wanted this installing it. Why exclude anyone from adding this, if it can be made easier to install?
Re-Use: This code may be used in other modifications as long as the original author is credited.