/*===========================================================================================*\
|| ######################################################################################### ||
|| #                                                                                       # ||
|| # Banned Users List (for vBulletin v4.0.0 and higher)                                   # ||
|| #                                                                                       # ||
|| # Copyright (c) 2009 - 2010 Eric Sizemore (www.vbulletin.org/forum/member.php?u=142777) # ||
|| #                                                                                       # ||
|| # For distribution in vBulletin.org only.                                               # ||
|| #                                                                                       # ||
|| ######################################################################################### ||
\*===========================================================================================*/

Description
---------------------------------------------------------------------
This modification will allow you show a page containing all of your banned users.
I suppose you could think of this as a public "Wall of Shame", per say. ;)

	
Installation instructions
---------------------------------------------------------------------


Step 1. Upload files
===================================

Upload the following files inside the "upload" directory of the zip file to your forums.
	banned.php	                   => To your FORUM ROOT directory
	functions_bannedusers_list.php => To your FORUM_ROOT/includes directory


Step 2. Install/Upgrade product
===============================

1. Login to your Admin Control Panel
2. Go to "Plugins & Products" -> "Manage products"
3. Click on "Add/Import product"
4. Browse for "product-bannedusers.xml" (included in the zip file), and click "Import"
5. If upgrading from an older version, then set "Allow Overwrite" to "Yes".


Step 3. Permissions setup
=========================

1. In your admin control panel go to vBulletin Options => Banned Users List
2. Edit the Usergroups that you do not want to show the banned members list to.


Step 4. Template modifications 
==============================
Optional: Only if the auto template injection does not work, as the template hooks were not found
Note: Your templates may not even have the below, in which case you are on your own to find out where to paste the variables


1. In the "navbar" template

Find (or very similar to it)
----------------------------

				{vb:raw template_hook.navbar_quick_links_menu_pos3}


Below it, add
----------------

				<vb:if condition="$vboptions['bannedusers_enabled'] AND $vboptions['bannedusers_hidefrom'] AND !is_member_of($bbuserinfo, $vbptions['bannedusers_hidefrom'])"><li><a href="./banned.php{vb:raw session.sessionurl}">{vb:rawphrase bannedusers_text}</a></li></vb:if>


================================================================================

You are all done!