bob.passaro
Forum Replies Created
-
Forum: Reviews
In reply to: [Simplelender] Plugin fails to deactivateYeah, this is super weird. Discovered this on a site in development. Mysteriously installed. Won’t deactivate. Looking at the code, the simplemortgage_loader file looks like it actually hijacks Gravity Forms tables in the database and rewrites some Gravity Forms rows in the Options table. Not entirely sure what this is doing overall, but it can’t be good.
Forum: Plugins
In reply to: [Facebook for WooCommerce] Action Scheduler Failed x thousands@bighippo999
Right, got it. Thanks! I will poke around a little more. Still hoping to hear back from SkyVerge on this. Any ideas, SV? I feel like it’s something going wacky with the job queue and not so much the actual code that make the api request to FB, etc. But I still haven’t figured out the exact root of the issue.Forum: Plugins
In reply to: [Facebook for WooCommerce] Action Scheduler Failed x thousandsI’ve been trying to track down the reason for the out-of-memory errors. There is a query in there that grabs all product IDs and I thought since we have 6,400 products, that was the root of it, but I changed that to grab just 5 products and I’m still getting a PHP memory error or it times out.
If I uncheck ‘sync products’ and clear all the processes, then re check the box and hit “Sync products” (just running it on these 5 products), it seems to get through most of the background job, get responses from FB on the API request, but then hangs up at the end and times out. And then the subsequent times the background process tries to run it errors out more quickly, and doesn’t actually do anything.
Weird not sure what’s up. The site is currently on PHP 7.2. Would that be an issue?
Forum: Plugins
In reply to: [Facebook for WooCommerce] Action Scheduler Failed x thousandsWhat’s the other plugin you found?
Forum: Plugins
In reply to: [Facebook for WooCommerce] Action Scheduler Failed x thousandsAny progress on the “batch” process update? I’m running into this same problem, on a store with 6,800 products. Yeah, I have to say it seems pretty inefficient to try to sync *all* products every 15 minutes. Is that what happens by default? Am I understanding that correctly. It’s one thing if your shop has 30 products, but quite another if you have thousands. I’m getting tons of memory and timeout errors.
I think I’d be fine to disable the auto sync and just add products individually and manually to Facebook as needed. Is that possible? Or is it just sync everything or nothing. I realize you can “exclude” products, but can you just upload/sync products to FB individually?
Forum: Plugins
In reply to: [DreamObjects Backups] Problems on Ubuntu 16/PHP 7Thanks, Mika!
Yes, looks like some things were being installed by default in PHP5 that need to be specifically added in PHP7 — at least in the current DreamCompute LAMP setup.
I was adding curl and gd before anyway, but I see all of these are recommended for WP, php-xml probably the important one for this plugin:
sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc
After this, I was able to connect to the appropriate users/buckets. I’ll check back to make sure the backups actually get created, but it looks to be OK right now.
Thanks for your quick response!
Forum: Plugins
In reply to: [WooCommerce] Link in WC Reset Password Email Leads to Wrong FormI am working on a site using Woocommerce, and my client is experiencing this issue as well, although I haven’t been able to reproduce it myself. Is there anything else that could be causing this?
Are you talking about browser caching? Would it help to set meta tags on this page to prevent browser caching? This sorta thing …
<meta http-equiv="cache-control" content="max-age=0"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="-1"> <meta http-equiv="expires" content="Tue, 01 Jan 1980 11:00:00 GMT"> <meta http-equiv="pragma" content="no-cache">
Forum: Plugins
In reply to: [WooCommerce] Redirect to current page on Woocommerce logout?Cool. That’s good news. Thanks, Mike.
Well, it’s not really part of the nav menu — you know, just up there in the header.
Forum: Hacks
In reply to: Adding fields to front-end registration form: sanitize?Thanks for the info.
Should tighten up the validation anyway, so just allowing letters, – and _, these being names.
if ( ! preg_match("/^([a-zA-Z_-])+$/i", $_POST['first_name'] ) || ! preg_match("/^([a-zA-Z_-])+$/i", $_POST['last_name'] ) ) $errors->add( 'invalid_char_error', __( '<strong>ERROR</strong>: Try again; names can contain only letters, hyphens and underscores.' ) );
The earlier code escapes any output back out to the form.
Forum: Themes and Templates
In reply to: Use the pagination with WP__queryOops, yes — typo. Great, glad it’s working!
Forum: Themes and Templates
In reply to: Use the pagination with WP__queryOh, with a static page, it’s not so simple, I guess.
Did a little research and turned up this …
$paged = (get_query_var('page')) ? get_query_var('page') : 1; $args=array( 'category_name' => $catname, 'posts_per_page'=>3, 'paged'=>$paged); ); $query = new WP_Query( $args );
Forum: Themes and Templates
In reply to: Use the pagination with WP__query“showposts” is deprecated, I think? Use “posts_per_page.”
Also, I don’t think that you need “paged” — it should paginate by default if you use “posts_per_page.”
Have not tested this, but what happens if you just do this?
$args = array( 'posts_per_page' => 3, 'category_name' => $catname, ); $query = new WP_Query( $args );
this replaces your lines that say :
$query = new WP_query(array('post_type'=>'post')); $query->query('category_name='.$catname.'&showposts=3'.'&paged='.$paged);
Forum: Fixing WordPress
In reply to: Cannot get any help for this SIMPLE issue. Please ? Anyone?Wow. That’s a lot of css, and it might not be so “simple” to sort out.
The main image disappears at 480px wide, so I’m guessing there’s something happening in your style.css file beginning at line 5292 where the media query for that screen size begins.
Is this css you have created, or was this a previously existing theme?
I didn’t look too deeply into this, but your header is not shrinking down when you narrow the page — it appears to be set to a certain pixel width, which may be why you can scroll to the right when the page is collapsed (though there may be other elements that are causing that too.)
For what I see happening on your homepage — not even any dynamic text — I think there is way, way more html here than is necessary. Do you have a front-page.php template? You might look at really simplifying that before you address the css.
Cool artwork, btw.
Forum: Fixing WordPress
In reply to: Making blog page the parent of its' posts?Yeah, just posts. It works great! Glad it helped.
Forum: Fixing WordPress
In reply to: Having trouble indenting custom bullet pointsYou’ll make this a lot easier if you clean up your html. No need for all those h5 and h6 tags inside your list items. And why two ul tags? Also, get rid of these randoms p and span tags. And the main div for this part should be an ordered list. So.
<ol class="shortcode-list shortcode-list-check3"> <li>Connect with people and invite them to take a look Isagenix <a href="https://soundcloud.com/lynnhagedorn/sample-verbiage-to-ask-people">(Audio Training)</a> <ul> <li>Post on Facebook <a href="https://everyonestartshere.com/wp-content/uploads/2013/09/POST-ON-FACEBOOK-before-your-box-arrives.pdf"> (Training Document)</a></li> <li>Learn how to connect, listen and create interest and intrigue <a href="https://youtu.be/9ByhKQIt7j0"> (Video Training)</a></li> </ul> </li> <li>Share the Story of Isagenix by providing the link to <a href="https://sharethestorynow.com/">www.sharethestorynow.com</a> as the first tool/exposure <ul> <li>Use a ...</li> <li>Other ... </li> </ul> </li> <li>Assist New Associate in Getting Started <ul> <li>other items in this last one ...</li> </ul> </li>
You see what’s happening here? You have an
an ordered list, which gives you the numbers automatically. *Inside* each of those ordered list list-item tags is *another* list, this time an unordered list — those have the checkmark bullets.If you do this, depending on your css, you may get the indentation you want automatically. Or you may just have to give the ul list items some left padding.
Alittle help here maybe: https://www.htmldog.com/guides/html/beginner/lists/