Leads Capture form doesn't work

Discussion in 'Blackriders WordPress Theme' started by threadesign, Dec 23, 2015.

  1. threadesign

    threadesign New Member

    Joined:
    Jan 28, 2014
    Messages:
    1
    Likes Received:
    0
    I have setup my website: blindsvancouverwa.com and for some reason the form doesn't capture information and does not forward anything to email.
     
  2. priya

    priya Guest

    Hello,

    Greetings from InkThemes!

    Could you please provide us your dashboard credentials at [email protected] along with this thread link as well so that we can figure out the issue and able to resolve that?

    Looking forward to your reply.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  3. songbirdmama

    songbirdmama New Member

    Joined:
    Nov 13, 2014
    Messages:
    2
    Likes Received:
    0
    Was this issue resolved? I am having the same issue with littlesongbirdmusic.com.
     
  4. priya

    priya Guest

    Hello,

    Please follow the screenshot given below.

    mail_function.png

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  5. lalimo

    lalimo New Member

    Joined:
    Dec 28, 2015
    Messages:
    5
    Likes Received:
    0
    I just sent you inquiry to [email protected] in regards the same issue I am having on my site toplimoservicelosangeles.com
    I will appreciate your response to my email.

    Thanks
     
  6. priya

    priya Guest

    Ok Lalimo,

    Thanks for the details..

    We will get back to you soon..

    Your patience will be appreciated,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  7. songbirdmama

    songbirdmama New Member

    Joined:
    Nov 13, 2014
    Messages:
    2
    Likes Received:
    0
    This is the BlackRider theme, so the lead form was in the /functions/leads_form directory of the theme, not in the plugin. Changing 'mail' to 'wp_mail' was necessary, but the email header also had a problem. Removing the header got the email notifications to work, but the leads are still not being inserted into the database.

    Here is the code in the leads_class.php file that appears to be broken:


    PHP:
    public function savetodb() {
            global 
    $wpdb$inkthemes_table;
            
    $sql "SELECT * FROM $inkthemes_table WHERE  rand_value =$this->randvalue";
            
    $value $wpdb->get_row($sql);
            if (!
    $value) {
                
    $query $wpdb->insert($inkthemes_table, array(
                
    //$wpdb->insert($inkthemes_table, array(
                    
    'name' => $this->lead_name,
                    
    'leadform1' => $this->form1,
                    
    'leadform2' => $this->form2,
                    
    'leadform3' => $this->form3,
                    
    'leadform4' => $this->form4,
                    
    'leadform5' => $this->form5,
                    
    'leadform6' => $this->form6,
                    
    'leadform7' => $this->form7,
                    
    'leadform8' => $this->form8,
                    
    'leadform9' => $this->form9,
                    
    'date' => date('Y-m-d'),
                    
    'rand_value' => $this->randvalue
                
    ));
            }

    Any suggestions? Thanks!
     
  8. priya

    priya Guest

    OK!!

    Let me check this at our end and will get back to you soon...

    Your patience will be appreciated,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page