new blog templates - gravity forms user registration integration

Hi,

There was a detailed run-through of how new blog templates and gravity forms user registration can be configured together on your site. I can't find it now.

Could you send me a link, or did you take it down?

Also, there was a great, multipart video tutorial on configuring ProSites on YouTube that was taken down. Is that available anymore?

Thanks,
Tom

  • Kasia Swiderska

    Hello Tom,

    There was a detailed run-through of how new blog templates and gravity forms user registration can be configured together on your site. I can't find it now.

    Its still here https://premium.wpmudev.org/project/new-blog-template/#product-usage

    but with changes in Gravity forms API there is slight change - settings for the User Registration module (thus for New Blogs Template) are now inside in the form itself.

    Also, there was a great, multipart video tutorial on configuring ProSites on YouTube that was taken down. Is that available anymore?

    Those are all videos on our channel https://www.youtube.com/user/wpmudev/videos - this is possible that this tutorial is no longer available because it is outdated and Pro Sites are working in different way.

    kind regards,
    Kasia

  • William Palmer

    Hi Kasia,

    Yes, that was the page. Thanks.

    I was able to set it up, but blew up my whole network because I'm using Beaver Builder for one of the templates. Here's a link to Beaver Builder's support forum, they mention a bug in New Blog Templates.

    https://www.wpbeaverbuilder.com/support/search/new+blog+templates/page/2/

    (Most of it is repeated below)

    Any plans to work on this in the future. I use Beaver Builder throughout my network.

    Thanks,
    Tom

    Hey Jason,

    I did some digging and it looks like this is a bug with the New Blog Templates plugin. Here’s what’s happening…

    The multisite version of the builder hooks into the wpmu_new_blog action to install the database table when a new blog is created.

    New Blog Templates also hooks into that so its functions run last. Within their $this->copy_additional_tables(); call, they check to see if the table already exists, which it does since the builder created it.

    If the table exists, they have a piece of code that clears it so they can copy the rows from the template table. Unfortunately, their code is clearing the template table and not the new site table. Here is the offending snippet…

    $result = $wpdb->get_results( "SHOW TABLES LIKE '{$new_table}'", ARRAY_N );
    if ( ! empty( $result ) ) {
    // The table is already present in the new blog
    // Clear it
    $this->clear_table( $tablebase );

    if ( $add ) {
    // And copy the content if needed
    $this->copy_table( $this->template['blog_id'], $tablebase );
    }
    }
    In the code above $this->clear_table( $tablebase ); should be $this->clear_table( $new_table ); as the variable $tablebase is the name of the template table and $new_table is the name of the new table.

    Unfortunately, this is something they will have to fix as it runs after any of the builder code so there isn’t much I can do to circumvent it. I wouldn’t be surprised to see this happen with other plugins that create their own tables.

    Sorry I don’t have a better answer!

    Justin

    May 24, 2014 at 8:53 pm #1281
    In reply to: New Blog Templates (the WPMUDev Plugin) Doesn't Carry Over Page Builder Settings

    Jason Pelker

    Member
    Update: The content only gets wiped out on the original blog when this option is selected in the New Blog Templates plugin:

    Option

    Also, when this option is selected, any custom page templates I created with Page Builder also get wiped out throughout the network.

    I hope this information helps!

    P.S. Are these other Page Builder database tables missing from this option?

    Options

    I know the top table in the image is Builder related (the bottom is from an old installation of DMS), but even when selected, the missing content issue still persists.

    Thoughts?

    May 24, 2014 at 8:44 pm #1280
    [Resolved]
    Topic: New Blog Templates (the WPMUDev Plugin) Doesn't Carry Over Page Builder Settings

    in forum Beaver Builder Plugin

    Jason Pelker

    Member
    You’re going to love this one :slight_smile:

    I’m using the New Blog Templates WPMUDev WordPress plugin to create Multisite clone sites: https://premium.wpmudev.org/project/new-blog-template/

    The problem is that the templates that are using Page Builder don’t transfer the page content. In fact, not only does the page content not pass from the original site to the clone, but upon duplication, the original site loses its content, too (I told you you’d enjoy this).

    This is a pretty funny issue. I’m curious to hear your take. If you’d like, feel free to examine the plugin options and create new clones to test any changes:

    http://nonprofitsites.net/wp-admin/network/admin.php?page=blog_templates_main&t=1

    Note, you should already have super admin access for this network.

    Thank you in advance and let me know if you have any questions!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.