summaryrefslogtreecommitdiff
path: root/plugins/data.usercount.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-07-08 07:15:45 +0000
committerChristian Fowler <spider@viovio.com>2008-07-08 07:15:45 +0000
commite60704dbef3f1327faa1e61c87d3adc307b7d456 (patch)
tree6be3ba67c8108876c36965c7587faf689b56c05f /plugins/data.usercount.php
parent19785366ae6d63db8276e3dfb2771662d275df78 (diff)
downloadliberty-e60704dbef3f1327faa1e61c87d3adc307b7d456.tar.gz
liberty-e60704dbef3f1327faa1e61c87d3adc307b7d456.tar.bz2
liberty-e60704dbef3f1327faa1e61c87d3adc307b7d456.zip
remove ancient non-functional plugins, moved to tidbits graveyard for now
Diffstat (limited to 'plugins/data.usercount.php')
-rw-r--r--plugins/data.usercount.php70
1 files changed, 0 insertions, 70 deletions
diff --git a/plugins/data.usercount.php b/plugins/data.usercount.php
deleted file mode 100644
index 209efa8..0000000
--- a/plugins/data.usercount.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-/**
- * @version $Revision: 1.7 $
- * @package liberty
- * @subpackage plugins_data
- */
-// +----------------------------------------------------------------------+
-// | Copyright (c) 2004, bitweaver.org
-// +----------------------------------------------------------------------+
-// | All Rights Reserved. See copyright.txt for details and a complete list of authors.
-// | Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
-// |
-// | For comments, please use phpdocu.sourceforge.net documentation standards!!!
-// | -> see http://phpdocu.sourceforge.net/
-// +----------------------------------------------------------------------+
-// | Author (TikiWiki): Damian Parker <damosoft@users.sourceforge.net>
-// | Reworked & Undoubtedly Screwed-Up for (Bitweaver)
-// | by: StarRider <starrrider@sourceforge.net>
-// | Reworked from: wikiplugin_usercount.php - see deprecated code below
-// +----------------------------------------------------------------------+
-// $Id: data.usercount.php,v 1.7 2006/08/07 22:14:58 squareing Exp $
-
-/**
- * definitions
- */
-define( 'PLUGIN_GUID_DATAUSERCOUNT', 'datausercount' );
-global $gLibertySystem;
-$pluginParams = array (
- 'tag' => 'USERCOUNT',
- 'auto_activate' => FALSE,
- 'requires_pair' => TRUE,
- 'load_function' => 'data_usercount',
- 'title' => 'UserCount - This plugin is not yet functional.', // Remove this line when the plugin becomes operational
-// 'title' => 'UserCount', // and Remove the comment from the start of this line
- 'help_page' => 'DataPluginUserCount',
- 'description' => tra("Will show the number of users. If a Group Name can be included to filter the Groups."),
- 'help_function' => 'data_usercount_help',
- 'syntax' => "{USERCOUNT}Group Name{USERCOUNT}",
- 'path' => LIBERTY_PKG_PATH.'plugins/data.usercount.php',
- 'security' => 'registered',
- 'plugin_type' => DATA_PLUGIN
-);
-$gLibertySystem->registerPlugin( PLUGIN_GUID_DATAUSERCOUNT, $pluginParams );
-$gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_DATAUSERCOUNT );
-
-// Help Function
-function data_usercount_help() {
- $back = tra("^__Parameter Syntax:__ ") . "~np~{USERCOUNT(key=>value)}~/np~\n";
- $back.= tra("||__::key: ::__ | __::value::__ | __::Comments::__\n");
- $back.= tra("::NONE:: | ::NONE:: | this plugin has no parameters.||^");
- $back.= tra("^__Example:__ ") . "~np~{USERCOUNT()}Registered{USERCOUNT}~/np~^";
- return $back;
-}
-
-// Load Function
-function data_usercount($data, $params) {
- $ret = "This plugin has not been completed as yet. ";
- return $ret;
-}
-/******************************************************************************
-The code below is from the deprecated USERCOUNT plugin. All comments and the help routines have been removed. - StarRider
-
-function wikiplugin_usercount($data, $params) {
- global $gBitUser;
- extract ($params, EXTR_SKIP);
- $numusers = $gBitUser->count_users($data);
- return $numusers;
-}
-*/
-?>