IE And Stack Overflow Errors

Special thanks to Steven Hodson, I was able to discover what exactly was causing the stack overflow errors to occur when browsing this site within IE. As it turns out, the MyAvatars 0.2 plugin is the culprit. I’ve managed to locate block of code that has something to do with the error. If anyone out their in Internet land knows what could be causing the stack overflow errors in this code, PLEASE let me know what I could do to keep the plugin functional yet, prevent those errors from happening.

Code that needs to be edited

That’s the code. Any help would be appreciated!

WordPress Themeing Cheat Sheet

WP Theme Cheat Sheet

WpCandy has released an awesome PDF which contains helpful information related to developing themes for WordPress. The cheat sheet includes the following:

  • Basic Template Files
  • PHP Snippets for the Header
  • PHP Snippets for the Templates
  • And Extra Stuff for WordPress

The resource has been translated into Spanish and Romanian in case English is not your native language. At any rate, click here to view the PDF within your browser. Alternatively, you can right-click and save the file to your desktop.

Considering Matt Mullenweg and company are considering a WP-Theme Marketplace where unique theme designers can be paid for their designs, it might be a good time to pump up that WP theme knowledge.

WordPress 2.3.1 Now In Fantastico

I just received word today that the latest version of Fantastico has been shipped out. The good news is, Fantastico now supports WordPress 2.3.1. Originally, WordPress 2.3 was the version everyone has been looking for and I wondered if Netenberg was going to hold off on the update because of 2.3.1. That doesn’t seem to be the case.

Now all you need is for your webhosting provider to upgrade their Cpanel/Fantastico scripts and then you should be able to upgrade to the latest version of WordPress.

List Of WordPress Plugins I Use

Wordpress PluginsOver the past few weeks, I have had a number of individuals ask me questions regarding the plugins I use on this site. I thought I would take the time today to tell you every plugin installed and in use on this blog. This article took 2 hours to write and I hope it answers most of your questions. If not, ask away within the commenting section of the article. At the end of this list, let us know which plugins you suggest to use. Enjoy!

Plugin//Version//Description

AddThis Sidebar Widget 1.2 – AddThis is an awesome plugin that gives users the ability to bookmark a specific page to one of any number of bookmarking services such as Digg, Delicious, Technorati, ect. Instead of having a ton of icons or badges for each service, I can use one image which makes it easy to implement and use. You can see this plugin in action by clicking on addthis plugin at work

Akismet 2.02 – I don’t think enough can be said about Akismet. Akismet was created by Automattic as an anti spam application. It’s one of the best around and without it, I would of had to manually delete 2,500 entries which have been detected as spam. If you are running WordPress, make sure this plugin is activated.

AskApache Google 404 2.2 – This plugin has turned my WordPress 404 Page into something useful. I wrote a detailed review of this plugin here ( Add Google Ajax To Your WP 404 Page ) and it has become the second most viewed article on this blog. Google 404 adds an Ajax powered search into your 404 page. When someone ends up on a 404 page, the terms that generated the error are automatically plugged into the search bar which generates a Google search amongst your own blog, the internet, images ect. To see it in action, visit https://jeffc.me/blabla

Dagon Design Sitemap Generator 3.1.2 – This is one of two sitemap generator plugins that I use. This plugin is highly customizable and gives me the options of how I would like to display my sitemap to the public. When you visit https://jeffc.me/my-sitemap/ the output comes from this plugin. Works seamlessly in combination with my Google XML Sitemap generator.

Digg This 1.0.2 – There are many WordPress plugins that center around Digg but this one is still one of my favorites. When anyone submits one of my blog posts to Digg.com, I am notified by email and a Digg button is automatically placed on the right side of the post. The plugin works by detecting a referral url from Digg. You can customize where the digg button shows up within your post as well as a few other options. To see the plugin in action, visit ( Migratr – Backup And Migrate Your Online Photos )

Dofollow 2.1 – I covered this plugin more in depth here ( You Comment I Follow ) Essentially, this plugin strips the “REL=NoFollow” attribute from a commenter’s URL. This is good for Google juice to be applied to those that comment on your blog. It’s also a good showing of appreciation to those that engage in the conversation through comments.

