Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Jeffrohio

    (@jeffrohio)

    Thanks man. Worked for me (got foreach() errors on the migration, but the nagging update message is gone).

    URL should be (note wp-admin in correct URL):
    yourfull_wp_web_url/wp-admin/options.php?page=pricingtable_migrate

    Thread Starter Jeffrohio

    (@jeffrohio)

    Any advice for this? Please let me know if I am not making myself clear on what I need to do.

    Thanks.

    Thread Starter Jeffrohio

    (@jeffrohio)

    Thanks for the reply. It got me going in the right direction. I am using this code in the welcome page and it works perfectly. When the user logs in, it checks to see if user has access to certain capability, if he does, it seamlessly redirects user to the “event” page. If he doesn’t have the capability, he gets the normal welcome members page.

    <?php
    if (current_user_can("access_s2member_ccap_abc12345")) {
    	header("Location: http://sitename/event_page/");
    } // else show welcome members page
    ?>
    Thread Starter Jeffrohio

    (@jeffrohio)

    Any interest in fixing this issue? I’ve tested this on two different WP installs(2nd was on a plain install using default 2015 theme) on two different servers, and they both have the same issue.

    Hey Dave, if everyone went into such detail about what they were experiencing, and to such lengths to help the plugin authors understand the issue(s), there would be less problems using plugins.

    I normally try not to use plugins (as plugin author’s would have to admit) due to the risks involved (security and performance) unless it’s a solid well-known plugin (like NGG has been for my clients).

    However, most people are on shared hosts with a zillion gigs of space and bandwidth to spare (so they think). People don’t care about how much resources as wasted due to bad coding, or issues with other scripts. Smaller hosts tend to look out for their clients to make sure their client’s site is performing well rather than waiting for a complaint (ahem, host grater), and then blame it on not using a caching plugin to cover up their complete disregard for what they’re being paid for.

    I’ve checked the accounts on my server that use NGG, and fortunately they’re not killing the CPU and filling up the error logs, so I haven’t done anything more than kept an eye on logs.

    I will keep watching this thread for updates from NGG and yourself.

    Here’s something interesting and similar:
    https://ww.wp.xz.cn/support/topic/server-unresponsive-for-10-15-minutes-after-uploading-images

    It seems that this version can do some damage. Sorry I even suggested using it. Now I have to make sure none of my customers upgrade this plugin.

    Thread Starter Jeffrohio

    (@jeffrohio)

    Just paste the template code into “9. Email Template” on the Email Before Download settings page.

    The jquery code can go in the template.php file the page is using, update “#formID” with the ID of the form you want to set the placeholder text on. In this case it’s the email text input. If there’s only one form on the page, you can just use “form” instead of “#formID”.

    Hope this helps.

    Thread Starter Jeffrohio

    (@jeffrohio)

    Jquery code:

    <script>
    $(document).ready(function(){
    	$('#formID').find("input[type=email]").each(function(ev) {
    		if(!$(this).val()) {
    			$(this).attr("placeholder", "enter your email address");
    		}
    	});
    });
    </script>

    Basic HTML email template:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <meta name="viewport" content="initial-scale=1"/>
    <meta name="viewport" content="maximum-scale=1"/>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style>
    #outlook a{} body{font-family: arial, sans-serif;}
    * {font-family: 'Open Sans', arial, sans-serif;}
    </style>
    <!--[if mso]>
    <style>
    .outlook {
      font-family: arial, sans-serif !important;
    }
    </style>
    <![endif]-->
    <body bgcolor=#ffffff topmargin=20>
    <center>
    <!-- logo -->
    <a href=""><img src="" style="font-size: 14px; color: #000000; display: inline-block; max-width: 640px; margin-bottom: 10px;" alt="Logo here - this is alt text shown on some non-image supporting devices" /></a>
    <!-- logo -->
    <!-- main table -->
    <table cellpadding=20 cellspacing=0 width=640 bgcolor=#e2e2e2 style="min-width: 640px; border-radius: 22px; box-shadow:  0px 0px 6px #a8a8a8;">
    <tr><td align=center style="min-width: 640px;">
    <!-- inner table -->
    <table cellpadding=20 cellspacing=0 width=600 bgcolor=#ffffff style="min-width: 600px; border-radius: 14px;">
    <tr><td align=left style="min-width: 600px;">
    <div style="font-family: arial, verdana; color: #000; font-size: 16px; color: #00000;">
    Hello [requesting_name],
    <br /><br />
    Here is the <a href="[file_url]" style="text-decoration: none; color: #FFB445; font-weight: bold;">File Download</a> that you requested.
    <br /><br />
    Sincerely,
    <br /><br />
    Customer Support
    </div>
    </td></tr>
    </table>
    <!-- inner table -->
    </td></tr>
    </table>
    <!-- main table -->
    </center>
    </body>
    </html>

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