Jump to content



Latest News: (loading..)

- - - - -

Enhanced Contact Us for 2.3.1


  • Please log in to reply
57 replies to this topic

#41   kenkja

kenkja
  • Members
  • 242 posts
  • Real Name:Ken Johnson
  • Gender:Male
  • Location:Uk, Yorkshire

Posted 24 May 2012 - 05:47 PM

Hi All,

This seems to be just the add on I'm looking for, but, and you knew that was coming.

As a relative newcomer to owning a website, I've always been really quite annoyed by reCaptcha becuase I never really understood what its purpose is, until reading the add on install.txt(s)

So in the past I have, quite a number of times, just quitted a contact us because i had to enter a reCaptcha code, which honestly just seemed to be a pointless irritant, my guess is if I've felt that way then so have/will others.

Is it possible to add an explanation of why the reCaptcha is necessary, say

"We've added this function to purely stop automated spam e-mailers, if you go complete the reCaptcha section, we will know that you really did want to contact us and we will deal with your enquiry as soon as is possible"

Ken
Os-commerce v2.3.3
Security Pro v11
Site Monitor
IP Trap
htaccess Protection
Bad Behaviour Block
Year Make Model
Document Manager
X Sell
Star Product
Modular Front Page
Modular Header Tags
Ultimate SEO Urls Pro

#42   Mort-lemur

Mort-lemur
  • Members
  • 1,201 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 24 May 2012 - 07:28 PM

Hi,

I added the re-captcha element as an option - you dont have to add that part. One of my sites was constantly being hit by automated spam and the recaptcha stopped that in its tracks.

If you want to add an explanation open catalog/includes/languages/english/contact_us.php and change line 48 :

define('ENTRY_SECURITY_CHECK', 'Security Check:');

To read:

define('ENTRY_SECURITY_CHECK', 'Your Text Here');

Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#43   kenkja

kenkja
  • Members
  • 242 posts
  • Real Name:Ken Johnson
  • Gender:Male
  • Location:Uk, Yorkshire

Posted 29 May 2012 - 07:40 PM

Hi Heather, sorry for the delay in replying.

I got the fact that the re-captcha was optional, and did at first want to leave it out just because I was approaching it from a user (with lack of understanding) point of view, but having read further understood from the web owner point of view its defintely needed.

Thanks for your note of how to achieve a balance between the two positions

Ken
Os-commerce v2.3.3
Security Pro v11
Site Monitor
IP Trap
htaccess Protection
Bad Behaviour Block
Year Make Model
Document Manager
X Sell
Star Product
Modular Front Page
Modular Header Tags
Ultimate SEO Urls Pro

#44   oxwivi

oxwivi
  • Members
  • 250 posts
  • Real Name:Oxwivi Oxwil

Posted 22 June 2012 - 05:24 PM

Hello,

I've installed this addon for a while already, but I completely skipped testing. Recently, I realized (thanks to a registered user replying to welcome email) that it's not working. I used it myself, and did not recieve any email despite the success page.

#45   oxwivi

oxwivi
  • Members
  • 250 posts
  • Real Name:Oxwivi Oxwil

Posted 22 June 2012 - 06:37 PM

Update, regular contact_us.php is not working either. Better make a new thread about it.

#46   shaka

shaka
  • Members
  • 29 posts
  • Real Name:AVI
  • Gender:Male

Posted 06 September 2012 - 06:26 AM

Every thing is Ok But when I press the Button Continue next page does not open. No confirmation is given to the client thaat his emaail has been deliverd aand neither any other page opens please look into

#47   gallery4youth

gallery4youth
  • Members
  • 11 posts
  • Real Name:AVEE
  • Gender:Male

Posted 06 September 2012 - 06:31 AM

Everything is OK But when I press Continue no doubt email reaches the Admin but neither any communication is shown that email has been sent nor any other page open.

#48   vourlismenos

vourlismenos
  • Members
  • 22 posts
  • Real Name:Dimitris
  • Gender:Male
  • Location:Greece

Posted 07 October 2012 - 10:06 AM

A small modification, so that people that are not logged in can fill in their telephone number:

remove this line from  contact_us.php
echo tep_draw_hidden_field('phone',$phone);

find this code:
<tr>
				<td class="main"><?php echo ENTRY_EMAIL; ?></td>
			  </tr>
			  <tr>
				<td class="main"><?php echo tep_draw_input_field('email', $email, 'size="28"'); ?></td>
			  </tr>

and add under:

<tr>
				<td class="main"><div class="crosspiece95"></div><?php echo ENTRY_TELEPHONE_NUMBER; ?></td>
 </tr>
<tr>
				<td class="main"><?php echo (isset($account['customers_telephone']) ? $phone . tep_draw_hidden_field('phone',$phone) : tep_draw_input_field('phone', $phone, 'size="28"')); ?></td>
</tr>


#49   vourlismenos

vourlismenos
  • Members
  • 22 posts
  • Real Name:Dimitris
  • Gender:Male
  • Location:Greece

Posted 07 October 2012 - 05:51 PM

or if you want your customers to be able to edit their phone number (if already registered), add:

<tr>
				<td class="fieldKey"><?php echo ENTRY_TELEPHONE_NUMBER; ?></td>