FeedBurner FeedSmith 2.3 – This plugin finds all the ways to subscribe to your blog and consolidates them into one feed using FeedBurner. This ensures accurate feed reader statistics. It’s one of the first plugins you should install when you begin a WordPress blog so that it’s as accurate as possible.

Get Recent Comments 2.0.2 – This displays the most recent comments/trackbacks on the sidebar. I have implemented this plugin near the top center of the page called MOST RECENT COMMENTs by adding the hook into it’s own div container. There are a number of different formatting options to display this plugin which make it highly customizable for your situation.

Google XML Sitemaps 3.0 – This is purely a Google only sitemap plugin. What I like most about this plugin is that it creates sitemap.org compatible sitemaps which are supported by Ask.com, Google, MSN and Yahoo. This plugin combined with my other sitemap plugin covers my blog at all angles.

JS Toggle Boxes 1.4 – Js Toggle Boxes provides a means to add a plus symbol or a minus symbol to a div element that contains an unordered list. Using a combination of Javascript, CSS and cookies, readers of this site can now show or hide at least 6 different content blocks.

Live 0.4.1 – Wrote about here ( WordPress Real Time Browsing Stats ) Live gives WordPress admins the chance to see who is browsing what in real-time. The plugin provides information such as IP address, whether the user is on a page, comment, or a hit from an RSS aggregator, and referral URL. This is probably one of the most used plugins I have installed to monitor what’s going on. I’ve been anxiously awaiting a new version which promises additional functionality.

Live Comment Preview 1.7 – I came across this plugin while reading a blog post on how to make your WordPress blog Web 2.0ish. Powered by Ajax, this plugin gives readers a chance to preview their comment in real-time before it’s published. You can use the provided preview function to add a PREVIEW area anywhere on your site. It’s nice to know what your comment will look like before it’s published.

Most Viewed Widget 1.0 – This is an addon for another plugin called WP-Postviews which I’ll get to later. This widget will take the posts with the most number of views and display them as a widget or wherever you place the hook. You can modify the plugin code to determine how many articles are shown in the widget.

MyAvatars 0.2b – I covered MyAvatars here ( MyBlogLog And Gravatar Support ) in light of the recent Gravatar acquisition. MyAvatars displays avatars from both MyBlogLog and Gravatar. The best of both worlds it would seem.

MyBlogLog Widget 2.0 – In order to use a MyBlogLog widget, you first have to visit MyBlogLog.com and create one. Once you get the code for the widget, paste it into a TEXT based widget. This is essentially how you add any 3rd party widget to your site.

Optimal Title 3.0 – One of the first plugins I’ve ever installed, Optimal Title mirrors the function of wp_title() exactly, but moves the position of the ’separator’ to after the title rather than before. This is what enables me to have links within the title bar of your browser that look like this

Optimal Title

Notice how the name of the post comes before the actual title of my page. I read this was supposed to help with SEO but I’m not sure if it has or not.

Related Posts 2.04 – This plugin returns a list of related entries based on active/passive keyword matches. The relation happens automatically and so far, it has worked out pretty well. This plugin becomes more accurate as you publish more posts. Not a good plugin to use if you have under 30-50 posts.

SezWho WP1.2 – SezWho is a comment rating/reputation based service. Users rate on comments for a given post which can in turn, leverage ratings of a commenter on other blogs. Replace the concepts of Gravatar with comment rating and user reputation and you should get the idea behind the service.

Share This 1.4 – Another awesome plugin that consolidates what would be a number of different images or badges into one easy to access control panel. ShareThis gives your users the oppurtunity to share a post with others through social bookmarking or by email. This is one of my favorite plugins as it provides so much functionality in such a tidy, neat package.

Subscribe To Comments 2.1.1 – This plugin adds a check box to a comment form which gives users the chance to subscribe to a particular page and it’s comments. After you subscribe to a post, each time a user comments on that blog entry, an email will be sent to your account letting you know someone has carried on the conversation. In my opinion, this is a function that should be supported out of the box.

