View Full Version : Admin Mass PM v1.0
Zero Tolerance
07-13-2004, 10:00 PM
Well one was made, but not to my liking, it was an edit of the email page, and didn't really please me to what i wanted. So i made this, a simple yet effective hack well requested across vbulletin and other systems.
Features:
Number of PM's to send at a time
- It's a server intensive process and you don't want to ultimatly send to everyone at once on your forum unless you have like 50 member's.
Send to usergroup only
- You can specify if you want to send to ALL usergroup's or just 1 usergroup, helps if your wanting to Pm your admins or mods, or just members.
And thats it... what more could you ask for in a mass pm hack?
Any questions please reply below, there's a preview for you all because i know myself i hate installing things just to see what they look like ;)
Enjoy,
- Zero Tolerance
nexialys
07-14-2004, 11:07 AM
instead of selecting all users or one specific group, would it be possible to select a list of groups ?! (with a multiple selectable dropdown) ...
Rambo
07-14-2004, 11:08 AM
Installed and worked a charm ^_^
Nice one
Zero Tolerance
07-14-2004, 11:09 AM
instead of selecting all users or one specific group, would it be possible to select a list of groups ?! (with a multiple selectable dropdown) ...
Perhaps in v1.5 i can add a list of the usergroups, and next to them checkbox's, the one's with the box's checked get the pm, the other's don't
Would that satisfy your needs?
And thanks Rambo :)
- Zero Tolerance
platnum
07-14-2004, 11:40 AM
Nice! Been looking for something like this :D
nexialys
07-14-2004, 12:15 PM
@Zero ... yes, it answer the need... ;)
Zero Tolerance
07-14-2004, 12:46 PM
Ill get started on v1.5 in a couple of days then, need to work on other stuff atm. But for now i hope you enjoy the current version :)
@ Platnum - Glad it's what you wanted ^_^
- Zero Tolerance
kodeking
07-14-2004, 02:35 PM
This looks good. It would be very resource frienldy if you added another table called adminmessage or something where you insert one row per PM with permissions on who can view it and then somehow make it so it can be marked as read by each user.
Zero Tolerance
07-14-2004, 02:47 PM
This looks good. It would be very resource frienldy if you added another table called adminmessage or something where you insert one row per PM with permissions on who can view it and then somehow make it so it can be marked as read by each user.
That would be making a seperate sort of PM, which in turn would make the whole point of the hack redundant, i mean you could just post an announcement on your site or post a thread with what your asking for..
- Zero Tolerance
Predator668
07-14-2004, 06:48 PM
Hello,
Good work on this mod. Works with out fail. I do have one suggestion for your next release. When you send the PM by group, it also sends to everybody who has the group as their additional user group as well the primary. This way everybody gets the PM.
Thanks,
David
Well one was made, but not to my liking, it was an edit of the email page, and didn't really please me to what i wanted. So i made this, a simple yet effective hack well requested across vbulletin and other systems.
Features:
Number of PM's to send at a time
- It's a server intensive process and you don't want to ultimatly send to everyone at once on your forum unless you have like 50 member's.
Send to usergroup only
- You can specify if you want to send to ALL usergroup's or just 1 usergroup, helps if your wanting to Pm your admins or mods, or just members.
And thats it... what more could you ask for in a mass pm hack?
Any questions please reply below, there's a preview for you all because i know myself i hate installing things just to see what they look like ;)
Enjoy,
- Zero Tolerance
Dont see the difference or advantage of this hack over the other one.
with the other one, you can do the same thing, and even more than that, isnt it?
68 Z-28
07-14-2004, 06:57 PM
WOW, this looks like it'd be very usefull to me and the moderators of regional usergroups.
2 things:
Is there a way it can be integrated so moderators can mass PM also?
Is there a way to add an option to PM only the users online?
Does this PM "additional" groups? or only primary groups?
SaN-DeeP
07-14-2004, 11:08 PM
thnx for a wonderful addon :)
if we can only let superadmins send mass pms its gonna be more better
Regards,
trackpads
07-15-2004, 01:48 AM
Is it possible to have it only send like 20 PMs at a time until complete? Would that help the issue with sending PMs to everyone?
I would actually prefer a mass PM instead of a mass email (thanks to VBs emails getting blocked all the time)
Thanks again,
-Jason
turbidblue
07-15-2004, 02:15 AM
thanks! very handy and very easy to install!
* turbidblue clicks install
:)
Zero Tolerance
07-15-2004, 04:09 AM
Hello,
Good work on this mod. Works with out fail. I do have one suggestion for your next release. When you send the PM by group, it also sends to everybody who has the group as their additional user group as well the primary. This way everybody gets the PM.
Thanks,
David
I though it only sent to there primary usergroup? In any case ill look this up...
Is it possible to have it only send like 20 PMs at a time until complete? Would that help the issue with sending PMs to everyone?
I would actually prefer a mass PM instead of a mass email (thanks to VBs emails getting blocked all the time)
Thanks again,
-Jason
Yes, where it says the number 300, thats how many it sends at a time, input 20 and it will only send 20 pm's at a time and continue to send 20 pm's untill it has sent to all members within the usergroup you chose :)
- Zero Tolerance
dssmili
07-15-2004, 05:03 AM
Thanks bro.
mili
Predator668
07-16-2004, 10:01 PM
Zero,
My suggestion to headed towards, everybody who has that group as pri. and addtional gets the pm.
Thanks for this handy script :D
HakkieDEV
07-18-2004, 02:09 PM
Is it possible to have it only send like 20 PMs at a time until complete? Would that help the issue with sending PMs to everyone?
I would actually prefer a mass PM instead of a mass email (thanks to VBs emails getting blocked all the time)
Thanks again,
-Jason
Very good hack mate!
I was looking to do something like this and you've done it!
CharlieBrownDE
07-31-2004, 03:25 PM
hi,
thx for the wonderfull hack:)
sorry for my bad english:D
I have still one ask in addition.
also does the possibility exist the variable as replacementaddresses to take with this chops?
$userid, $username, $email ....
Amazing hack, Successfully installed.
trackpads
09-08-2004, 08:12 AM
Well one was made, but not to my liking, it was an edit of the email page, and didn't really please me to what i wanted. So i made this, a simple yet effective hack well requested across vbulletin and other systems.
Features:
Number of PM's to send at a time
- It's a server intensive process and you don't want to ultimatly send to everyone at once on your forum unless you have like 50 member's.
Send to usergroup only
- You can specify if you want to send to ALL usergroup's or just 1 usergroup, helps if your wanting to Pm your admins or mods, or just members.
And thats it... what more could you ask for in a mass pm hack?
Any questions please reply below, there's a preview for you all because i know myself i hate installing things just to see what they look like ;)
Enjoy,
- Zero Tolerance
Any update on the new version?
Thanks again!!
-Jason
68 Z-28
09-10-2004, 02:56 AM
Ran into a minor problem. I successfully installed it into my mods control panel and it's there to work.
However, this hack will only send PM's to people in a usergroup which they are a primary member of. I have made more usergroups for different regions, and the members have that as a secondary usergroup. If I try to send a PM to a specific regional group(all members are secondary not primary) it says that there are no members in that usergroup.
How would I go about modifying the code so it will also do a check for members that have a usergroup as the second one.
Thankyou in advance
Perfect. Thank you!
I thought how helpful it would be to have these abilities, came here to look and voila!
*install*
However, this hack will only send PM's to people in a usergroup which they are a primary member of. I have made more usergroups for different regions, and the members have that as a secondary usergroup. If I try to send a PM to a specific regional group(all members are secondary not primary) it says that there are no members in that usergroup.
How would I go about modifying the code so it will also do a check for members that have a usergroup as the second one.
We use secondary groups too, primarily. ;) (We leave everyone except admins in Reg users (and banned, unregistered, etc). Additional permissions are in secondary groups, so we needed this to.
Here's what you need to do:
In admin_pmall.php
Find:
// Collect Array Of Members Within Specified Usergroup
$Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_POST['to_usergroup']}' order by userid");
REPLACE WITH:
// Collect Array Of Members Within Specified Usergroup
$Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_POST['to_usergroup']}' or membergroupids REGEXP '[[:<:]]{$_POST['to_usergroup']}[[:>:]]' order by userid");
Find:
// Collect Array Of Members Within Specified Usergroup
$Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_GET['usergroup']}' order by userid");
REPLACE WITH:
// Collect Array Of Members Within Specified Usergroup
$Get_Members=$DB->query("select * from ".TABLE_PREFIX."user where usergroupid='{$_GET['usergroup']}' or membergroupids REGEXP '[[:<:]]{$_GET['usergroup']}[[:>:]]' order by userid");
This will find members who are in the specified group as EITHER their primary or as a secondary. Hope that helps. Credit for the REGEXP goes to my sysadmin Dan (the Man).
And thats it... what more could you ask for in a mass pm hack?
Well, since you asked. ;)
The ability to preview the PM and at least the number of people (if not the full list for shorter lists) who will receive the PM BEFORE it gets sent would be nice.
kristian
12-23-2004, 10:47 AM
Trust me to be the one...! :tired:
I can send to Admins, mods and Super Mods. But I cant send to Registered users (6500+); even at 30 at a time!
The page goes blank and nothing happens. I checked out the PMtexts table and nothing is sent.
Any ideas???
T3MEDIA
12-24-2004, 10:27 AM
Good point that happend to me as well the screen went blank.
is it sending? I thought it would show the names and say sent sent sent.
I guess I have to wait and see.
================================================== =
edit:
Found out what is up but dont know why it happens.
If I pick a uersergoup. Like reg. users.
and have something in the title. it works.
If I just do "usergroups" nada.
So just to let you guys know.
* Clb clicks install
thnx! :D
T3MEDIA
12-25-2004, 04:47 PM
Can we PLEASE have this set up so I can PM females or only people in Texas? or even better only females in Texas of a certain age.
This is a HOT hack and I want to do marketing with it.
PLEASE and THANK YOU!!!!
T3MEDIA
01-05-2005, 09:48 PM
Dont know why. just not working
T3MEDIA
01-18-2005, 06:19 PM
Trust me to be the one...! :tired:
I can send to Admins, mods and Super Mods. But I cant send to Registered users (6500+); even at 30 at a time!
The page goes blank and nothing happens. I checked out the PMtexts table and nothing is sent.
Any ideas???
Did you ever get a fix for this? mine does the same thing.
I am having the same issue when trying to send to "Registered" group. I submit and the page goes blank. As far as I know the PM wasn't received by any users.
I can send to all other groups with no problem.
The only thing I see different with that "Registered" group is that it's the only "primary" group on the Usergroup page in Admin. The rest are secondary, and the mass pm work with those secondary groups just fine. Dunno if that means diddly or not, but thought I would throw it out there. Heh.
If anyone can figure this one out I will be most grateful. Thanks!
T3MEDIA
01-31-2005, 02:37 AM
bump!
Haiko
01-31-2005, 12:23 PM
Nice Hack!
Quick question though, I want to use this to send out merchant advertisements, how can this be modified so that it wouldn't say PM (cause it really wouldn't be) but let's say "new merchant announcement" without changing any functionality.
T3MEDIA
02-01-2005, 11:41 PM
I am having the same issue when trying to send to "Registered" group. I submit and the page goes blank. As far as I know the PM wasn't received by any users.
I can send to all other groups with no problem.
The only thing I see different with that "Registered" group is that it's the only "primary" group on the Usergroup page in Admin. The rest are secondary, and the mass pm work with those secondary groups just fine. Dunno if that means diddly or not, but thought I would throw it out there. Heh.
If anyone can figure this one out I will be most grateful. Thanks!
Can anyone HELP here PLEASE??????
vbtester33
02-02-2005, 05:45 AM
what about people that have pm's turned off?
T3MEDIA
02-06-2005, 02:37 PM
Well once again... vb ++++s you up the ass.
thanks Z.T. I guess you live up to your name. Hey its free but why even put it out there and say you support it?
++++.
lamilein
02-22-2005, 11:49 AM
works great! thanks for this very usefull hack :)
nautiqeman
03-23-2005, 06:13 PM
Zero Tolerance: Thanks for this great hack! I've been looking for something just like this and it works great.
underESTIMATED
03-25-2005, 05:47 PM
Thank you.
This is alot easier than using the vB email that never sends out all the emails. :ninja:
oztrack
03-27-2005, 10:18 PM
I want to be able to use this with auto sendemail redirect hack at https://vborg.vbsupport.ru/showthread.php?t=78550
But some of the code is over the top of the new code for the other hack.
How can this be done. It would be great to be able to do both.
Steve
magyosha
03-30-2005, 05:13 PM
i'm using this hack .. very effective ..
however ..
when a user normaly sends a PM it they also recieve an email telling them they have recieved a PM etc .. when sendign with the hack no email is sent .. can this be added ?
Great hack - is there a way to send html email en masse - or something where we can vary the fonts a little - thx
almqdad
07-15-2005, 03:42 AM
does it work with
vb 3.07
Great Hack :)
Works great on 3.07.
One thing I didn't like:
When you send this, it automatically changes the user's option for "pop-up on new PM" to Yes. I don't think it should be doing that. But it was an easy fix for me and anyone else that wants to change it.
admin_pmall.php
Find
,pmpopup='2'
Delete
Thanks for the great hack :D
alexi
07-16-2005, 08:01 PM
I am having the same problem as some of the previous posters. I can send to everyone except the registered group.
Anyone have a clue?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.