</tr>
<tr>
				<td><?php echo tep_draw_input_field('phone', $phone, 'size="28"'); ?></td>
			  </tr>


#50   ce7

ce7
  • Members
  • 202 posts
  • Real Name:lyn

Posted 01 November 2012 - 06:28 AM

Hi Heather,

Thank you very much for your addons. It is great. I modified it to send a quotation email as well.

there are some questions about the modified quote email. I had post but so far no one reply yet. I really need expert from forums that can help me as I am not familiar with PHP code at all. The past 2-3 months I learn osCommerce from zero knowledge to know finally make the website up. I can say I am very good at copy and paste the code from addons, but still far from writing code like you expert guys.

The website I have is a rental website which doesn't show the price. Customer doesn't register.
So I still keep the shopping cart, just doesn't show the price at all. And instead of buy me, I modified as QUOTE.
Once customer put every equipment they like to get quote in the quote (shopping) cart, then they click a button (instead of checkout), they go to a quote email which I refer your Enhanced Contact Us add on.

Here comes my questions:
1. How can I show the quote list (from shopping / quote cart) on the email?
2. How can I save the customer enter detail, such as name, mobile phone, address, description, other useful information...etc into database?
can you please write me a simple database example code that I then can go further google online and self-learning?

Many thanks in advance.

Lyn

#51 ONLINE   mendoh

mendoh
  • Members
  • 27 posts
  • Real Name:mendoh

Posted 15 November 2012 - 08:41 PM

Hello Heater.

I have installed your contribution which works flawlessly on my OSC 2.3.3 website.
Then I had the (bad?) idea to install this: http://addons.oscommerce.com/info/8031
Being your nice contribution already installed, I paid attention not to modify the catalog section for contac-us and everything went smooth up until I run the configuration.sql file which returns the following error:

#1062 - Duplicate entry '1409' for key 1

Obviously, the http://addons.oscommerce.com/info/8031 contribution is not working as I do not get the recaptchas anywhere where I should (create account, write reviews, etc.)...

Have you got any idea of what to do to remove the error and complete the installation?

Thanks a lot  in advance!

Mendoh

#52   surrfman

surrfman
  • Members
  • 357 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 17 November 2012 - 02:56 PM

@Mort-lemur... Hi there!!!  Ran into a slight issue.  when doing a send test, customer is sent to the success action page, where the "heading_title" appears from the previous input page. as there is only one class "pageHeading" for both pages/actions, how could i get rid of the "heading_title on the "success" page? it could be confusing to the customer.

Thanks a bunch,

    Timmy C

#53   Mort-lemur

Mort-lemur
  • Members
  • 1,201 posts
  • Real Name:Heather
  • Gender:Female
  • Location:UK

Posted 17 November 2012 - 10:56 PM

@mendoh in the sql file that you are running find the value 1409 and change it to a value that is not already in use in the database.

Then the sql file will run as it should.

@surrfman not sure that I understand your question
Now my store is the way I want it - Secure, working well, and good Google Ranks - Thanks to all for the help given.

If you want to see the mods I have installed, then see my profile.

#54   surrfman

surrfman
  • Members
  • 357 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 18 November 2012 - 03:16 AM

@Mort-lemur

the intial Contact Us page displays a greeting line at top of page, called out as heading_title. Once  Contact Us  has sent enquiry, customer is taken to the Contact Us success page.  The success page is defined as an action in contact_us.php.  result is the customer views identical greetings, before sending and after. Would like to delete the greeting on the success page, leave just the "sent" acknowledgement text that appears under the undesired greeting on the success page.

   Thanks,

Timmy C

#55 ONLINE   mendoh

mendoh
  • Members
  • 27 posts
  • Real Name:mendoh

Posted 18 November 2012 - 11:31 PM

@Mort-lemur

Heater!
Many thanks! To tell you the truth, I already tried replacing the 1409 value without success because I probably inserted a value that was nevertheless already occupied in the database. After reading your reply I decided to give it another try by inserting a fairly higher value (e.g. 2409 instead of 1450) and that definitely did the trick.

Thanks again for your time

Mendoh

#56   marc53

marc53
  • Members
  • 5 posts
  • Real Name:Andre Fisch

Posted 11 February 2013 - 04:07 PM

Hy People
My problem is, i can not receive e-mails sending by Contact us using gmail adress. If I us a other then gmail it works. I installed a new shop to try and there it is working. Also I made the check with the test.php and there it is also working. I have a ocommerce 2.3.1 shop. Any help?

#57   marc53

marc53
  • Members
  • 5 posts
  • Real Name:Andre Fisch

Posted 11 February 2013 - 04:20 PM

@Mort-lemur
Hy People
My problem is, i can not receive e-mails sending by Contact us using gmail adress. If I us a other then gmail it works. I installed a new shop to try and there it is working. Also I made the check with the test.php and there it is also working. I have a ocommerce 2.3.1 shop. Any help?

#58   ancla

ancla
  • Members
  • 8 posts
  • Real Name:Angel Barros
  • Gender:Male
  • Location:Cádiz - SPAIN

Posted 03 March 2013 - 12:48 AM

I installed your contribution and works flawlessly on osc 2.3.3.
Though I was unable to change the language in the recaptcha form. Any idea about how to achieve this change?