The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello all. Ok so here is my problem. I have unregistered user able to contact me via the contact us link at the bottom of the page. The user has to verify the image and so on. This is all great and allows my email address to be hidden to the outside world. My problem is this. When I get an E mail message from an unregistered user I get it with the following information:
Referring Page: IP Address: User Name: Unregistered User ID: 0 Now whats the one thing missing from this info that I really need to help the user? There E mail address. I can not find anywhere how to fix this problem. The user has to enter there e mail address in order to send the form so why do I not get it? ![]() Mike |
#2
|
||||
|
||||
![]()
When you receive this email, can't you just look at the headers and see who it's from? The email address the user entered should be the "from" line in your email. All you should have to do to reply to them is hit reply and your email client should put this "from" email addy into the "to" field.
|
#3
|
|||
|
|||
![]()
In the from line it says my message board name and the E amil address of my pop server account that i authorized to send mail from my mesasge board. doing this prevents spammers from spamming from my board. so I have to keep the from field in the header as is. I need to add the e mail field somewhere else in the message.
|
#4
|
||||
|
||||
![]()
I'm not using vb 3.6 but I think what you want to do is use the hook 'sendmessage_docontactus_start' (I think you could actually use that hook or 'sendmessage_docontactus_process') and add the line: "$email =& $vbulletin->GPC['email'];" That will make the variable $email available to your phrases.
Then find the phrase in "Email Body Text" called "contactus" and add in a line for the email like: Code:
The following message was sent to you via the $vboptions[bbtitle] Contact Us form by $name. -------------------------------- $message -------------------------------- Referring Page: $url IP Address: $ip User Name: $bbuserinfo[username] User Email: $email |
#5
|
|||
|
|||
![]()
That looks great, I will try it now. I'll get back to you and let you klnow. thanks.
Mike That is in the sendmessage.php file correct? I just want to make sure before i change anything. Thanks again Mike Thank you so much lynne. That worked perfectly. That is the fix that I was looking for. You are brilliant. |
#6
|
||||
|
||||
![]()
I'm glad to hear it worked for you!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|