What Would Seth Godin Do 1.3 – This plugin gives me the chance to configure a default welcome message to brand new visitors of the site. It uses cookies so that after a configured amount of times, the welcome message disappears. The welcome message contains the text “Welcome to my blog, if you enjoyed reading this, perhaps you would like to subscribe for more RSSLINK” Not sure if this has contributed to my RSS subscriber count but I haven’t had any complaints.

wp-cache 2.1.2 – The oh so infamous Wp-Cache. You almost have to use this plugin if your using WordPress. Wp-Cache is a very fast caching module that is actually modules within modules. This plugin has been known to withstand the Digg effect as well as the Slashdot effect. How’s that for noteworthy. I have quite a few issues with WP-Cache that I can’t seem to figure out but I’ll post about those some other day.

WP-PageNavi 2.20 – If you scroll to the bottom of this blog’s home page, you should see the numbers 1, 2, 3, ect in little squares. That is actually the PageNavi plugin in action. This plugin is just an advanced version of pagination which gives users more control over the navigation of the blog.

WP-Polls 2.21 – What good is a blog or website without a poll? This plugin is pretty much the defacto standard for polls within WordPress based sites. The poll is powered by Ajax, can be customized to match your template, supports multiple selections for answers, and the ability to use more than one poll at a time. There is also a Poll Archive page that be added to your site if you so choose.

WP-Polls Widget 2.21 – This widget works along side WP-Polls and displays the actual polls as a widget within your WordPress Template.

WP-PostViews 1.20 – This plugin provides a way for you to see how many views a particular blog post has. You can configure this plugin to show guest views, registered member views or both. I use this plugin just to provide me with “at a glance” statistics for posts. It’s a good feeling to be reassured that people are reading what I write.

WP-Print 2.20 – WP-Print adds the ability for users to print specific articles. The plugin contains options to allow users to print comments, posts, pages, or a combination of everything. I’ve added this functionality to my blog just in case someone feels to the need to print out a tutorial or something.

WP-Stats 2.20 – Displays your WordPress blog statistics. This plugin ranges from general blog statistics to plugin statistics. The plugin statistics are actually stats from a number of other plugins created by Lester Chan that you may have installed on your blog.

WP-UserOnline 2.20 – This plugin gives you and your user’s a chance to see who is currently browsing your blog. The plugin shows which registered members, guests and search engine bots are on your site and which URL they are currently browsing. It also provides a referral url to see where that user came from.

WP AJAX Edit Comments 1.1.1.4 – Reviewed here ( Digg Like Comment Editor For WordPress ) is a plugin written by Ronald Huereca of the Readers Appreciation Project. This plugin gives administrators and regular users the ability to edit their own comments within a given time frame. The plugin pretty much works in the same way that the Digg commenting system works. As I have always said, every blog should provide some sort of way for a user to edit their comments. This plugin is a nice solution to that problem.

WP_EasyReply 1.0 – It becomes tiring typing out something like @whoever each time you want to reply to someones comment. This plugin does that task for you, albeit with a little bit of help. Out of the box, EasyReply provides a link which automatically puts each user account name that has commented since your last reply into the comment box. With a little bit of hacking, I was able to get this plugin to perform the mundane task of typing out @username which is a time saver and a blessing for my fingers. To read how I hacked this plugin for my own purpose, please read ( WordPress Comment Reply Plugin )

Conclusion:

Wow. Can’t believe I’m finally finished with this article, 2 hours later. At any rate, I hope this article answers everyone’s questions as to which plugins I’m using. Installing and configuring the plugin is one thing, how you implement the plugin into your template is a different ballgame. I’ve used a bit of creativity on my blog but it shouldn’t be too hard to discover which content blocks are using which plugin.

Please share your experiences and or implementations of the plugins above if you use them. If not, please tell us which plugins you use and why.

WordPress 2.3.1 Ready For Download

WordPress LogoWordPress 2.3.1 has been released for download. The latest version contains bug and security fixes. According to WordPress.org, 2.3.1 contains over twenty bug fixes. Some of the fixes that are highlighted in this release are as follows: Tagging support for Windows Live Writer , Fixes for a login bug that affected those with a Blog Address different than their WordPress Address, Faster taxonomy database queries, especially tag intersection queries and Link importer fixes.

