#1
|
||||
|
||||
PM several/all members
Has anyone figured out how to PM several members at once, or maybe all of them? I read there was supposed to be something like this included in the news mod, but that chunk of the code was never written.
__________________
|
#2
|
|||
|
|||
I can think of 2 possible PHP ways to do this:
1. If you want to send the message massively, individually, so that in replying, the user is only replying to the sender: Have you tried to list the usernames/IDs into an array, then loop through the array, sending the mass message? 2. If you want to send the message as a "group", meaning that users can all see who is added to the message, and when replying, replies to the group as a whole, you could use a forum type of functionality. Of course, it would be private, and only individuals added to that message could send/receive messages on it. Please note, I have not started using Mysidia, however, I'm an active PHP Programmer for other sites, and to my knowledge, Mysidia basically uses OOP PHP for it's scripting, therefore, the same concepts should apply. Last edited by JeVousDefie; 01-18-2017 at 01:41 PM. Reason: Quick notice addition |
#3
|
||||
|
||||
I will try to update that mod once I have more free time (sorry, coming back from a hiatus, so I'm still trying to refresh my memory) and add that notification feature.
But until then, like JeVousDefie said, you need to make a database call to get all usernames and then do something similar to the function post() inside class_privatemessage.php to send a message to each username
__________________
asp.net stole my soul. |
|
|
What's New? |
What's Hot? |
What's Popular? |