jlencion
Forum Replies Created
-
You probably could do that if you wanted to. I’m not sure exactly what you would need to do to accomplish that though.
@notreco: It is SQL, so you would probably want to use some sort of MySQL frontend, like MySQL Workbench, SQLyog, or phpMyAdmin.
Ninja patch!
--- gravatar-signup-encouragement.orig.php 2011-10-10 13:22:12.783839000 -0500 +++ gravatar-signup-encouragement.php 2011-10-10 13:43:28.900355000 -0500 @@ -512,6 +512,31 @@ } /** + * Get HTTP headers from a given URL + * + * @since 3.1 + * @param string $url URL to get HTTP headers for + * @return array + */ +function gravatar_signup_encouragement_get_headers( $url ) { + if ( ini_get( 'allow_url_fopen' ) ) { + return get_headers( $url ); + } else { + $ch = curl_init( $url ); + + curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true ); + curl_setopt( $ch, CURLOPT_HEADER, true ); + curl_setopt( $ch, CURLOPT_NOBODY, true ); + + $content = curl_exec( $ch ); + + curl_close( $ch ); + + return array($content); + } +} + +/** * Check if gravatar exists * * @since 2.0 @@ -520,7 +545,7 @@ */ function gravatar_signup_encouragement_check_gravatar_existence( $email ) { $fileUrl = "https://www.gravatar.com/avatar/" . md5( strtolower( $email ) )."?s=2&d=404"; - $AgetHeaders = @get_headers( $fileUrl ); + $AgetHeaders = gravatar_signup_encouragement_get_headers( $fileUrl ); if ( ! preg_match( "|200|", $AgetHeaders[0] ) ) { return false; } else {
I think that would work for me.
I’d like for there to be a page where I can change the settings for the plugin for the entire network. That way I don’t need to visit each blog and change the settings individually.
I would love to see multisite features. We have a lot of blogs and configuring each one with the same settings is not feasible at this time. Is this still in the pipeline?
I am also having this issue, and it seems that it has generated enough categories to noticeably slow down the post management pages in my tags blog.
Some of our categories are in there 400 times. Since these all get pulled into select elements and other parts of the post management pages, these pages are so large that my browser is nearly crashing on each page load. The HTML source is over 26,000 lines long!
So, I used this query to count how many times each category has been added:
SELECT name, COUNT(term_id) FROM wp_1_terms GROUP BY name ORDER BY COUNT(term_id) DESC;
Thankfully, it is creating these categories but not actually using them. So this query should tell me the number of categories that aren’t being used (in my case, this is currently 8007):
SELECT COUNT(t.term_id) FROM wp_1_term_taxonomy t LEFT OUTER JOIN wp_1_term_relationships r ON r.term_taxonomy_id = t.term_taxonomy_id WHERE t.taxonomy = 'category' AND r.object_id IS NULL;
This query should delete all of the categories that aren’t being used:
DELETE t FROM wp_1_term_taxonomy t LEFT OUTER JOIN wp_1_term_relationships r ON r.term_taxonomy_id = t.term_taxonomy_id WHERE t.taxonomy = 'category' AND r.object_id IS NULL;
That cleared things up a lot for me. I hope this helps!
Forum: Plugins
In reply to: Email a Daily Digest of Blog PostsI am interested in the same thing. I came across Subscribe2, but it seems a bit too clunky for my needs. I’d love to hear if you come across anything better.
Forum: Fixing WordPress
In reply to: Flash Uploader and SSLFWIW, I am also having this problem with a fresh installation of WordPress 2.7.1.
Additional information: WordPress is running on Ubuntu 8.10 and Lighttpd 1.4.19 with a self-signed certificate. Browser is Firefox 3.1b3 on Windows Vista Unltimate 64. Flash is 10.0.22.87
If anybody has any information on what I can do to fix this, I would really appreciate it.
Thanks!
Forum: Fixing WordPress
In reply to: Image upload window opens within the same browser windowI had the same problem in 2.7.1. I fixed it by disabling a plugin that was causing a javascript error on the post page. In my case it was WP-Amazon. Hope that helps!
Forum: Fixing WordPress
In reply to: Only one pingback from many in a post? What?I am also having this issue. Running WordPress 2.5.1, but it has been like this for a long time now which makes me think it is a plugin or theme issue.
Forum: Plugins
In reply to: WP-Cache doesn’t work with WP2.5@dleber Thanks for that tip. I was having the same issue and changing that value from ‘1’ to ‘0’ did the trick!
Forum: Fixing WordPress
In reply to: Search doesn’t return imported postsHooray! This fixed all of my problems as well. ??
Forum: Plugins
In reply to: Email newsletter plugins?Yes, I looked at that plugin and it seems as though it sends an email to the list every time something is posted to the blog.
Unfortunately, that’s not quite what I need. Rather, I need a plugin that will allow the user to select a batch of postings and put them in whatever order he or she wishes, and then sends out a larger email in a newsletter format.
I couldn’t find this type of a plugin out there, so I am wondering if anyone is already has started developing something like this. If not, is anyone interested in collaborating on the development of one?