Announcement

Collapse
No announcement yet.

CTUS form page error processing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: CTUS form page error processing

    We found it was going to spam on the Gmail side. Michael logged into that account and found about 100 tickets lost in there. Thanks for your help!
    Jamin Jones, CEO
    the Appalachian Offroad Motorcycle Company

    Comment


      #17
      Re: CTUS form page error processing

      Now I have a whole new set of problems. I'm adding the contact form on a custom product page (PROD_BIKES), I made some minor changes and called it contactFormSales.php. I don't think changing the body id to CTUS is a good idea because it probably needs to be <body id="js-PROD" to maintain life as a product display page. I'm getting the "Error: Form processing halted for suspicious activity!" Any suggestions?

      Example Page: http://www.ktm-parts.com/AOMC/produc...A15E/15B480RRR
      Jamin Jones, CEO
      the Appalachian Offroad Motorcycle Company

      Comment


        #18
        Re: CTUS form page error processing

        There is JavaScript that gets triggered off the page body id of jsCTUS

        In the scripts.js file you will see the logic that makes it all work. You'll need to copy that JS code and create a new section for your new page code so that it executes on page load.

        This is what handles all the JS validation and spam protection.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #19
          Re: CTUS form page error processing

          That worked. I added everything under jsCTUS to jsPROD.

          Also, to change the email address it goes to, update this line:

          $storeEmail = "[email protected]";
          Jamin Jones, CEO
          the Appalachian Offroad Motorcycle Company

          Comment


            #20
            Re: CTUS form page error processing

            Originally posted by phishbed View Post

            $storeEmail = "[email protected]";
            I'm not finding this in the contactForm.php

            instead it's this

            Code:
            $storeEmail = base64_decode($_POST['storeEmail']);
            
            	$storeEmail = strip_tags($storeEmail);
            Do I delete those two lines in favor of
            Code:
            $storeEmail = "[email protected]";
            Leslie Kirk
            Miva Certified Developer
            Miva Merchant Specialist since 1997
            Previously of Webs Your Way
            (aka Leslie Nord leslienord)

            Email me: [email protected]
            www.lesliekirk.com

            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

            Comment


              #21
              Re: CTUS form page error processing

              Yes you can replace those two lines with that one. Because we needed to make the form usable across all stores, the to email address is encoded and passed as a hidden input from the form.
              Brennan Heyde
              VP Product
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment


                #22
                Re: CTUS form page error processing

                Yes, replace

                $storeEmail = base64_decode($_POST['storeEmail']);
                with

                $storeEmail = "[email protected]";
                Jamin Jones, CEO
                the Appalachian Offroad Motorcycle Company

                Comment

                Working...
                X