The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Contact Us Email Feedback Form (with IP address & status of sender) Details »» | |||||||||||||||||||||||||||||
Contact Us Email Feedback Form (with IP address & status of sender)
Developer Last Online: May 2013
Contact Us Email Feedback Form (with IP address) Version 2.3
------------------------------------------------------------------------- Reason: -------------- This hack allows members and guests to email you the administrator using an online email form. This way, you keep your email address hidden from spambots that crawl sites for email addresses. When members use the form, their name and email address gets automatically inserted. Guests will have to fill out the name and email boxes. If they are not filled, the email will not be sent. Users get to choose from a list of subjects, or they can enter their own email subject if they choose "Other". If the member who emails you is Unregistered or Not Logged In, the email will tell you that the Sender is Unregistered or Not Logged In. If the member who emails you is Registered, then the username and email address of the member on file will be sent to you as well - this way, even if a registered member tries to pretend to be another member or put in a fake address, you will know who the member is. The email sent to you will have the IP address and if available, the Host Name of the sender, with a link to click that will automatically search the database for members sharing that same IP - good for tracking down people sending you abusive emails using the form. Example of an email from a Registered Member: ---------------------------------------------------------- Quote:
Email from a Unregistered User or Member who is Not Logged In: ---------------------------------------------------------------------- Quote:
The form is web-based, and the feedback is emailed to you, without ever revealing your admin email address if you want to keep that private. Screenshot: ----------------------- Installation: ------------------- Easy. There are no file changes, 3 new templates to make, and 2 files to upload. Create the 3 templates based on the txt files - name the templates after the file names, and copy the content of the txt files into the templates. contact contact_error contact_sent Then upload the following files into your forums directory. contact.php Last thing you need to do is to place this link anywhere on your site, or in your contact link field in your vB Admin Options. I have placed mine in the footer template (change it to your forums URL). <a href="http://www.yourforums.com/yourforums/contact.php">Contact Us</a> And you're done! Enjoy! Version 2.0 ------------------ Added the option for users to choose from a list of subjects. Also fixed a minor title bug. If the option "Other" is chosen, but no title filled out in the optional text box, a blank field error message will be shown. To upgrade from Version 1.2 - just copy the new "contact.php" and "send.php" over the old files, and replace the "contact" template with the new one. Feel free to add more email subject titles by modifying the "contact" template. Version 2.1 ------------------- Added - IP address and if available, the Host Name of sender in the email sent to you, with a link to search the database for members with the same IP address in the email (in case of people sending you abusive emails using the form)! Version 2.2 ------------------- Added - if the sender is a Registered Member the email will contain the username and email on file, regardless of what the sender puts in the fields. If the sender is Not Logged In or Unregistered, the email will let you know. Version 2.3 ------------------- Tidied the code up, removed the need for send.php. Upgrading ------------------- - to upgrade from version 1.2 - upload the new contact.php and send.php files, and replace the "contact" template with the new one. - to upgrade from version 2.0 - upload the new send.php - to upgrade from version 2.1 - upload the new send.php - to upgrade from version 2.2 - upload the new contact.php, delete send.php (not needed), replace "contact" template with contact.txt Latest hack version 2.3 below: Show Your Support
|
Comments |
#122
|
|||
|
|||
Hello Erwin,,,
I have a Question ...But before that I want to say short words ... While I was testing the wonderful hack ... I just press send to webmastermail ... I recieved it but not in (( INBOX )) .... I recieved in (( Junk Mail )) !! why ? |
#123
|
||||
|
||||
Sorry, I don't understand what on earth you mean.
It's probably your mail reader filtering your own website domain to the junk mail for some reason. |
#124
|
||||
|
||||
Quote:
|
#125
|
|||
|
|||
right i figured out why i got blank page lol stupid me had contact_send instad of contact_sent but now it working but theres a problem i am not receiving the email any ideas
|
#126
|
||||
|
||||
Check your that your email set in the Admin CP is the right one. I am using the $webmasteremail variable in this hack.
|
#127
|
|||
|
|||
Hi Erwin
Is it posible to send defferent subjcet to another email. For example, I wan to send the "Bug Report" to my personal email and the rest to the webmasteremail. Thanks in advance |
#128
|
||||
|
||||
/me clicks install.
Great job on this! -Jason |
#129
|
||||
|
||||
Quote:
Yes, it's very possible, and easy to do. Just change this bit: Find: PHP Code:
PHP Code:
|
#130
|
|||
|
|||
Thank you very much Erwin, you are SUPER, it works perficly.
I was just woundering if there is a way to prevent people from sending the same message more than once or twice, ( by setting some cookies counter may be). Some people might abuse the system and flood your inbox with emals |
#131
|
||||
|
||||
Well, this is why this hack logs the user's IP address.
We can always use the email spam check time limit for the normal email form, but this means adding another query. It can be done. In contact.php, Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Not tested, but should work. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|