Log in

View Full Version : External link to send a pm


SARA75
07-20-2009, 08:21 AM
Hi all!
First of all sorry for my English :rolleyes:

I need to make a link to send a new pm to users but I also need to pass a title for this PM.
To send the message I made a link to
private.php?do=newpm&u=1
where 1 is the user id

Do you know how can I pass some value to the title?
Thanks
Sara

nirvana43
07-20-2009, 03:21 PM
It will require some custom changes in files.
But to forward message, you can use :
www.yourdomain.com/private.php?do=newpm&u=1&pmid=1 (http://www.xxx.com)

pmid : specifies message id which you wish to forward.
It will automatically fetch Title, Message contents.

SARA75
07-22-2009, 04:30 PM
Thanks Nirvana, but really I don't need to forward a message but to send a pm from others applications added to the forum (gallery, classified and review) and to automatically prepare the title of this pm sending information in the link or form.

I tried to check how vbulletin include the title when pmid is specified, but I don't find where is this function :(