Pending Submissions Panel v3.00
PHP-Fusion: v7.00+
original author: Rayxen
updated: muscapaul
email: muscapaul@gmail.com
web: http://www.muscapaul.com
Last updated: 4 August 2008
--------------------------------------------------
This program is released as free software under the
Affero GPL license. You can redistribute it and/or
modify it under the terms of this license which you
can read by viewing the included agpl.txt or online
at www.gnu.org/licenses/agpl.html. Removal of this
copyright header is strictly prohibited without
written permission from the original author(s).
--------------------------------------------------

FEATURES
--------
* Shows a panel with the number of unactivated members and the number of submitted articles, news items, weblinks and gallery photos that await activation/publication; for each the text is also the link to the relevant admin panel.
* The panel does NOT appear when nothing awaits approval/activation.
* Information in the panel is only visible to administrators with the proper admin rights.

INSTALLATION
------------
1. Upload the contents of the php-files folder to your PHP-Fusion installation.
2. Go through Admin Panel -> System Admin to Panels. Choose to add a new panel, give it an appropriate name (like 'Submissions') and choose pending_submissions_panel from the Panel Filename drop-down menu. Select the desired location (left or right) and visibility.
3. Save the panel and after that enable the panel.

NOTES
-----
The panel will not show if there are no submissions to approve or if there are no members to activate. So, if you do not see the panel after installation, that might be the cause!
Since all lines are hidden from view for users that do not have the appropriate admin rights the panel visibility can even be set to public.

CHANGELOG
---------

v3.00 (muscapaul)
* * Completely updated to run under PHP-Fusion v7.

v2.10 (muscapaul, thx to Yxos for pointing out the ineffeciency)
* Code updated to optimise the queries in the panel.

v2.00 (muscapaul, thx to Yxos for setting me on the path for these alterations)
* Code updated to hide lines when no submissions are awaiting publication or when no members need to be activated.
* Code updated to hide the panel when no items need to be displayed at all.
* Code updated to hide the lines in the panel for administrators that do not have the appropriate admin rights.

v1.01
* Photo submissions added.
* Unactivated members added.
* Links to Submissions Admin and Member Admin added.

v1.00
* First release for v6.00.2xx.