Description:
Allows specified users to send a Private Message to certain groups of people.
This is basically the same as the hack created by UAE and in talking with him I have posted this here.
Super Private Message will give you the convenience and ability to provide many different options for sending mass private messages to users by any one you choose to assign this task to based on Conditionals (if):
User's Usergroup is Y.
User's has posts greater than x posts.
User's has posts less than x posts.
User's Join Date is After (yyyy-mm-dd).
User's Join Date is Befor (yyyy-mm-dd).
User's Last Activiy is After (yyyy-mm-dd).
User's Last Activiy is Befor (yyyy-mm-dd).
User's Last Post is After (yyyy-mm-dd).
User's Last Post is Befor (yyyy-mm-dd).
Settings in the Admin CP:
Specify who gets to use the Super Private Message System by Assigning their User Names or User IDs.
Specify the Secondary and Primary usergroup they can send a mass pm to.
Select what usergroup to be visible for selection(s).
Select to have the assignee change his identity when sending.
Control what fields to be visible for each assignee.
List All assignee, delete/edit them.
Hack Installation Details:
New files for this Hack: 2
/admincp/adminsuperpm.php
/superpm.php
New templates for this Hack: 1
pm_newsuperpm
Template-edits: 1
pm_newpm
DB Tables modified for this Hack: 1
user
History:
1.0.1 BETA
Fixed bug in xml
No longer show to whom the message will be sent (if you like that don't upload the superpm.php file. If your copy is working there is really no need to upgrade, there are no major changes yet - hopefully soon there will be!
1.0.2 BETA
Changed wording in Template - Makes more sense
Changed location of SuperPM link in admincp - Contained in the "User" group
Changed insert to fix/help fix the problem with overloading the server
Added option for admin to show to whom message will be sent
1.0.3
Fixed bug causing a php error * Thanks for the report Fofer
Fixed bug saving message to sent items even if you don't send it.
1.0.4
Added Email on pm - WARNING this will most likely not work if sending to over 500 people (probably ok up to 1000) although may be server intensive. Also, to do that you will likely have to change the max number or pms in superpm.php file from 500 to 1000.
Misc. changes as requested.
To upgrade, upload files and import the new product, click on overwrite and you will be set.
-------------------------------------
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN!
If you like this hack, please be kind and click "INSTALL" Link.
This has been tested and seems to be working fine. If you find any errors please let me know!
This could be true, I will look at what I am doing with this and try and fix it if it is. Sorry about the confusion, it shouldn't do that... but obviously it is.
Also thanks for the info on the problems, I will look at these as well and see what I have done and fix any problems!
Mark
Thanks for the reply Mark, hopefully my notes help you nail down the problem!
While you're at it if you could check into the bug I mentioned in post #80 above ("Warning: implode(): Bad arguments. in /superpm.php on line 252") that'd be cool too.
Thanks for the reply Mark, hopefully my notes help you nail down the problem!
While you're at it if you could check into the bug I mentioned in post #80 above ("Warning: implode(): Bad arguments. in /superpm.php on line 252") that'd be cool too.
Will do, I don't think it will be that hard to fix, but we will see, I can't do it now but in the next couple of days I will try and have it done Thanks again.
I will look into it, what our options are. The users can obviously select the messages and delete them, but... What exactly are you thinking for functionality here? Who deletes them... that kind of a thing.
Mark
thanks msgotit forthe quick reply/..
lets say i am sending a regular weekly PM to members...after a while specially seeing the non active members get a full inbox
so i was thinking if the Admin can mass delete the PM's also........as it will take a lot of space in the database......specially if you have lets say 5000 members
something like running the query
TRUNCATE TABLE pm
TRUNCATE TABLE pmtext
Thanks for the reply Mark, hopefully my notes help you nail down the problem!
While you're at it if you could check into the bug I mentioned in post #80 above ("Warning: implode(): Bad arguments. in /superpm.php on line 252") that'd be cool too.
I have updated the superpm.php file to make the changes. Hopefully that will take care of anybugs. Thanks for your help!