Super Contact us enhancement 1.0
==========================
By: Jeep
Made to work and tested with OsCommerce 2.2 MS2.
I have make a meltpot of all around contribution for the contact_us.php page. I include the Contact Us Form Vunerability Fix, address of the Online Store, a drop down list or radio button for the email departement to send the enquiry, a drop down list for the email reason, Opening Hours of the company, Add Customer Details Automatically if the customer is login.
I have hardcoded all the code of this Contribution to be multilingual. Included is English and French.
I have made this contribution to be very simple for you to install
Time to install : Between 5 to 15 minutes depending on your skill.
Have fun
Forum support and bug reports :
http://forums.oscommerce.com/index.php?showtopic=195314
Legend: 
Download

Report
A small bugfix to 1.41 to solve the recurring problem with one little "echo ;" and changing it to "echo('<br>');"
This should be 100% working - worst case is you end up with an extra line break. Apart form that it is 1.41 with the php files removed - as they may break a modified shop.
-Pensive
+-------------------------------------------------+
| Contact Us Super Enhancement V1.41 |
|28 May 2007 |
|Based on V1.40 from BoonDock|
|Added support for German language and also |cleared up the language code to the appropriate |language files (contact_us.php instead of |english.php)
|
|Thanks to The original author (DesertRose) for a |
|Great Contrib ! |
|UPlickert |
|(uplickert@web.de) |
+-------------------------------------------------+
In addition to the file below you need to download this file.
The .sql file in the package below is incomplete - I forgot to add the antirobot.sql 2.5 which is also needed.
This package contains one sql file which is the v2.5 + v2.6 which is necessary and the install instructions has been very nicely set up.
Neat, easy to read and follow.
I've combined my version of the Super Version Contact Us together with the Anti Robot Registration v2.6 by Moosey Jude. The fixes after his post did not work for me though.
This contrib is meant for a fresh install. If you have added other contributions back up the affected files and use a file compare program.
You can see this working contrib in action here
http://dev.webwolf.co.za/contact_us.php
All credits go to the original authors of the code. I've just merely manipulated it a bit to suit me.
If anyone needs assistance pse dont hesitate to contact me - I've added my email address in the Readme.txt file
+-------------------------------------------------+
| Contact Us Super Enhancement V1.4 |
|24 April 2007 |
|I applied the fix that was posted by dasruud and |
|rebundled it as 1.4 just to avoid any hassles. |
|Also added one other small fix. |
|Thanks to The original author (DesertRose) for a |
|Great Contrib ! |
|BoonDock |
|(John Dovey john@justdone.co.za) |
|http://www.justdone.co.za/catalog/ |
+-------------------------------------------------+
the file posted on 14 march didn't work for me - the e-mails were not sent.
i fixed it by replacing this code in contact_us.php:
if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'success')) {
with this one:
if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'send')) {
the enclosed zip is the same as the original, you'll need to manually edit the above change
This is just a small correction for "Super Contact Us Enhancement 1.3" posted on 25 Dec 2006.
After going through the installation instructions, I found a small error that will render the page blank.
After installing 1.3, find the following line in contact_us.php:
echo tep_draw_pull_down_menu('send_to', $send_to_array);
Two lines down, find and remove:
echo ;
That's all. Great modification, props to the authors :)
BEFORE TO DOWNLOAD THIS CONTRIBUTION you MUST have the Anti Robot Registration Validation 2.5 Full Package - contact_us included!! released by Alex Studio on 5 Dec 2006
(link is http://www.oscommerce.com/community/contributions,1237)
I CANNOT garantee this will work with other version that this 2.5 by Alex Studio!!
This is a full package. If you have already installed previous version, just copy paste the contact_us.php from the archive to your shop.
This time the contribution IS working fine!!
Great Contribution - Thanks to all responsible.
I did however find after installing the mod below that after the email was sent it was not directing me to the 'message sent success'
I found the following code missing:
tep_redirect(tep_href_link(FILENAME_CONTACT_US, 'action=success'));
I added that line to the code and changed the table stucture around . Not so many <tr>'s.
The whole form is now in one table and two columns.
New install instructions and also included a screenshot.
Only support for English though.
I've just added Turkish language support to Super Contact us enhancement 1.0
Turkish characters support unicode.
Thanks for this great contribution. I find it really usefull :)
Email gönderme formunda büyük değişimler yaratan bu eklentiye türkçe desteği ekledim.Türkçe desteği konusunda forumda sıkıntı olduğunu gördüm. Önce kendim bi yerlerden başlamalıyım diye düşündüm.Tadını çıkarın :)
Just a small modification to this excellent contribution. Allows the user to provide an Order ID. Good for linking emails with orders. Hope someone finds it useful
Full Package
Here a picture to see this contrib in action. Very usefull if you want to see before installing.
Super Contact us enhancement 1.1
=========================
A little missing instruction in step 2 second part for the searching line... Don't download the Super Contact us enhancement 1.0, i' contain wrong instruction for 1 step.
Full package
100 % bug free now.
Super Contact us enhancement 1.0
==========================
By: Jeep
Made to work and tested with OsCommerce 2.2 MS2.
I have make a meltpot of all around contribution for the contact_us.php page. I include the Contact Us Form Vunerability Fix, address of the Online Store, a drop down list or radio button for the email departement to send the enquiry, a drop down list for the email reason, Opening Hours of the company, Add Customer Details Automatically if the customer is login.
I have hardcoded all the code of this Contribution to be multilingual. Included is English and French.
I have made this contribution to be very simple for you to install
Time to install : Between 5 to 15 minutes depending on your skill.
Have fun
Forum support and bug reports :
http://forums.oscommerce.com/index.php?showtopic=195314