Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Banned Users List Details »»
Banned Users List
Version: 1.1.6, by Eric Eric is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 11-16-2009 Last Update: 10-19-2013 Installs: 136
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed.


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.


Check the screenshots to see exactly what is displayed.


Current Version
1.1.6


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.


Sounds cool. How do I install?
  1. 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
  2. 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".
  3. 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.
  4. Optional: Only if the auto template injection does not work, as the template hooks were not found.
    • In the "navbar" template, find:
      • HTML Code:
        {vb:raw template_hook.navbar_quick_links_menu_pos3}
    • Below it, add:
      • HTML Code:
        <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
  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)
  5. Set "Allow Overwrite" to "Yes", and click "Import"
  6. Upload and overwrite 'banned.php' and '/includes/functions_bannedusers_list.php'


Changelog
v1.1.6 - October 20th, 2013
-- Removed unnecessary text from template.

v1.1.5 - June 23rd, 2011
-- Added 'bannedusers_navbar' to the cache, it was previously uncached (props to Delphiprogrammi).
-- Added suggestion by Clamshells: allow the columns to be sorted ascending or descending.
-- Updated template HTML/CSS to hopefully fix the pagination display issue.
-- Updated to be compatible with vB 4.1.x, should be compatible back to 4.0.5

v1.1.4 - August 20th, 2010
-- Made changes to how the scripts checks which usergroups has access to the banned list
-- Corrected a pagination bug that added the wrong sort by value

v1.1.3 - August 11th, 2010
-- Updated template HTML for vB 4.0.5
-- Updates to style/css to use stylevar for border colors, improved link css for sorting
-- Some minor updates to banned.php

v1.1.2 - June 26th, 2010
-- Fixed sort links (props to Konkere for pointing out the bug)
-- Should now use stylevars from current style, instead of default colors.
-- Two templates were not being cached, should now be fixed.

v1.1.1 - November 20th, 2009
-- When querying for banned usergroups, added a check in banned.php to make sure we had groups to query with.
-- Should never happen, but added check to see if usergroupcache is empty, and rebuild if it is.
-- Added ability to sort by username, banned by, banned on, ban lift date (table columns are links)

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


NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed.

Download Now

File Type: zip bannedusers_list_1.1.6.zip (9.6 KB, 201 views)

Screenshots

File Type: png bannedusers_list_acp.png (34.4 KB, 0 views)
File Type: jpg bannedusers_list_menu.jpg (55.3 KB, 0 views)
File Type: jpg bannedusers_list_temp.jpg (53.1 KB, 0 views)
File Type: jpg bannedusers_list_main.jpg (93.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-17-2009, 06:17 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved.
Reply With Quote
  #3  
Old 11-17-2009, 06:26 PM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks so cool, I saw something like this on the big boards list sometime ago, tag it for future use
Reply With Quote
  #4  
Old 11-17-2009, 06:36 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



One thing about this, is that it uses tables - which is fine I suppose - but I based the css / table off of how vB 4 does the memberlist. It looks good, imho, but I'm just not a big fan of tables.

If you have any suggestions feel free to let me know
Reply With Quote
  #5  
Old 11-17-2009, 07:34 PM
abdobasha2004's Avatar
abdobasha2004 abdobasha2004 is offline
 
Join Date: Aug 2008
Posts: 541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
reserved
Reply With Quote
  #6  
Old 11-18-2009, 03:48 PM
woffie's Avatar
woffie woffie is offline
 
Join Date: Jan 2009
Location: Michigan
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice if there were a link in the banlist to "all IP's used by this member".
Reply With Quote
  #7  
Old 11-18-2009, 04:20 PM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job, but I´ll add 2 suggestions:
- what about an option to sort them by date instead of their usernames ? Guess that offers a better benefit for the admins out there.
- what about a searchbox for the banlist ?
Reply With Quote
  #8  
Old 11-19-2009, 12:02 AM
garretbyrne garretbyrne is offline
 
Join Date: Nov 2009
Location: Ireland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi thanks for modding this.. I ran into a problem though while installing it...

----------------------
Database error in vBulletin 4.0.0 Beta 3:

Invalid SQL:

SELECT
userban.userid, adminid, bandate, liftdate, reason,
user.username as username,
admin.username as adminname, admin.displaygroupid as admindisplaygroupid, admin.usergroupid as adminusergroupid
FROM userban as userban
LEFT JOIN user as user ON(user.userid = userban.userid)
LEFT JOIN user as admin ON(admin.userid = userban.adminid)
WHERE user.usergroupid IN ()
ORDER BY bandate DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY bandate DESC' at line 8
Error Number : 1064
Request Date : Thursday, November 19th 2009 @ 01:59:38 AM
Error Date : Thursday, November 19th 2009 @ 01:59:38 AM
Script : http://forum.**************.org/banlist.php
Referrer :
IP Address : **.**.**.**
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.81-community
--------------------------

Any help you can provide would be really appreciated..

Regards
Garret
Reply With Quote
  #9  
Old 11-19-2009, 12:24 AM
fta2k fta2k is offline
 
Join Date: Feb 2008
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working fine.

Note to anyone like myself that didn't completely read the setting description:

If you put a 0 or leave blank on users who cannot see it, it will NOT work.
Reply With Quote
  #10  
Old 11-19-2009, 09:28 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by woffie View Post
It would be nice if there were a link in the banlist to "all IP's used by this member".
Quote:
Originally Posted by Marv View Post
Good job, but I?ll add 2 suggestions:
- what about an option to sort them by date instead of their usernames ? Guess that offers a better benefit for the admins out there.
- what about a searchbox for the banlist ?
I'll look into adding these

Quote:
Originally Posted by garretbyrne View Post
Hi thanks for modding this.. I ran into a problem though while installing it...

----------------------
Database error in vBulletin 4.0.0 Beta 3:

Invalid SQL:

SELECT
userban.userid, adminid, bandate, liftdate, reason,
user.username as username,
admin.username as adminname, admin.displaygroupid as admindisplaygroupid, admin.usergroupid as adminusergroupid
FROM userban as userban
LEFT JOIN user as user ON(user.userid = userban.userid)
LEFT JOIN user as admin ON(admin.userid = userban.adminid)
WHERE user.usergroupid IN ()
ORDER BY bandate DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY bandate DESC' at line 8
Error Number : 1064
Request Date : Thursday, November 19th 2009 @ 01:59:38 AM
Error Date : Thursday, November 19th 2009 @ 01:59:38 AM
Script : http://forum.**************.org/banlist.php
Referrer :
IP Address : **.**.**.**
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.81-community
--------------------------

Any help you can provide would be really appreciated..

Regards
Garret
Quote:
Originally Posted by fta2k View Post
Installed and working fine.

Note to anyone like myself that didn't completely read the setting description:

If you put a 0 or leave blank on users who cannot see it, it will NOT work.
garretbyrne, you need to edit the mod's settings and include who can not see that list - which by default should be banned members themselves. I'll look into change how this works in the next version.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04756 seconds
  • Memory Usage 2,331KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete