Enter Amount:

Login Form






Lost Password?
No account yet? Register
Wordpress Plugins
This section features a complete of all our free wordpress plugins.

DocumentsDate added

Order by : Name | Date | Hits [ Ascendant ]
file icon wp-pear-debug Pear_Debug integration in wordpress 07/25/2008 Hits: 14
== Features ==
Unfortunately php_debug only works in php5 so this plugin will only work in php5. I will happly incorporate another library that can work with php4
if someone sends me one. Please also note that I developed this plugin on wordpress 2.6 and can't guarantee that it will work on v2.5.
This plugin makes use of some features only avaialable in the newest wordpress releases.

This plugin unlike most operates from within a class.
There are several options which can be set in the admin section
1. Debug Status: Overall
    this option allows you to enable and disable debugging entirely
2. Display Debugging for: Guests
    This option allows you to enable debugging when no user is logged in
3. The rest are a list of roles found in the sytem, eg. editor, contributor, administrator
    For each you have the following options: Admin & Front End, Admin Only, Front End Only, Disable
4. The plugin shows queries that were run by wordpress
        Please not that some queries run before the plugin is initialized
5. You can easly add debug information to the debugger by making use of several functions
          //This can be added to any part of your code
          $oDebug = wp_pear_debug::get();       

            $oDebug
->add($variable); //add variable to debug
            
$oDebug->dump($array); //var_dump an array
            
$oDebug->queryRel($info); //add query related info
            
$oDebug->error($info); //add user error
            //more options available in the pear::php_debug documentation



6. Debug information appears in a neat panel controlled by javascript. The options expand and collapse. The debug panel also has
 a close button to completely remove the debug panel.

7. Note that the debug bar floats at the top right and will not disrupt your layout.

8. TO ensure layout stability the mod is hard coded to use only the HTML Div Renderer

== Installation ==



1. Upload folder `wp-pear-debug` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Set the appropriate option under settings->Debugger admin menu
file icon Auto Link Mask hot! 02/02/2008 Hits: 192

This plugin automatically replaces links that take users off your website with a generic like in the format of http://www.yourwordpressblog.com/visit/9999/. Users are then redirected to the original link via a meta refresh.

Note that this plugin replaces the links in the content and for now has no way of restoring them to your content. As long as this plugin is enabled links in all content that is either saved or created will be processed. This plugin does not automatically proess content which already exists.