![]() |
Mass Private Messages on Memberlist
What does this modification do?
On memberlist select multiple users for Mass Private Messages them. This is done by only 2 template edits :D 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 Code:
</tr> Code:
<td class="$bgclass"><input type="checkbox" name="deletebox[$userinfo[userid]]" value="$userinfo[userid]" /></td> Code:
<form action="profile.php?do=deleteusergroups&usergroupid=$usergroupid" method="post"> Code:
<script type="text/javascript"> Code:
</form> Code:
<input type="button" class="button" value="$vbphrase[send_private_message_to_selected_users]" onclick="pm(this.form);" title="title" style="float:right"/> Code:
</tr> Code:
<td class="thead" align="right"><input type="checkbox" name="allbox" title="$vbphrase[check_uncheck_all]" onclick="js_check_all(this.form);" />$vbphrase[check_uncheck_all]</td> 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:
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"> |
:erm: what is Mass PN :confused:
|
It's like Mass Mail in admincp. You write one pm to multiple users.
|
Quote:
|
Finally, great job.
I tried to get this very same edit to work for me long ago. I assume this picks up usergroup permissions? |
Quote:
This template edit just puts a checkbox right to each user. If you click on "Send PMs", the small javascript just generates a custom url "private.php?do=newpm&userid[]=1&userid[]=2&userid[]=3" and refreshes actual window with this url. Nothing special here, javascript code is mostly from Quick Links > Open Buddy List. |
Awesome, Thank you.
|
I am also working on a "Select All" checkbox, help is appreciated :D
|
Quote:
Code:
<td class="thead" align="right"><input type="checkbox" name="allbox" title="Check All" onclick="js_check_all(this.form);" />Check All</td> |
Quote:
|
Excellent:erm::up: good jop
|
If you install this mod, please click install. The more user install, the more effort I take into this mod :)
|
Quote:
Peace, Gene Steinberg |
Quote:
|
Quote:
Peace, Gene |
Quote:
|
Quote:
Peace, Gene Steinberg |
I like this but how about making it so it appears as an option for new pm like the old super pm did?
I would rather have the option in pm's than the member list if its possible as an additional option. |
I think this should have extra permissions. eg. only x usergroup be allowed to see the check boxes.
|
Quote:
|
Is this the only PM mod available?
I'd like to be able to have the option to send a mass PM to a whole usergroup 'without' also sending an email notification. The reason is we imported thousands of users from another system and many of these are no longer really members. If I pm'ed the whole list and everyone got an email I'd probably get shut down for spam. |
Quote:
Quote:
Quote:
|
This is a cart before the horse argument. I'll install the product that performs the tasks I want, and yours doesn't -- yet. As MarkP says, I'd like to be able to send a mass PM to an entire usergroup, which is an option that should probably be added in -- what? -- Admin CP?
Peace, Gene |
Quote:
|
I understand your point. But going through a member list when you have a thousand members or more can take a little time. However, being able to globally send PM to an entire usergroup in Admin CP would be a whole lot faster, don't you think? Just a suggestion.
Peace, Gene |
Quote:
While writing another modification about buddylist, I saw that a memberlist mass pm could be possible with a template modification, so here we are and if this template mod becomes more famous, I am putting more energy inside :D |
nice one.
but i also wat to send Mass PM without sendin Email notification ... |
If you make this a product I will install this as well. PLEASE make this a product. I am not going to do all the edits and then install a product. So please make this ASAP! THANKS!
|
Quote:
|
I am sorry but your math thinking is way off! Such a features is of critical importance. I need it to be for admins only so I hope you consider doing it.
|
Quote:
there was one for 3.6 but not for 3.7 i think that if someone will make a product for mass pm many will install |
Quote:
Peace, Gene |
I would also LOVE to have this as a product. I'd rather not do the template edits if I don't have to. :D
Any update on this? |
Quote:
|
Quote:
If you make it as a product, I am sure it will increase. |
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?
|
Quote:
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(5,6,7))"> |
Thanks ThorstenA,
Works how I wanted it. Quote:
|
Installed! Thanks for your time on this. :)
|
Fantastic, thank you.
|
All times are GMT. The time now is 04:57 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:
|