AJAXed Wordpress (AWP) harnesses the power of both AJAX and Wordpress to improve the user experience, the administration capabilities and the design potential of any Wordpress based blog. It works on all WordPress versions from 2.1 - 2.6. Please note that you may not use jQuery in WordPress 2.6 currently.
Some of AWP’s features include loading posts inline, inline comments, threaded comments, AJAX comment submission, AJAX Navigation, live comment preview and much more. AWP is endlessly customizable and extensible. Even though AWP provides many features, you are never forced to use features that you don’t want. All aspects of the plugin are easily customized through a single Administration panel.
What are some of the other benefits to using AWP?
AWP is completely free. Free to use, free to play with, and free support. The continued development of this project is supported by voluntary user donations.
I needed a way to be able to include particular files from files that are themselves included. because the working directory was not necessarily the same, so I needed a way to find what the actual include path should be. The following code snippet finds a specific folder or file and returns the ladder (relative path) to get to it.
function find_path($loc,$dir=0){for($i = 0; $i <10; $i++){if($dir){if(is_dir($ladder.$loc)){return $ladder;break;}}elseif(is_file($ladder.$loc)){return $ladder;break;}$ladder .='../';}}- Use the following to copy and paste the code.
This code is NOT user-input safe: any checks you do should be hard coded otherwise you might as well just give out your passwords.
Better Wordpress threaded comments
Here is something slightly different, I’m trying to get into the habit of writing out my notes and detailed changes in INAP 3.0 for my own use, so I thought they may help others in the process. The following walk through details the process I took to create a method to thread comments for Wordpress. Most of the project specific code has been removed to keep the code from being cluttered.
The threading structure for the plugin needed to be able to handle an unlimited number of children in an order, and the ability to “flatten” the children after a certain user-specified depth (shown in the code examples as $max_depth). The threading structure needed to be rewritten because in short, the old version (seen here) worked by individually querying the database for each comment to look for children, utilized globals to pass information from one section to another, used a complex method of if/elses to determine what functions should do, and was very slow.
Super Category (multi-blog) plugin with no hacks
This is an old buggy version. Please use the newest.
NOTE:
I believe the only part that is missing is where it says to follow the instructions in the Up and Running section. In this section it basically said to make a group of links or categories belong to only one site add them to a category with the same name as the url (eg site: http://anthologyoi.com would have all its links under the anthologyoi.com category).
Don’t worry I will rewrite the detailed section as soon as I get time (read: over the weekend)
Download the Super Category Plugin here
About a month and a half ago I released a first version of this plugin. In it I had to use a combination of hacks along with a plugin to have the same functionality that this version has with no hacks what-so-ever.

