The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Populating $subject and $message with Post info in mailform template
I am trying to create a button that will bring up the ?send message? form so a user can send an email to another member in response to a post. In addition the email will be populated with the post?s title in the subject and the post?s message in the textarea.
I know that the send message form uses the ?mailform? template from sendmessage.php?do=mailmember function and that the mailform template uses the variables $subject in the title and $message in the text area. I know I need to populate $subject and $message with the info from the post My thought is to use the link in the postbit template Code:
sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]&p=$post[postid]" My question is whether or not I am on the right track and if so, how do I get the information from p=post[postid] into $subject and $message in the mailform template? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|