Recent Posts

Pages: [1] 2 3 ... 10
1
Feature Requests / Re: Ideas on IP Cache routine
« Last post by Peter on February 04, 2012, 08:00:29 AM »
Cool ideas William,

I will definitely look into the ideas, and I might implement them. Thanks for the suggestions.
2
Support / Re: No categories showing in widget area
« Last post by Peter on February 04, 2012, 07:57:58 AM »
Not really sure why they won't appear. It would need some digging into the theme and setup to figure that out. I can take a quick look if you want me to, contact me through the contact page so we can discuss this through email.
3
Feature Requests / Ideas on IP Cache routine
« Last post by William C on February 03, 2012, 10:43:54 PM »
If IP Caches is enabled (and it should be if any of the external spamlists are set to be checked (you don't know how slow these sites are!)), then  avhfdas_ipcache is the most important table in AVH FDAS.  As such, I'd like to present to you some of my ideas:

  • Drop the added and lastseen indexes, because they are used only ONCE A DAY, but get updated (HUNDRED OF) THOUSANDS OF TIMES per day.  The overhead delay they cause during INSERTs is unjustified. If you drop these indexes, avhfdas_ipcache will also need much less disk space. No change in your plugin code is required.
  • Set the lastseen column to ON UPDATE CURRENT_TIMESTAMP. You will then spare some plugin code and let MySQL do its thing faster.
  • Drop the added column. Does the plugin use it? I can't find it used anywhere. If you don't want to drop it...., then set the added column to DEFAULT CURRENT_TIMESTAMP. You will then spare some plugin code and let MySQL do its thing faster.
  • I have an analogy. Think of the 3rd party spamlists as the hard drive of a computer. Think of the IP Cache table as its RAM. Do you know what we need, Peter? A CPU Cache (L1, L2, L3 cache, etc.), of course. :) Store the recent ham visitor IPs in a serialized array saved through the WordPress Transients API.  Yes, create a temporary, first-in-first-out, whitelist.  The max_size of this array is up to you!  Subsequent pageviews of ham visitors (and I hope they prolong their visit!) won't even require a MySQL query.
  • Finally, a point to ponder. Storing spambot IP addresses is justifiable, but are we sure we should store ALL our visitor IPs in unsecured form (plain text) in our database? What if that information, their information, is stolen? What if the blog has politically or morally sensitive information and the thief incriminates a site visitor because his IP appears in avhfdas_ipcache? Shouldn't we at least anonymize or hash visitor IPs?

Good job on this plugin, Peter. My comment spam plugins and I are very pleased with your work.
4
Support / No categories showing in widget area
« Last post by Tonya on February 02, 2012, 09:45:21 PM »
Working on a site with a developer who dropped off the face of the earth and at one point the categories were populating in the right column but for some reason they have stopped. We've not removed the widget from the left column. Why would the categories not appear? http://bit.ly/y26YWV
5
Support / Re: SQL error on update?
« Last post by Peter on January 26, 2012, 07:44:02 PM »
Not a problem Patrick,

Glad the problem is gone.
6
Support / Re: SQL error on update?
« Last post by pmuldoon on January 26, 2012, 04:17:49 PM »
Peter - I had to log out and I am just coming back in and the error does not show up any more. Not sure what happened. Sorry to take up your time on that one!
Patrick
7
Support / Re: SQL error on update?
« Last post by Peter on January 26, 2012, 02:50:37 PM »
No it's there, no need to update.

What's the site that has problems?
8
Support / Re: SQL error on update?
« Last post by pmuldoon on January 26, 2012, 02:20:41 PM »
Peter - I am logging in with Admin rights, so it shouldn't be a rights issue. Here is the terms table as is - see attachment. Do I still need to update this table do you think?

Thanks

Patrick
9
Support / Re: SQL error on update?
« Last post by Peter on January 26, 2012, 01:41:33 PM »
You can manually add the field to the wp_terms table through phpMyadmin or something like phpMyadmin

I'm trying to think why you would get the message (is that the whole message?) and the only reason I can think of is that the user used to query the WordPress DB doesn't have the right to alter tables.
10
Support / SQL error on update?
« Last post by pmuldoon on January 26, 2012, 01:24:42 PM »
Hi Peter

After updating to 3.6.2 (WordPress 3.3.1), I am getting the following error message, which also shows as the first line on my site (I am sure there is a way to turn off error messages in my php settings but I don't remember how):

ALTER TABLE wp_terms ADD `avhec_term_order` INT( 4 ) NULL DEFAULT '0'

Is this something I can fix in the tables, or in some other way?

Thanks.

Patrick
Pages: [1] 2 3 ... 10