Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter untalbob

    (@untalbob)

    Hello @xnau, thank you for your help. I much appreciate it.

    Unfortunately, I tried that but with no luck. It still displays the thank you message. Is there a way to stop the thank you message completely from displaying anywhere?

    Or any other idea that might help?

    Again, thank you for all and this wonderful plugin.

    Hello @lola2015, can you please share how did you solve this problem?

    I am having the exact same situation and haven’t been able to solve it, not even by uninstalling the plugin and making a new installation…

    Thread Starter untalbob

    (@untalbob)

    Here it is on my website:
    https://skyadventures.travel

    I think the code is ok, but check it out (the line I added to the header is almost at the end):

    <?php if ( ! isset( $_SESSION ) ) session_start(); ?>
    <!DOCTYPE html>
    <!--[if IE 6]>
    <html id="ie6" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 7]>
    <html id="ie7" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 8]>
    <html id="ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<title><?php wp_title(); ?></title>
    	<?php elegant_description(); ?>
    	<?php elegant_keywords(); ?>
    	<?php elegant_canonical(); ?>
    
    	<?php do_action( 'et_head_meta' ); ?>
    
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<?php $template_directory_uri = get_template_directory_uri(); ?>
    	<!--[if lt IE 9]>
    	<script src="<?php echo esc_url( $template_directory_uri . '/js/html5.js"' ); ?>" type="text/javascript"></script>
    	<![endif]-->
    
    	<script type="text/javascript">
    		document.documentElement.className = 'js';
    	</script>
    
    	<?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <?php if ( function_exists( 'gtm4wp_the_gtm_tag' ) ) { gtm4wp_the_gtm_tag(); } ?>
    	<div id="page-container">
    <?php
    	if ( is_page_template( 'page-template-blank.php' ) ) {
    		return;
    	}
    
    	$et_secondary_nav_items = et_divi_get_top_nav_items();
    
    	$et_phone_number = $et_secondary_nav_items->phone_number;
    
    	$et_email = $et_secondary_nav_items->email;
    
    	$et_contact_info_defined = $et_secondary_nav_items->contact_info_defined;
    
    	$show_header_social_icons = $et_secondary_nav_items->show_header_social_icons;
    
    	$et_secondary_nav = $et_secondary_nav_items->secondary_nav;
    
    	$et_top_info_defined = $et_secondary_nav_items->top_info_defined;
    ?>
    
    	<?php if ( $et_top_info_defined ) : ?>
    		<div id="top-header">
    			<div class="container clearfix">
    
    			<?php if ( $et_contact_info_defined ) : ?>
    
    				<div id="et-info">
    				<?php if ( '' !== ( $et_phone_number = et_get_option( 'phone_number' ) ) ) : ?>
    					<span id="et-info-phone"><?php echo esc_html( $et_phone_number ); ?></span>
    				<?php endif; ?>
    
    				<?php if ( '' !== ( $et_email = et_get_option( 'header_email' ) ) ) : ?>
    					<a href="<?php echo esc_attr( 'mailto:' . $et_email ); ?>"><span id="et-info-email"><?php echo esc_html( $et_email ); ?></span></a>
    				<?php endif; ?>
    
    				<?php
    				if ( true === $show_header_social_icons ) {
    					get_template_part( 'includes/social_icons', 'header' );
    				} ?>
    				</div> <!-- #et-info -->
    
    			<?php endif; // true === $et_contact_info_defined ?>
    
    				<div id="et-secondary-menu">
    				<?php
    					if ( ! $et_contact_info_defined && true === $show_header_social_icons ) {
    						get_template_part( 'includes/social_icons', 'header' );
    					} else if ( $et_contact_info_defined && true === $show_header_social_icons ) {
    						ob_start();
    
    						get_template_part( 'includes/social_icons', 'header' );
    
    						$duplicate_social_icons = ob_get_contents();
    
    						ob_end_clean();
    
    						printf(
    							'<div class="et_duplicate_social_icons">
    								%1$s
    							</div>',
    							$duplicate_social_icons
    						);
    					}
    
    					if ( '' !== $et_secondary_nav ) {
    						echo $et_secondary_nav;
    					}
    
    					et_show_cart_total();
    				?>
    				</div> <!-- #et-secondary-menu -->
    
    			</div> <!-- .container -->
    		</div> <!-- #top-header -->
    	<?php endif; // true ==== $et_top_info_defined ?>
    
    		<header id="main-header" data-height-onload="<?php echo esc_attr( et_get_option( 'menu_height', '66' ) ); ?>">
    			<div class="container clearfix et_menu_container">
    			<?php
    				$logo = ( $user_logo = et_get_option( 'divi_logo' ) ) && '' != $user_logo
    					? $user_logo
    					: $template_directory_uri . '/images/logo.png';
    			?>
    				<div class="logo_container">
    					<span class="logo_helper"></span>
    					<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
    						<img src="<?php echo esc_attr( $logo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" id="logo" />
    					</a>
    				</div>
    				<div id="et-top-navigation">
    					<nav id="top-menu-nav">
    					<?php
    						$menuClass = 'nav';
    						if ( 'on' == et_get_option( 'divi_disable_toptier' ) ) $menuClass .= ' et_disable_top_tier';
    						$primaryNav = '';
    
    						$primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => 'top-menu', 'echo' => false ) );
    
    						if ( '' == $primaryNav ) :
    					?>
    						<ul id="top-menu" class="<?php echo esc_attr( $menuClass ); ?>">
    							<?php if ( 'on' == et_get_option( 'divi_home_link' ) ) { ?>
    								<li <?php if ( is_home() ) echo( 'class="current_page_item"' ); ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Home', 'Divi' ); ?></a></li>
    							<?php }; ?>
    
    							<?php show_page_menu( $menuClass, false, false ); ?>
    							<?php show_categories_menu( $menuClass, false ); ?>
    						</ul>
    					<?php
    						else :
    							echo( $primaryNav );
    						endif;
    					?>
                                            <?php if ( function_exists( 'the_msls' ) ) the_msls(); ?>
    					</nav>
    
    					<?php
    					if ( ! $et_top_info_defined ) {
    						et_show_cart_total( array(
    							'no_text' => true,
    						) );
    					}
    					?>
    
    					<?php if ( false !== et_get_option( 'show_search_icon', true ) ) : ?>
    					<div id="et_top_search">
    						<span id="et_search_icon"></span>
    					</div>
    					<?php endif; // true === et_get_option( 'show_search_icon', false ) ?>
    
    					<?php do_action( 'et_header_top' ); ?>
    				</div> <!-- #et-top-navigation -->
    			</div> <!-- .container -->
    			<div class="et_search_outer">
    				<div class="container et_search_form_container">
    					<form role="search" method="get" class="et-search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
    					<?php
    						printf( '<input type="search" class="et-search-field" placeholder="%1$s" value="%2$s" name="s" title="%3$s" />',
    							esc_attr__( 'Search …', 'Divi' ),
    							get_search_query(),
    							esc_attr__( 'Search for:', 'Divi' )
    						);
    					?>
    					</form>
    					<span class="et_close_search_field"></span>
    				</div>
    			</div>
    		</header> <!-- #main-header -->
    
    		<div id="et-main-area">
    Thread Starter untalbob

    (@untalbob)

    Hi there again, and thanks for the quick response and all the help.

    I did as you sugested and now I have the link placed just where and how I wanted. But now the problem is that the actual link is not working. I click the button and nothing happens.

    Any ideas?

    Thread Starter untalbob

    (@untalbob)

    No luck with the Divi people, they didnt offer good support, they said they dont guaranteee support with third party plugins. :S I still though posted my problem on one of the divi community forums.

    Is there another way to email a forgotten link?

    Thread Starter untalbob

    (@untalbob)

    I hadn’t, but I already asked them, as soon as I have a reply or solution I will post it here.

    Thanks.

    Thread Starter untalbob

    (@untalbob)

    xnau,

    I deactivated all plugins and the problem persists.

    I think its a problem with my theme, is it possible?

    Because the full error is this:

    Fatal error: Call to undefined function et_pb_post_format() in /home3/sky/public_html/skypuntos.com/wp-content/themes/Divi/functions.php on line 7512

    And I went to the functions file and looked for line 7512(the second line):

    function et_remove_blockquote_from_content( $content ) {
    	if ( 'quote' !== et_pb_post_format() ) {
    		return $content;
    	}
    
    	$content = preg_replace( '/<blockquote>(.+?)<\/blockquote>/is', '', $content, 1 );
    
    	return $content;
    }
    add_filter( 'the_content', 'et_remove_blockquote_from_content' );
    Thread Starter untalbob

    (@untalbob)

    When trying to access the dashboard or the site, the site didnt load, it was blank, but maybe it was cache problem or something cause i cleared it and then it worked again.

    Thanks anyway.

    Thread Starter untalbob

    (@untalbob)

    update…
    I found a solution, I set the plugin to send the user to another page displaying the thank you messsage [pdb_signup_thanks] and this displays correctly the message and sends the users the email.

    It works but I still have the doubt, why it dint work the other way :/

    Thread Starter untalbob

    (@untalbob)

    Also, I have deactivated, uninstalled and reinstalled the plugin, but still the same problem.

    I noticed it didn’t work when i tried it on a different computer, one where I wasn’t logged in in my wordpress where I could edit the page. This I mention because when I’m editing the page and preview it, if I register it works normally and the ‘Thank You message’ displays correctly after clicking submit.

    Thread Starter untalbob

    (@untalbob)

    Awesome, thank you so much xnau!!

    Incredibly plugin by the way!

Viewing 11 replies - 1 through 11 (of 11 total)