archonic
Forum Replies Created
-
And for the love of god, don’t use !important tags. Seriously, what the hell…
Forum: Plugins
In reply to: [WangGuard] Can I use WangGuard with BuddyPress 2.02?It works fine for me. If you’re using some kind of plugin for displaying the register form with a shortcode, then the honeypots may not hook in. That’s not a BP issue though.
I solved the issue with a custom template. It was the theme “Enfold” and the layout builder was called “Avia layout builder”.
I suppose this can be closed, but I would imagine a proper redirect (controllable through options) would be better behaviour. The page URL doesn’t change, and the resulting page isn’t easily controlled by using the “the_content” filter.
I corrected the viewing of attachments by ensuring the /wp-content/uploads/message-attachments folder had 755 permissions and the files inside had 644. I believe I need to change php configuration to have new uploads be 644 instead of 600.
Forum: Plugins
In reply to: [BlackBox Debug Bar] [Plugin: BlackBox Debug Bar] WP admin bar conflictGlad it helped!
I’ve commented out all lines of my .htaccess except those of BWPS’s. It’s still giving me 500 errors as long as the plugin is enabled. Even deleting .htaccess gives 500 errors as long as the plugin is enabled.
The 500 errors aren’t causing any error_log file activity in public_html but here’s some server logs. This appears many times:
[Wed Aug 29 18:12:55 2012] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
This appears twice:
[Wed Aug 29 18:13:02 2012] [error] [client 66.249.68.203] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
My .htaccess has the bwps rules written regardless of plugin activation, yet activating the plugin causes 500 errors. Renaming or removing the plugin folder has the site back to normal.
Any ideas?
I’m now getting 500 errors the moment I network activate the plugin. I tried dropping the bwps tables but I’m not sure where the option for htaccess protection is stored. Anyone know where that would be? The only bwps tables I see are bwps_lockouts and bwps_log.
Update: This is in my .htaccess and everything is fine. BWPS is deleted.
I changed the name of the folder of Better WP Security and everything came back. Let you know if I find out what the issue is…
I’m dealing with the same issue. Things seemed fine after enabling .htaccess protection but after the login was timed out, I’m getting a 500 error.
I also have Broken Link Checker and am trying to restore my .htaccess to see if that was the conflict.
I’m having trouble getting my site back online. Did you guys just delete the lines between Better WP Security begin and end?
Forum: Plugins
In reply to: [BlackBox Debug Bar] [Plugin: BlackBox Debug Bar] WP admin bar conflictHere’s a 0.1.3 version which updates the blackbox bar position to the bottom to not clash with the wp admin bar, only shows to superadmins and only on the front end. If you’d like it to show on the back end, open index.php and remove the first if statement.
https://dev.archonic.com/wordpress/blackbox-debug-bar-bottom.zip
Cheers!
I’ll post back here again if I make a version which embeds into the WP adminbar.
Forum: Plugins
In reply to: [BlackBox Debug Bar] [Plugin: BlackBox Debug Bar] WP admin bar conflictI’ll be sharing my version of this plugin which places it at the bottom and only shows if you’re logged in as the network admin (super admin).
I may get around to integrating it into the admin bar with small icons instead of big words. A few of my projects have a cramped admin bar as is (after modifying it to be fixed-width).
The plugin was last updated more than a year ago, I’m not sure how active the original developer is anymore.
Forum: Plugins
In reply to: [W3 Total Cache] Batch Purge for Selective Pagesbut instead of adding the post ID I added the category/tag ID and it worked
I’m not seeing the same results. I’ve got this in functions.php and it’s working fine (retrieval of categories and such) except it doesn’t clear the category page with w3tc_pgcache_flush_post($category->cat_ID).
/** * Flushes out appropriate category pages when a post is updated. */ if(!function_exists('category_cache_flush_on_post')){ function category_cache_flush_on_post( $post_id ) { if(function_exists('w3tc_pgcache_flush_post') && !wp_is_post_revision($post_id) ){ $cache_message = "The cache for the following categories were cleared: "; foreach( ( get_the_category()) as $category) { w3tc_pgcache_flush_post($category->cat_ID); $cache_message .= $category->cat_name . ", "; } _log($cache_message); } } } add_filter( 'publish_post', 'category_cache_flush_on_post', 10, 1 );
Can you post your working code onelife1985?
I’ve added this to my theme’s functions.php.
/** * Flushes out appropriate category pages when a post is updated. */ function category_cache_flush_on_post( $post_id ) { $post_categories = wp_get_post_categories( $post_id ); if(function_exists('w3tc_pgcache_flush_post')){ foreach($post_categories as $c) w3tc_pgcache_flush_post($c[0]); } } add_filter( 'save_post', 'category_cache_flush_on_post', 10, 1 );
Unfortunately the category pages still aren’t updating. I believe the problem is this line:
w3tc_pgcache_flush_post($c[0]);
I saw here you can just enter a category ID and it will flush the cache for that page?Thanks in advance again =)
Forum: Requests and Feedback
In reply to: debug on different sites on multisite wpSeconded! I’d like to enable debug mode for individual sites.