On this lovely Friday the 13th, Inline Ajax Page version 2.4 has finally been released.
If you are upgrading or have ever installed INAP before follow the upgrade instructions here.
Please report bugs as soon as you find them, as I will be making bug-fixing releases as they are fixed.
I am also specifically asking for feature ideas for the next version, so drop a note on the main page if you have any.
Wordpress Character Map and Unicode Encoder
Wordpress Character Map and Unicode Encoder is a simple to use plugin that adds a character map underneath of your edit post box which provides easy access to all unicode entities. It also allows you to convert all special Unicode characters (anything you wouldn’t see on the average American keyboard) to their respective entities and back again. (This feature can also be downloaded as a separate plugin.) The character map supports all Unicode characters (a few sets have been disabled because of their size) and allows you to set your “favorite” characters which will automatically be displayed underneath the edit box.
The most powerful part of this plugin is the Unicode converter. I was able to go back to one of my older posts that had many Japanese and Chinese characters and convert the entire post to valid Unicode in one click. Go view the post and try switching Character encodings in your browser. Nothing changes if you do.
Improvements for Stattraq plugin.
Ever since I originally started using Stattraq a few things bothered me about the way it worked. Here are the fixes to a few of them.
Include pages with posts in your stats.
- Open stattraq.php
- Find:
global $doing_rss, $p
Replace With:
global $doing_rss, $p, $page_id, $pagename, - Find:
if (($p != '')){$p = intval($p);$article_id = $p;}
Replace with:
if (($p != '')){$p = intval($p);$article_id = $p;}elseif (($page_id != '')){$page_id = intval($page_id);$article_id = $page_id;}elseif (($pagename != '')){$reqpage = get_page_by_path($pagename);if ( !empty($reqpage) )$article_id = $reqpage->ID;}- Use the following to copy and paste the code.
To add a list of all Pages that link to your site grouped by Website (excluding Google):
Open “wp-stattraq/reporter/summary.php”
Find:
<?php echo PrintTimestamp();?><div id="queryTerms"></div>
Before Add:
<table id="referrersTable"><thead><tr><th>#</th><th>Referrer</th><th>Pages</th></tr></thead><tfoot><tr><th>#</th><th>Referrer</th><th>Pages</th></tr></tfoot><tbody><?phpif($results){$i=0;foreach($results as $row){preg_match('/(http.*?\:\/\/.*?)(\/.*)/', htmlentities($row->ref), $matches);$ref_array[$matches[1]][] = $matches[2];}while( list($site, $pages) = @each($ref_array) ){if(strpos($site,'google') ==false && $site != ''){?><tr class="<?php echo ($i % 2 == 0 ? 'even' : 'odd' );?>"><td><?php echo ++$i;?></td><td><a href="<?php echo $site;?>"><?php echo substr($site,0,50);?></a></td><td class="right"><?php foreach($pages as $page){?><a href="<?php echo $site.$page;?>"><?php echo substr($page,0,50);?></a><br /><?php}?></td></tr><?php }}}?></tbody></table>- Use the following to copy and paste the code.
Wordpress How To: Easily make an admin panel for a plugin
I find the Admin panel the most tedious part of plugin development–even the slightest changes to the plugin requires major changes to the Admin panel, and it can be hard to remember every option you have in your plugin. However by following a few simple rules, your next Admin panel will be a breeze. Once you have the basic parts down, new options are just a cut and past away. One thing to note is that his Admin panel uses a few features that are best if repeated inside your plugin itself.
Please note that these same general techniques work outside of Wordpress also; the only thing that you would need to do is to change the way options are actually set. Also, I assume you already know HTML; this is not a basic HTML tutorial, but rather is a way to do a specific task.
A bug appeared that broke the add comment box if users did not have javascript turned on. INAP version 2.2.1 fixes this. You may download Inline Ajax Page version 2.2.1 here
Wordpress Meta Tag/SEO plugin
I was sick of having a half dozen different plugins to add meta tags and fix the robots, so I wrote a plugin that prevents duplicate content from being indexed by Google, adds useful meta tags, and ensures that all posts are at one single permalink (using 301 redirects of course). This is more a shell of a plugin than an actual plugin as there are no options, and there are obvious flaws such as it doesn’t allow you to use paged posts. If you want to make changes you will have to do it yourself.
Copy the following into a php file. Upload it. If you need any more instructions than that, you are better off using a plugin that is a little more user friendly because using this plugin incorrectly can kill your site.
<?php/* Plugin Name: Ultimate SEO Plugin URI: http://anthologyoi.com/ Description: This plugin combines the functionality of other SEO plugins.

