The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to send private message to multiple recipients
If you want to link someone to send a private message to a specified user (user id ###), you get them to click on following link:
www.forum.com/private.php?do=newpm&u=### (as a generic example) And it will direct them to a PM page with user ### in the Recipient box. However i am wondering what you would change the link to if you want it to create a Private Message with more than one user as a recipient. Ive tried things like &u=###u=$$$ and &u=###=$$$ and &u=###,$$$ but to no avail. Thanks |
#2
|
|||
|
|||
No, you can't simply put more "u"-s in the title. The way the url works is php picks up the "u" at the end of the link as a variable.
The syntax is blah.php?var1=blah&var2=blah&var3=blah so you can't have more than one "u" in there or wrong syntax (&u=##=## won't work because you have two "="s) Instead try: forum.com/private.php?do=newpm&u=22;12;44 << that would make more sense. If that doesn't work try using a comma. |
#3
|
|||
|
|||
Ive tried both commas and colons already unfortunately (the last one i bolded). Perhaps there is no way around it.. Thanks anyway
|
#4
|
|||
|
|||
Just incase you are still wondering:
private.php?do=newpm&userid[]=USERID&userid[]=USERID etc etc etc... |
#5
|
||||
|
||||
I know this is strictly speaking the wrong area but this seamed to be the most logical place.
How is this done in vB4? I've tried the method posted by benFF but something like private.php?do=newpm&userid[1]=USERID&userid[2]=USERID didn't work. |
#6
|
|||
|
|||
Hey Cadellin,
In my example, if you want to send to say, users with ID 1 and 2 then you would do: private.php?do=newpm&userid[]=1&userid[]=2 Maybe this works with VB4? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|