PDA

View Full Version : Banned Users List



admin
19-11-2009, 03:37 PM
What is this!?
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. http://www.vbulletin.org/forum/images/smilies/wink.gif


Currently marked as beta since this was updated for vB 4 - there may be a few kinks as vB 4 is rather new/in beta and things could change.


Check the screenshots to see exactly what is displayed.


Current Version
1.1.0


Features flagged for future version(s):

Looking for suggestions



Will this work on x.x.x ??
Unless otherwise stated, this will work on all 4.0 versions. If you would like to use the vB 3.x version, you can find it here (http://www.vbulletin.org/forum/showthread.php?t=211019).


Sounds cool. How do I install?

Upload everything 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

Login to your Admin Control Panel and go to "Plugins & Products" -> "Manage products"

Click on "Add/Import product"
Browse for "product-bannedusers.xml" (included in the zip file), and click "Import"
If upgrading from an older version, then set "Allow Overwrite" to "Yes".

In your admin control panel go to vBulletin Options => Banned Users List

Edit the Usergroups that you do not want to show the banned members list to.

Optional: Only if the auto template injection does not work, as the template hooks were not found.

In the "navbar" template, find:


{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>

Upgrade

Login to your Admin Control Panel
Go to "Plugins & Products" -> "Manage products"
Click on "Add/Import product"
Browse for "product-bannedusers.xml" (included in the zip file)
Set "Allow Overwrite" to "Yes", and click "Import"

If you are upgrading from 1.0.x to 1.1.0

Upload and overwrite 'banned.php'



Changelog
v1.1.0 - November 17th, 2009
-- Update to be compatible with vB4.0

v1.0.1 - August 5th, 2009
-- Added: AdminCP option of usergroups that are not allowed to view the banned members list.
-- Added: Template edits can now be done automatically if enabled.

v1.0.0 - April 12th, 2009
-- Initial Release

Demo:
http://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/19/04/56581258624318.pnghttp://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/19/04/26101258624328.jpghttp://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/19/04/87991258624337.jpghttp://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/19/04/17591258624346.jpg