MyBB Community Forums

Full Version: Send pm to multiple users with URL?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
At the mo you can specify 1 user in a URL to send a message with &uid=245 but I want to send to multiple users. How do?
Recipients: (BCC) Separate multiple user names with a comma.

User1,User2,User3
No, I want to send a pm with details like recipients filled out by URL.

eg.

/private.php?action=send&uid=568, 42&subject=Message subject&message=Message contents
Why are you trying to do this in the first place? Just to see if there are other avenues you can take ..
Can't be done by default, but could be done with a plugin.
(2012-02-20, 04:51 AM)Richard Wrote: [ -> ]Why are you trying to do this in the first place? Just to see if there are other avenues you can take ..

I want to fill out a template for sending a few users news for my website. I suppose I could write a plugin for it, but I was hoping there'd be a way to do this by default.
It's simple enough to do, using the private_send_start hook. I just made one for you with my Hooks plugin, exported both as XML (to be used with the Hooks plugin) and as a standalone plugin file. With this you can use private.php?action=send&multi=1,2,3
Oh cool, I'll try that out.

Edit: Works like a charm! Thanks again.