WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Lost contact forms with 3.9.1 update (11 posts)

  1. cheree
    Member
    Posted 2 months ago #

    I lost my contact forms after the update. How do I get them back?

  2. radkitten
    Member
    Posted 2 months ago #

    Were you using a plugin? Need a bit more information.

  3. cheree
    Member
    Posted 2 months ago #

    XYZ Contact

  4. esmi
    Forum Moderator
    Posted 2 months ago #

    Where did you download that plugin from?

  5. cheree
    Member
    Posted 2 months ago #

    I don't know. The person that set up the website is no longer employed with us.

  6. esmi
    Forum Moderator
    Posted 2 months ago #

    What do the plugin's details say?

  7. cheree
    Member
    Posted 2 months ago #

    Settings

    General
    Tiny MCE filters to prevent auto removal of
    and <p> tags
    Enable * symbol for mandatory form fields
    Credit link to author
    Send via SMTP
    SMTP Debug
    Date format for date picker field
    Pagination limit
    ReCaptcha Private Key Get Private Key
    ReCaptcha Public Key Get Public Key
    Hide premium version ads

    Contact Form Name Contact Form Short Code Status Action
    Contact forms not found

  8. esmi
    Forum Moderator
    Posted 2 months ago #

    Sorry - not those details. The details shown under the plugin listing on the Plugins page of your admin area.

  9. cheree
    Member
    Posted 2 months ago #

    Sorry.

    <?php
    /*
    Plugin Name: Contact Form Manager
    Plugin URI: http://xyzscripts.com/wordpress-plugins/contact-form-manager/
    Description: Create  and manage multiple contact forms for your website. The plugin supports a wide range of form elements such as text field, email field, textarea, dropdown list, radio button, checkbox, date picker, captcha, file uploader etc. Shortcodes are generated such that, you can modify form element properties without having to replace the shortcode everytime.
    Version: 1.4.1
    Author: xyzscripts.com
    Author URI: http://xyzscripts.com/
    Text Domain: contact-form-manager
    License: GPLv2 or later
    */
    
    /*
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    */
    
    if ( !function_exists( 'add_action' ) )
    {
    	echo "Hi there!  I'm just a plugin, not much I can do when called directly.";
    	exit;
    }
    global $wpdb;
    $wpdb->query("SET sql_mode = ''");
    ob_start();
    //error_reporting(1);
    define('XYZ_CFM_PLUGIN_FILE',__FILE__);
    require( dirname( __FILE__ ) . '/xyz-functions.php' );
    
    require( dirname( __FILE__ ) . '/admin/install.php' );
    
    require( dirname( __FILE__ ) . '/admin/menu.php' );
    
    require( dirname( __FILE__ ) . '/create-contact-form.php' );
    
    require( dirname( __FILE__ ) . '/shortcode-handler.php' );
    
    require( dirname( __FILE__ ) . '/ajax-handler.php' );
    
    require( dirname( __FILE__ ) . '/admin/uninstall.php' );
    
    function xyz_cfm_manager() {
    	load_plugin_textdomain( 'contact-form-manager', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    }
    add_action('init', 'xyz_cfm_manager');
    
    if(get_option('xyz_credit_link')=="cfm"){
    
    	add_action('wp_footer', 'xyz_cfm_credit');
    
    }
    function xyz_cfm_credit() {
    	$content = '<div style="clear:both;width:100%;text-align:center; font-size:11px; "><a title="Contact form" href="http://xyzscripts.com/wordpress-plugins/contact-form-manager/details">Contact Form</a> Powered By : <a title="PHP Scripts & Programs" href="http://www.xyzscripts.com">XYZScripts.com</a></div>';
    	echo $content;
    }
    
    ?>
  10. esmi
    Forum Moderator
    Posted 2 months ago #

  11. cheree
    Member
    Posted 2 months ago #

    Thanks! I found the answer. I just had to deactivate then activate plug in. I appreciate your help!

Reply

You must log in to post.

About this Topic

Tags