PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

importing a set of GF form ID and page

  1. importing a set of GF to 420 clone sites,
    example
    http://auburn.adszoom.com/
    http://birmingham.adszoom.com/
    http://decatur.adszoom.com/
    http://dothan.adszoom.com/
    http://florence.adszoom.com/

    & so on

    question 1: If all data base are cloned why do we have to import the GF set each time? If we don't import the new site states " Oops can't find form "

    question 2: If we do have to import because, that just is "the way it is" is there a way to keep the form id for the pages the same? each time I import the GF set I have to go threw the hole site and its very time consuming and leaves lots of room for error..

    example:

    [gravityform id="87" name="Email Campaign - 180 day 2.0 member" title="false" ajax="true"]

    87 is the site the form came from now in the " forms " view the form is, example: 90, so now I have to go to the page the form is displayed and change that from 87 to 90<-form id

    Thanks

    Posted 11 years ago on Wednesday October 24, 2012 | Permalink
  2. For issue 1, cloning sites, can you explain how you clone a site and how you change the URL? Changing the URL will affect the serialized values which are stored in Gravity Forms and that is why you see the "oops, we could not locate your form" message. So, how do you clone a site, and how do you search and replace the URL?

    For issue 2, you do not need to import "just because." Your forms will work when you clone the site if you properly search and replace the URL and fix the serialized values in the process.

    Posted 11 years ago on Thursday October 25, 2012 | Permalink
  3. Ah thanks Chris

    how im cloning the site is with this plug in Version 0.3.2 http://lifeinthegrid.com/labs/duplicator/
    In short the plug in packages up the theme, wordpress files and all data base info. The PLUG IN is installed on the template for the clones in this case its http://auburn.adszoom.com/ .

    Steps
    1 make a copy of everything via plug in
    2 download to desk top
    3 create a clean empty data base in cpanel, with 0 tables and data.
    4 ftp package and installer.php files to the sub domain, navigate to this url after upload http://mywebsite/installer.php
    5 run installer
    6 "get" theme only to local code editor and replace old url's that are hard coded in theme
    search and replace I use dream weaver.
    at this point the theme is fully functional less the GF forms,,

    there is no " search and replace " in the data base I pro form. If i need to do this at the data base level what is the default data base GF uses ? or can i just point dream weaver at the plug ins folder and do the same thing "search and replace".

    Ok the "serialized values in the process." not sure what that in-tails

    Hope that helped?

    Posted 11 years ago on Friday October 26, 2012 | Permalink
  4. I just tried pointing the code editor to the plug in and it did not work for find and replace.

    Posted 11 years ago on Friday October 26, 2012 | Permalink
  5. then i restarted the plug in

    Posted 11 years ago on Friday October 26, 2012 | Permalink
  6. I ran this in "mySQL" VIA CPAN and it did not affect the forms just for an update, fyi and such,

    UPDATE wp_posts SET post_content = REPLACE (
    post_content,
    'Item to replace here',
    'Replacement text here');
    
    1)
    UPDATE wp_options SET option_value = REPLACE (
    option_value,
    'auburn',
    'montgomery');
    
    2)
    UPDATE wp_rg_form_meta SET display_meta = REPLACE (
    display_meta,
    'auburn',
    'montgomery');
    3)
    UPDATE wp_rg_lead_detail SET value = REPLACE (
    value,
    'auburn',
    'montgomery');
    4)
    UPDATE wp_terms SET name = REPLACE (
    name,
    'auburn',
    'montgomery');
    5)
    UPDATE wp_usermeta SET meta_value = REPLACE (
    meta_value,
    'auburn',
    'montgomery');
    Posted 11 years ago on Friday October 26, 2012 | Permalink