Unfortunately, some security issues were found in 2.3. Janek Vind found an XSS problem that can be exploited if your php setup has register_globals enabled. For this reason, upgrading to 2.3.1 is advised.

The full set of changes between 2.3 and 2.3.1 is available for viewing on trac.

Get 2.3.1 from the download page and enjoy.

I’ll be upgrading this site later tonight and will let you know how it went. If you upgrade this evening, let us know how it goes.

Comment Rating Within WordPress

James Mowery of TechInDemand.com got in touch with me a few weeks ago and wondered which plugin sites like Engadget and Autoblogs were using that allowed for comment rating. I digged into the source code for those websites and couldn’t figure it out. Today, I have finally discovered which plugin those guys are using and figured I would share it here.

Its called, Comment Karma. Comment Karma is a plugin you can use to allow your visitors to rate each others comments. Like Digg, you can click a thumbs up or thumbs down icon which will give that comment either a positive or negative number.

Comment rating

This plugin was created in 2006 so I’m not sure how it will work with WordPress 2.3 but it’s worth a shot. One thing worth noting is that, the rating cache is set to 120 seconds.

If you’re using WP-Cache or similar the icons will not show up gray, nor will the numbers be updated if you reload the page until the page expires. However if a user votes again it will throw them an error. I’ve worked around this by setting the cache for 120 seconds. That way the server doesn’t get hammered with SQL queries, but you still see the comments being moderated in almost real time.

There is a similar service in SezWho, but by using this plugin, you can keep the comment ratings local to your WordPress install which may improve loading times for your site. I may install this plugin in place of SezWho just for that reason alone. If you’re interested in using this plugin, check out the official Comment Karma plugin page for directions on how to install it into your blog.

MyBlogLog And Gravatar Support

MyAvatars LogoIn a previous post I mentioned that I would highlight a plugin that enables avatars from both MyBlogLog and Gravatar to be displayed at the same time. That plugin is called MyAvatars MyAvatars displays avatar images from MyBlogLog and Gravatar yet, Gravatar support is not enabled by default. Among the obvious, MyAvatar sports the following features:

  • Added nofollow for avatars (from 0.2b)
  • “No image bug” solved (from 0.2b)
  • Title attribute for avatars in english ;) (from 0.2b)
  • “Big images” bug fixed (from 0.2a)
  • Improved XHTML validation (but we still use onload=””) (from 0.2)
  • Gravatar support (not active by default) (from 0.2)
  • Trackbacks/Pingback support (Works good, but it’s not perfect) (from 0.2)
  • Support for blogs with more than 1 author, works very well (from 0.2)
  • Separated CSS Style (from 0.2)
  • Email address is now safe!!! (from 0.2)
  • Customizable title for the avatars (from 0.2)
  • Gets MyBlogLog avatars of your commenters
  • Links directly to their MyBlogLog profiles
  • Easy installation & template integration
  • Added email support for retrieving profiles (from 0.1a)
  • If not MyBlogLog member will prompt the registration page (from 0.1a)

I believe everyone’s comments.php file is different but here is a screenshot depicting where I have placed the MyAvatar function.

Placement Of My Avatar Plugin

I’m not sure what impact the recent acquisition of Gravatar will hold for this plugin but so far, everything still appears to be working normally. One of the cool aspects of this plugin is that, if WordPress integrates Gravatar support within the WP core, you can turn Gravatar support off so it only displays MyBlogLog avatars. This will allow you to keep the functionality of displaying avatars from both services.

Gravatar Has A New Home – WordPress

Gravatar Acquired By AutomatticI’m pretty happy to see that Gravatar has been picked up by the WordPress guys. Gravatar is a neat concept in that when you upload an avatar to their service, any website or forum that supports Gravatar would be able to display your image. It was a concept that if it would of taken off like it was supposed to, chances are, we would of had the ability to use one service for avatar management instead of relying on individual sites and forums.

