Elvis Morales
Forum Replies Created
-
Forum: Plugins
In reply to: [GatherContent Plugin] Import Hangs at 1%Hey Justin,
I think the recent change for v3.0.8 to detect if HTTP authentication is enabled on the site might have broken the sync for those sites where
NOHTTP authentication is enabled.I just tested the same project setup I described I have in my vagrant box (accesible via localhost:8081), but on the staging site where is enabled basic HTTP authentication and I had to provide the credentials for, and it worked out of the bat. However from localhost:8081 where no basic auth is needed it keeps hanging there at 1% with no further info or errors around.
Can you check if without basic auth is still working for you?
Thanks,
Forum: Plugins
In reply to: [GatherContent Plugin] Import Hangs at 1%Hi Justin,
I tried clicking the “Review stuck sync statuses” and then save and it says “There are no stuck statuses”.

If this helps, see here the gif below, the activity that happens in the developer console while hanged in 1%. This comes from the log() method on
gathercontent.jsfile.
Does that tells you something about what or where it might be failing?
Thank you,
- This reply was modified 9 years, 2 months ago by Elvis Morales. Reason: Update GIF image URL
Forum: Plugins
In reply to: [GatherContent Plugin] Import Hangs at 1%Justin,
I just checked, and nothing get’s out displayed in a
debug.logfile. This is my current setting for debug options inwp-config.php:define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true ); define( 'GATHERCONTENT_DEBUG_MODE', true );- This reply was modified 9 years, 2 months ago by Elvis Morales.
Forum: Plugins
In reply to: [GatherContent Plugin] Import Hangs at 1%Most all of that correct, the plugin is properly authenticated to the GatherContent account and the GC user has the right permissions to use the API. I have been able to properly add the template, map fields, etc. Clicked also the “refresh connection” button multiple times.
Also, I’ve enabled the plugin’s debug mode via the constant in
wp-options.phpbut nothing is reported in thegathercontent_debug.logfile.I’ll try to check in WP core
debug.logshortly as well.Forum: Plugins
In reply to: [GatherContent Plugin] Import Hangs at 1%Hi Justin,
Yes I’m using the latest version here (3.0.8), just installed it yesterday. No basic auth to access the site.
- This reply was modified 9 years, 2 months ago by Elvis Morales.
Forum: Plugins
In reply to: [GatherContent Plugin] Import Hangs at 1%Still hangs at 1%, I’m testing it from a project being developed locally in a vagrant box at http://localhost:8080/.
Any ideas where to look at?
Forum: Plugins
In reply to: [Custom Post Type UI] Does cptui saves the settings to db?In terms of performance and/or best practices, which option would work better for faster load and stability? Keeping them stored in
wp_options, OR, “Get the code” and put it into for example, an MU plugin?From my perspective leaving the CPT’s settings in
wp_optionstable I still have the risk to lose them in the event of some DB issue, data loss, hack etc. Having them in code on a separate custom plugin (MU plugin area would be my go-to) seems more stable and probably my WordPress site wont have to query thewp_optionstable to get it’s registered CPT’s settings, because those would be already defined in code withregister_post_type()at theinitaction hook event.Would like to know your advice/thoughts on this as the plugin author?
Thanks!
Found a solution
add_action( 'wp', 'ctrl_addthis_sidebar' ); function ctrl_addthis_sidebar() { if ( get_post_meta( get_the_ID(), '_at_widget', true ) == 0 ) { global $AddThis_addjs_sharing_button_plugin; remove_action( 'wp_footer', array( $AddThis_addjs_sharing_button_plugin, 'output_script' ) ); } }Published a Gist here https://gist.github.com/elvismdev/f505188a22b95de0fe45239e63098824
- This reply was modified 9 years, 6 months ago by Elvis Morales. Reason: Correcting code block format
Hi @jgrodel,
Is there a way we can disable/enable also the Sharing Sidebar on a per post/page basis using the “Share Buttons by AddThis” widget on/off switch?
Thinking well about it, doesn’t makes much sense having that option at our posts backend editor while it actually doesn’t works to control the “Sharing Sidebar” style we want to use for our posts and pages. Having the possibility to control this one as well from that on/off radio buttons switch I think is a must for this plugin too. You guys should be able to support that in a next update.
Thanks!
Forum: Plugins
In reply to: [Woocommerce - Products By Custom Tax] custom tax page going blankOhh wow thank you so much! Glad you found and fixed the problem!
Forum: Plugins
In reply to: [Woocommerce - Products By Custom Tax] custom tax page going blankFrom a first impression about this error you are experiencing I don’t think this plugin is the reason why is that white page happening. As you can see, when you try in the same page but with with a different taxonomy slug it works. So the main problem might be coming from that custom taxonomy and/or the products tied into that one.
In order for you to debug this properly I will recommend first:
#1 – Check your server error logs and look for fatal errors showing up there when you reload the page and breaks into the white page.
#2 – Remove all the products that are tied into that custom taxonomy leaving it empty, and try to load the page with the shortcode. If here the page loads just fine without white page error, then the problem is on one or some of the products.
#3 – In the shortcode, take down the “qty” parameter to 1, and try reloading the page and see what happens, if success, try then again bringing up the “qty” number from 10 to 10. I think still that you might be querying WAY TOO MANY items/products in one PHP call, and probably your server PHP is breaking because it can’t handle it.
If the reason is on the server side because of PHP breaking, you will be able to see it in the error_log.
Hope at least with this 3 steps you will find the failure. Let me know how it goes.
Regards
Forum: Plugins
In reply to: [Woocommerce - Products By Custom Tax] errors in order by SKUHi softsleepysounds,
Glad you are still using this plugin, sorry for my late response I just wasn’t notified by email from ww.wp.xz.cn about this new thread.
So in short, this plugin and also WooCommerce doesn’t order the listing of products by the SKU field. WooCommerce out of the box by default lists the products by date (the published date). You can read more about this reading the WP_Query documentation exactly in the orderby section.
If you are looking into output your products ordered by their SKU look at this thread which will help you to accomplish that.
Forum: Plugins
In reply to: [Synchi] Can't switch between Visual and Text Modes@mdjekic Do you have this plugin in github.com so we can fork? https://github.com/parenthesislab
Forum: Plugins
In reply to: [Woocommerce - Products By Custom Tax] number of products displayedHi @medladam,
Sorry for the late response, I was out of the country with almost no internet access. Out of the box the plugin does not offer pagination, but this is something I’m willing to implement soon. Stay tuned for an update I’m looking to rewrite the codebase and will try to include this feature.
Same here after updating to WP 4.5
Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/website/public_html/wp-includes/functions.php on line 3662