Title: [NEW!] Viper&#8217;s Plugins Used
Last modified: August 18, 2016

---

# [NEW!] Viper’s Plugins Used

 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/)
 * [http://www.viper007bond.com/wordpress-plugins/vipers-plugins-used/](http://www.viper007bond.com/wordpress-plugins/vipers-plugins-used/)
 * I was unhappy with the other “Plugins Used” plugin that was out there ([pluginsUsedPlugin](http://www.andrewsw.com/pages/pluginsUsedPlugin))
   for a number of reasons, mainly that it didn’t output the plugins in alphabetical
   order as well as I wanted more configuration options. So, I started over and 
   wrote my own plugin.
 * This plugin allows you to list out all plugins that you have activated and that
   are located in your plugins folder as a table or an unordered list. You can toggle
   displaying the version, author (unordered list method only), and plugin description.
 * For an example, [click here](http://www.viper007bond.com/about/plugins-used/).

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/new-vipers-plugins-used/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/new-vipers-plugins-used/page/2/?output_format=md)

 *  [swordfish](https://wordpress.org/support/users/swordfish/)
 * (@swordfish)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260378)
 * I am going to install this for sure.
 * Great work.
    By the way, can we write a custom description about the plugin? 
   something like the page on babygotblog.com
 *  [Les Bessant](https://wordpress.org/support/users/lesbessant/)
 * (@lesbessant)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260379)
 * Thanks – I’ll give that a try 🙂
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260382)
 * > By the way, can we write a custom description about the plugin? something like
   > the page on babygotblog.com
 * Direct link? I don’t see it.
 * Anyway, I have a few ideas on how to implement that. I’ll try and get a new version
   out within a couple days that supports that. 🙂
 *  [swordfish](https://wordpress.org/support/users/swordfish/)
 * (@swordfish)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260386)
 * even i dont find the link in that site now.
    It was there previously. even the
   theme is changed now. babygotblog was a regular user in these support forums.
 * Viper, its great that you understood what i said.
    Will install this now and 
   will wait for that feature.
 * Thanks.
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260387)
 * When specifying a plugin to create a custom description for, do you think using
   the plugin’s partial path (usually just the filename) or the plugin’s name (then
   you have to worry about people mis-copying the plugin’s name though) to identify
   it would be best?
 *  [swordfish](https://wordpress.org/support/users/swordfish/)
 * (@swordfish)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260391)
 * The plugins name would be better rather than the file name and a link to the 
   author site(optional with a checkbox) from the plugin name(opening in a new window).
 * not related:
    I am very uncomfortable with this new window thing specifying target
   =”_blank” in all outgoing links. is there anything that we can do about this?
   a button like [_link] beside the default button [link] to insert _blank target
   link in the editor? I mean not here. In the blog editor. You know what, nobody
   likes their blog readers to endup in other blogs or sites clicking the links.
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260517)
 * > not related:
 * Then don’t post it in my thread! 😉
 * Back on topic:
 * I was actually just thinking making a function where you create an array with
   some custom descriptions:
 * `$viperspluginsused->setcustdesc(array(
    'Viper's Plugins Used' => 'Some cool
   description', 'Some Other Plugin' => 'Another description' ));
 * However, doing it via an options page sounds like a better for the coding impaired.
   Although that’d mean you couldn’t have different custom descriptions per page,
   but then again, who’s gonna use the plugin on more than one page? 🙂
 * Options page it is.
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260565)
 * Work is coming along nicely on the options page. 🙂
 * Here’s two teaser images:
 * [http://img295.imageshack.us/img295/4581/pluginsused18ts.jpg](http://img295.imageshack.us/img295/4581/pluginsused18ts.jpg)
   
   [http://img295.imageshack.us/img295/3038/pluginsused24np.jpg](http://img295.imageshack.us/img295/3038/pluginsused24np.jpg)
 *  [vryce](https://wordpress.org/support/users/vryce/)
 * (@vryce)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260568)
 * Awesome work.
    I was going to install the plugin, but now I think I’ll wait for
   the next release. 🙂
 * Those options page images are great looking.
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260569)
 * The new version will be backwards compatible template wise, so to upgrade to 
   this upcoming version, all you’ll have to do is replace the plugin file itself,
   i.e. it’ll be hardly any work to upgrade, so you don’t have to wait for the next
   if you don’t want to. 🙂
 *  [vryce](https://wordpress.org/support/users/vryce/)
 * (@vryce)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260570)
 * Ah. gotcha.
 * Installed the plugin, very nice. I made a template for it and a new page using
   that template.
 * Though I did hack the plugin code, and it might be something you consider to 
   add.
 * In the output as table display, you don’t have the option to exclude the plugin
   author column like you did if you output it as a list.
 * I added the code in so I could turn off the author field. In the theme I’m using,
   having it display the plugin name, description and author was cutting off part
   of the text.
 * You can see an example here
    [http://postcardsfrommetrosuburbia.solitaryspaces.com/plugins-used/](http://postcardsfrommetrosuburbia.solitaryspaces.com/plugins-used/)
 * This is what I changed.
 * `
    // Takes the plugin array and outputs it as a table function output_table(
   $tabledetails = '', $displaydescription = TRUE, $displayversion = TRUE, $displayauthor
   = TRUE) { // Set a default table style for when it's not specified if ($tabledetails
   == '') $tabledetails = 'width="100%" border="1" cellpadding="3" cellspacing="
   3"';
 *  echo '<table ' . $tabledetails . ">n <tr class="pluginheader">n <th>" . __('
   Plugin') . "</th>n";
    if ($displayversion == TRUE) echo ' <th>' . __('Version')."
   </th>n"; if ($displayauthor == TRUE) echo ' <th>' . __('Author') . "</th>n"; 
   if ($displaydescription == TRUE) echo ' <th>' . __('Description') . "</th>n";
   echo " </tr>n";
 *  foreach($this->plugindata as $plugin_name => $plugin_details) {
    $rowstyle =(
   $rowstyle == 'class="pluginrow"') ? 'class="pluginrowalt"' : 'class="pluginrow"';
 *  echo " <tr $rowstyle>n";
 *  echo " <td>";
    echo ($plugin_details['plugin']) ? $plugin_details['plugin'] :'&
   nbsp;'; echo "</td>n";
 *  if ($displayversion == TRUE) {
    echo " <td>"; echo ($plugin_details['version'])?
   $plugin_details['version'] : '&nbsp;'; echo "</td>n"; } if ($displayauthor ==
   TRUE) { echo " <td>"; echo ($plugin_details['author']) ? $plugin_details['author']:'&
   nbsp;'; echo "</td>n"; } if ($displaydescription == TRUE) { echo " <td>"; echo(
   $plugin_details['description']) ? $plugin_details['description'] : '&nbsp;'; 
   echo "</td>n"; }
 *  echo " </tr>n";
    }
 *  echo "</table>n";
    }
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260600)
 * > In the output as table display, you don’t have the option to exclude the plugin
   > author column like you did if you output it as a list.
 * Yeah, I realized that last night. I didn’t allow removing of it before thinking
   you wouldn’t want a table with the plugin names only, but I totally forgot that
   you could still have like version or description.
 * Being able to exclude the author is planned and will be added to this coming 
   version. 🙂
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260607)
 * I think I might be done! 😮
 * Gonna check over the code a couple times to make sure I didn’t miss anything.
   🙂
 *  [Marc](https://wordpress.org/support/users/marc/)
 * (@marc)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260609)
 * Can you check what this error is caused by? I have WP 1.5.2 on both a home box(
   windows) and an online blog (linix server) and use the Runphp plugin to insert
   code in pages or posts.
 * I get this same error on both blogs when inserted in a new page.
 * `
    Fatal error: Call to a member function output_list() on a non-object in D:
   apachefriendsxamppxampphtdocsblogwordpresswp-contentpluginsrunphp.php(96) : eval()'
   d code on line 1
 * Note that error is from the home box but is identical to that produced online.
   
   Thanks
 *  Thread Starter [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/#post-260610)
 * Did you start the class?
 * `<?php
    $viperspluginsused = new viperspluginsused(); $viperspluginsused->output_list();?
   >
 * `$viperspluginsused` can be anything BTW, I just recommend that variable name
   since it’s the same as the class name.

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/new-vipers-plugins-used/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/new-vipers-plugins-used/page/2/?output_format=md)

The topic ‘[NEW!] Viper’s Plugins Used’ is closed to new replies.

 * 28 replies
 * 8 participants
 * Last reply from: [mozey](https://wordpress.org/support/users/mozey/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/new-vipers-plugins-used/page/2/#post-260715)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
