nickoonce
Forum Replies Created
-
We are pretty committed to wp-supercache. Would love to hear back if/when this compatibility issue is resolved.
Forum: Plugins
In reply to: [Flow-Flow Social Feed Stream] InstagramReplace CLIENT_ID below with your client ID
Forum: Plugins
In reply to: [WooCommerce] Filter & Admin Search Don't workOh, and BTW, we also noticed that for some reason… this filter function changed the admin category filter form method from POST to GET. That was our first clue to solving this.
Forum: Plugins
In reply to: [WooCommerce] Filter & Admin Search Don't workSo, in the off chance that someone else has a similar situation… here’s what ended up solving this issue for us.
We have several categories that should never appear in search results so, we had the following search filter in our custom theme functions file.
function SearchFilter($query) { if ($query->is_search) { $query->set('cat','-1572,-1353,-1555,-689'); } return $query; } add_filter('pre_get_posts','SearchFilter');
That worked fine until we upgraded to WP 4.2.2. WP was several versions out of date at time of update, so the change may not have been in 4.2.2 but somewhere along the line something changed making this filter problematic on the back end. So, we added another condition to our if statement
&& !is_admin()
and that solved the problem for us.
Forum: Plugins
In reply to: [WooCommerce] Filter & Admin Search Don't workI’ve disabled all plugins and still can’t filter by post category.
Forum: Plugins
In reply to: [WooCommerce] Filter & Admin Search Don't workI found that the Search functionality was related to the Search Everything plugin.
When disabled, post searches worked fine but post filtering still failed to have any effect.
I reviewed the Search Everything settings and found that it appeared that settings just needed updating because after that, searching worked fine. Still trying to resolve the filtering.Forum: Plugins
In reply to: [WooCommerce] Filter & Admin Search Don't workI’m not using woo commerce but I have the same problem with a new update to 4.2.2 and the post filter and post searching on the admin screens aren’t working.
Post searches return an empty result set and post filtering just returns the default result set.
Forum: Plugins
In reply to: [Redirection] Negative value for ip2long output causes MySQL errorWe also found some user agent strings were too long and were causing other db errors, so we further modified the function to truncate long user agents. Below is the function in its entirety.
static function create( $url, $agent, $ip, $referrer ) {
global $wpdb, $redirection;$insert = array(
‘url’ => urldecode( $url ),
‘created’ => current_time( ‘mysql’ ),
‘ip’ => sprintf(“%u”,ip2long( $ip )),
);if ( !empty( $agent ) ) {
if (strlen($agent) > 255) {
$agent = substr($agent, 0, 255);
}
$insert[‘agent’] = $agent;
}
$insert[‘referrer’] = $referrer;$wpdb->insert( $wpdb->prefix.’redirection_404′, $insert );
}Forum: Plugins
In reply to: [Redirection] Negative value for ip2long output causes MySQL errorHere’s the solution we implemented.
On line 149 of redirection\models\log.php we made the following change and this solved the problem for us.
Old:
‘ip’ => ip2long( $ip ),New:
‘ip’ => sprintf(“%u”,ip2long( $ip )),Forum: Plugins
In reply to: [Redirection] Negative value for ip2long output causes MySQL errorHoping someone comes up with a better solution. For now we’ve just disabled 404 logging in the Redirection options. Hope that helps someone.
I was able to get the add-on working by working through the tutorial, but the download file at the end does not work for me.
I have the same problem as the original post. I download and rename the file, upload it to plugin/em_event_styles/em_event_styles.php and I’m able to activate the plugin without error. It just doesn’t do anything. No new menu item, no meta pannel… nothing different at all!
Forum: Plugins
In reply to: [FeedWordPress] Syncing their categories to my categoriesI have similar needs! Would love to know what if anything you found.
Forum: Plugins
In reply to: [Collapse-O-Matic] Auto collapse after some timeIs there no way to roll your own event based triggers?
First, THANK YOU Scribu. This is an excellent improvement on Press This.
Like Ploobers, I’d like to be able to use the hooks to populate custom fields. Specifically, I have custom meta fields for SourceLink and SourceName. Do you have any idea how I might be able to populate those fields automatically?