cranker
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Diff for a Wp 2.0 compatible plugin – FeedwordpressIf anyone is interested, after days of working on this, I think the easiest solution for anyone experiencing this problem is to register your wordpress feed that is on a subdomain with feedburner and then point feedwordpress to the feedburner link.
The root of the problem seemed to stem with apache rewrites, wordpress and feedwordpress. It was pointless to work it all out at the lower level when there was a quick fix anyway.
Forum: Plugins
In reply to: FeedwordPress feed truncatesAre you sure the feed you are fetching is not an excerpt feed? Many smart bloggers have switched their feed to show only an excerpt as this is one of the easiest ways to avoid completely scrapped content.
Forum: Fixing WordPress
In reply to: Diff for a Wp 2.0 compatible plugin – FeedwordpressThis sounds like it could be a start. Any ideas about which companies or any potential workarounds.
Forum: Fixing WordPress
In reply to: Diff for a Wp 2.0 compatible plugin – FeedwordpressFeedwordpress is not pulling from subdomain on the same site.
We have two installs of wordpress, one on a subdomain and one on the main domain. We want to feed the main domain install, but it won’t work.
We need to pull from subdomain blog at https://subdomain.domain.com to https://domain.com
Feedwordpress works fine pulling the same feeds to other domains.
Any know issues or reasons?
Forum: Plugins
In reply to: New Plugin: WP-PostRatingsI had no idea wp-stats had most emailed in it! Awesome job, Lester.
I broke out the most emailed code into a separate plugin
<?php
/*
Plugin Name: Get Most Emailed
Plugin URI: https://www.lesterchan.net/
Description: Get most emailed post using Lester Chan's wp-email plugin.
Author: Lester Chan
Version: 1.0
Author URI: https://www.lesterchan.net/
*/### Function: Get Most Emailed Post
function get_mostemailed($limit = 5) {
global $wpdb, $post;
if(function_exists('wp_email')) {
$mostemailed= $wpdb->get_results("SELECT $wpdb->posts.ID, post_title, post_name, post_date, COUNT($wpdb->email.email_postid) AS 'email_total' FROM $wpdb->email LEFT JOIN $wpdb->posts ON $wpdb->email.email_postid = $wpdb->posts.ID
WHERE post_date < '".current_time('mysql')."' AND (post_status = 'publish' OR post_status = 'static') AND post_password = ''
GROUP BY $wpdb->email.email_postid ORDER BY email_total DESC LIMIT $limit");
if($mostemailed) {
foreach ($mostemailed as $post) {
$post_title = htmlspecialchars(stripslashes($post->post_title));
$email_total = intval($post->email_total);
echo "- $post_title ($email_total) "."
- '.__('N/A').'
";
}
} else {
echo '';
}
}
} ; ?>Call it in the sidebar using
<?php get_mostemailed(); ?>
Forum: Plugins
In reply to: New Plugin: WP-PostRatingsLester, how about adding to your wp-email plugin some type of way to display “most emailed” in the sidebar?
Forum: Plugins
In reply to: Thread for plugins still needing 2.0 updatesForum: Plugins
In reply to: Thread for plugins still needing 2.0 updatesWhen I said “I’ll start…”, I meant I’ll start listing the plugins. I didn’t mean I’ll start rewriting them. I’m throwing down the gauntlet to those with actual skills.