Within the past three days, Automattic has moved the Gravatar Rails application into their own WordPress infrastructure. This has allowed Gravatars to display three times faster as well as making the site load each time you browse to it. This was a problem I was experiencing with Gravatar a week ago where the damn site wouldn’t load. Glad to see thats fixed. Last but not least, Gravatar was running on the Mephisto CMS and has since been moved over to WordPress. Imagine that!

The most exciting portion of this acquisition are the plans that Matt and company have for the service:

  • All of the Premium features will be free, and refund anyone who bought them in the last 60 days.
  • Move the gravatar serving to a Content Delivery Network so not only will they be fast, it’ll be low latency and not slow down a page load.
  • Take the million or so avatars we have on WordPress.com and make them available through the Gravatar API, to compliment the 115k already here.
  • From Gravatar, integrate them into all WordPress.com templates and bring features like multiple avatars over.
  • From WordPress.com, bring the bigger sizes (128px) over and make that available for any Gravatar. Currently Gravatars are only available up to 80px.
  • Allow Gravatar profile pages with Microformat support for things like XFN rel="me" and hCard.
  • Develop a new API that has cleaner URLs and allows Gravatars to be addressed by things like URL in addition to (or instead of) email addresses.
  • Rewrite the application itself (site.gravatar.com) to fit directly into our WordPress.com grid, for internet-scale performance and reliability.

I’m pretty excited to see the implementation of Gravatar into WordPress as a whole. The two services compliment each other and it’s only natural that they become ONE. I’ve used Gravatar for a few years now but it’s been awhile since I’ve messed with my account. Looks like I should blow the dust off as I’ll be using it again in the near future.

What do you think of this acquisition? Do you use Gravatar? Go ahead and leave some feedback.

WordPress Comment Reply Plugin

East Reply Plugin

One of the greatest things about blogging, especially on your own blog is the discussion that takes place through comments. Here at Jeffro2pt0.com we have taken the approach of manually typing in <strong>@CommentAuthorName</strong> as our means of typing out a reply. After typing this in time and time again, it begins to become irritating.

While searching the plugin database on WordPress.org, I came across WP-EasyReply. This plugin when activated presents a REPLYNEW link near the commenting text area. When you click this link, all of the comments that came before yours are automatically entered into the comment form along with a blockquoted version of their comment. This is similar in how a forum works when you want to reply to specific person and it automatically quotes their comment.

WP EasyReply In Action

I thought this was great. However, I didn’t see the need of appending the same comment over and over again throughout the discussion so I went inside the plugin code and deleted a few things. Now when you click the link, it automatically outputs the @AuthorName in bold which is what the user’s of this blog and myself have been doing for quite some time now.

The only problem with this plugin is that the link only appears for me and no one else. I am currently working with the plugin author to see if the reply link can be manipulated so that it is displayed for the general public to use. I’m also trying to talk the plugin author into wrapping up his plugin into a one line php function like so many other plugins. This way, users would be able to place that line of code anywhere they wanted to within the comments.php file giving blog owners the chance to display the REPLY NEW link anywhere they see fit.

If you want the same results here is the code change:
Original Code:
$posters.="@$com->comment_author - < blockquote >".htmlentities(@$com->comment_content)."< /blockquote >$lf$lf";

Changed Code:
$posters.="< strong >@$com->comment_author < /strong >

WordPress 2.3 And Fantastico

WordPress Fantastico Script

I’ve noticed that this site is receiving quite a bit of search engine traffic from people looking for information in regards to WordPress 2.3 and Fantastico. Fantastico is an auto installer for popular scripts such as content management systems, forums and the like. WordPress is one of the scripts supported by Fantastico that will auto install if you choose to go that route however, your then left at the mercy of Netenberg. Until Netenberg updates the Fantastico auto installer to include the upgrade to 2.3, your stuck at 2.2.

The image displayed up above is from Fantastico through my own webhosting account. It’s been three weeks since the release of 2.3 but I imagine its taking them some time as WordPress 2.3 was a major upgrade and Fantastico is wildly popular. Most webhosting providers use CPANEL as their user control panel verse any other control panel.

According to their official forum, WordPress 2.3 support will be part of their next release. So hang in there!