companyjuice
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: v 5.0 Editor Issues@t-p Thanks! The Disable Gutenberg Autosave plugin works great for me.
The same is occuring for me — Module Manager exports an invalid zip file. I am using WP 3.8.1 with Types 1.5.4, Views 1.5.1, Module Manager 1.1 on both Windows 8 and CentOS 6.4.
However, when turning on WP_DEBUG logging, there are no errors thrown. The errors only show on screen…
Module Manager Import screen:
“Unable to open .zip file”
.
Windows Explorer screen:“The compressed zip folder ‘…’ is invalid.”
Thanks,
Marty McGee
companyjuiceForum: Fixing WordPress
In reply to: Password-Protect a Directory with .htaccessThanks @amitramani — updating the WordPress main .htaccess file as explained simply in the link you provided worked perfect for me!
https://kb.siteground.com/how_to_exclude_a_folder_from_wordpress_permalinks/
So my main .htaccess file is this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d #RewriteRule . /index.php [L] # replaced with next line... RewriteRule ./ /index.php [L] </IfModule> # END WordPress
And my subfolder that I want to password protect has .htaccess file:
AuthType Basic AuthName "Password Protected Area" AuthUserFile /home/juice/.htpasswds/.htpasswd Require valid-user
And no more WordPress 404 error! Woohoo!
Thanks again,
Marty McGeeForum: Plugins
In reply to: [WooCommerce] Shop page issue with All in one SEO pluginGoing back to the 2nd post in this thread, by astreetweb…
You can set the “Shop” page title tag by putting the text you want in “Archive Title Format:” on All In One SEO settings page.
I actually cannot get the page title tag to be set correctly simply by putting the text in “Archive Title Format”. All that does is append this text to the “Products” wp_title — it does not overwrite it. So I get something like this “Catalog Products | blogname” instead of what I want “Catalog | blogname”.
It also doesn’t seem to matter if All-in-one-SEO is active or not — the WooCommerce main shop page title tag always comes out “Products”.
Has anyone figured out how to get the WooCommerce main “Shop” page title tag to be set or overwritten with a filter? I can hard-code the change in the WooCommerce plugin. I can hard-code new logic in my theme headers. I can hard-code the change in WordPress itself. However, none of these options is viable, as any updates to WooCommerce, my theme, or WordPress will overwrite this change.
Please help!!! ?? Thank you,
Marty McGee – CompanyJuice.comVery cool. I actually was wondering why any profile field that had an “https://” or “https://” was generating a full
<a href>
tag when I already had aremove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
in my bp-custom.php file. Turns out (after reading this thread) that I needed to also remove the make_clickable filter. Here’s what I’m using now:// remove auto-linking and p tags on profile fields function remove_links(){ remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); remove_filter( 'bp_get_the_profile_field_value', 'wpautop'); remove_filter( 'bp_get_the_profile_field_value', 'make_clickable' ); } add_action( 'bp_init', 'remove_links' );
Thanks everyone!
Forum: Plugins
In reply to: [Force Regenerate Thumbnails] incorrect path even though file existsHope this helps others that are experiencing this same issue…
I had to strip the $fullsizepath in order for the plugin to find the existing file. This works with this Force Regenerate Thumbnails plugin as well as the Regenerate Thumbnails plugin.
To fix, in the function ajax_process_image(), directly after this line:
$fullsizepath = get_attached_file($image->ID);
add this code:if (stripos($fullsizepath, 'C:\webroot\mydomain\wordpress\wp-content\uploads/') !== FALSE) { $fullsizepath = str_ireplace('C:\webroot\mydomain\wordpress\wp-content\uploads/','',$fullsizepath); }
Make sure that the string you are looking for matches the one in the failure message, of course.
Ahh, it started throwing this error when I placed a “Links” widget on the sidebar. For some reason, having the BuddyPress Links widget on the same page as the BuddyPress Links “create” page, this fatal error is thrown. My workaround will be to only show the Links widget on pages other than the /links/create page (somehow), or not use the Links widget at all. Hopefully I can get it to work because the widget is awesome!
Yep, BuddyPress 1.6.4 does not seem to have the “duplicate posting” issue that BuddyPress 1.7 beta-1 has.
These 2 changes to lines 46 and 103 work great for me too. Thanks jeremyBass. Looking forward to the next version of CubePoints BuddyPress Integration plugin.
Forum: Plugins
In reply to: [W3 Total Cache] "Error: No zones matching custom domain" error message.The solution for me was to
1) generate a new API key with NetDNA/MaxCDN by visiting https://cp.maxcdn.com/ and selecting APIs, then
2) delete my existing Pull Zone that is tied to the CNAME that I want to use (cdn.domainname.com), then
3) create a new Pull Zone in my NetDNA/MaxCDN account (more info on this step can be found here https://www.wpbeginner.com/wp-tutorials/how-install-wordpress-cdn-solution-maxcdn/), then
4) update my DNS CNAME to this new zone (temporary url), and finally
5) locate my “Alias” for my MaxCDN by going to Account > Settings at https://cp.maxcdn.com/account/settings
I also needed to Bummer that the zone didn’t transfer over when I upgraded from W3 Total Cache to the latest version that supports the new API key management system from NetDNA/MaxCDN. No one’s fault here, but I wish it wasn’t such a surprise troubleshooting hour for me right now. But it’s working now!
Thanks — Marty McGee, https://www.companyjuice.com
Forum: Plugins
In reply to: [W3 Total Cache] "Error: No zones matching custom domain" error message.I have the same problem. I’ve tried setting “Application URL” and “Callback URL” to my https://www.domainname.com, but still this error persists.
Forum: Plugins
In reply to: [TBTestimonials] [Plugin: TBTestimonials] Return the categoryHey Travis. Thanks for the quick reply!
Trying [testimonial cat=”technology”] did not work either.
Let me know if you’d like me to try other things.
Cheers,
MartyForum: Plugins
In reply to: [TBTestimonials] [Plugin: TBTestimonials] Return the categoryI didn’t want to open a new discussion, because the title would be the same, however…
I can’t seem to output the shortcode for a testimonial “category” like such:
[testimonial cat='Technology' template='shortcode']
But this works, without the category filter:
[testimonial id='all' template='shortcode']
I am testing with only 1 testimonial. I am positive that 1 testimonial has been assigned the category ‘Technology’. I’m thinking this should work, but there is no output.
Forum: Plugins
In reply to: [User Photo] [Plugin: User Photo] User-Photo do no workI am having the same issue, where the plugin works to upload the picture file, but does not show in the nav bar or any posts or comments.