Brian Fegter
Forum Replies Created
-
Forum: Plugins
In reply to: [Debug This] Fatal error: Cannot use object of type WP_ErrorHi all. Will check into this tonight. Thanks for the debug info!
Forum: Plugins
In reply to: [Debug This] Fatal error: Cannot use object of type WP_ErrorCannot replicate. Please post your full error code from the log.
Forum: Plugins
In reply to: [Debug This] Fatal error: Cannot use object of type WP_ErrorDamien,
Can you give me the full error code from your log?
Thanks,
BrianForum: Plugins
In reply to: [Debug This] Fatal error: Cannot use object of type WP_ErrorHi Damien,
I’ll look into this next week when I get some free time. I also have MAMP installed here locally so I can test with your config. I’ll update you when I get a chance.
Thanks for the heads up!
BrianForum: Plugins
In reply to: [Debug This] not in menu barThanks! I’ll put it on the near future roadmap. 🙂
Forum: Plugins
In reply to: [Debug This] not in menu barHi Dwenaus,
What version of WordPress are you using? I just updated 0.2.2 to include backwards compatibility with WP 3.3. The menu only appears on the front-facing view of the website, not in the administration area. Let me know if that resolves the issue.
Thanks!
BrianForum: Plugins
In reply to: [Debug This] Debug This plugin requires PHP 5.3Thanks Shaun. Be sure to look at the FAQ how to extend it for your own needs as well. 🙂
Forum: Plugins
In reply to: [Debug This] Debug This plugin requires PHP 5.3Shaun,
This is fixed in 0.2.1. Please try again. I removed the anonymous functions that were causing the errors. Please let me know if there are any other issues.
Thanks!
BrianForum: Plugins
In reply to: [Kint Debugger] current version does not workThis is resolved in 0.3.
Forum: Plugins
In reply to: [Kint Debugger] current version does not workThanks! We’ll get that fixed up soon.
Forum: Plugins
In reply to: [Plugin Promoter] [Plugin: Plugin Promoter] CSS Clashing EverywhereRob,
We’re working on overhauling the CSS for the next release. Stand by…
Forum: Fixing WordPress
In reply to: Insert into Post button missing for some pictureYou can force this to be on without hacking the core:
add_filter( 'get_media_item_args', 'force_send' ); function force_send($args){ $args['send'] = true; return $args; }Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleHey Michael,
I can’t see anything that would work other than re-importing your comments into Intense Debate. I’ve been reading up and it seems like ID has some issues here. Maybe we can post it on their forums and get an answer. The issue seems to reside in their pond.
Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleOK, This will cut down on some loading time and db calls. Intense Debate filters out duplicate comments (i.e. if a user double clicks submit). The wp_comments count and the Intense Debate count sometimes are different. It’s because of the way each platform handles comments it seems.
<h1><?php $commentscount = get_comments_number(); if($commentscount == 1): $commenttext = 'comment'; endif; if($commentscount > 1 || $commentscount == 0): $commenttext = 'comments'; endif; echo get_the_title().' ('.$commentscount.' '.$commenttext.')'; ?></h1>Forum: Fixing WordPress
In reply to: Add Comment Count to Post TitleThis should work. I got it to work correctly on my site.
<h1><?php global $wpdb; $postID = get_the_ID(); $title = get_the_title(); $comments = $wpdb->get_row("SELECT comment_count as count FROM wp_posts WHERE ID = '$postID'"); $commentcount = $comments->count; if($commentcount == 1): $commenttext = 'comment'; endif; if($commentcount > 1 || $commentcount == 0): $commenttext = 'comments'; endif; $fulltitle = $title.' ('.$commentcount.' '.$commenttext.')'; echo $fulltitle; ?></h1>