Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 09-02-2010, 08:35 AM
Alucard^'s Avatar
Alucard^ Alucard^ is offline
 
Join Date: Feb 2008
Location: Argentina
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be very cool if you can see Permanent and Temporary banned users in the same page.
Reply With Quote
  #43  
Old 09-02-2010, 11:28 PM
Clamshells Clamshells is offline
 
Join Date: Sep 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Just a suggestion: allow the columns to be sorted ascending or descending.

Thanks!
Reply With Quote
  #44  
Old 09-10-2010, 10:31 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Clamshells View Post
Installed.

Just a suggestion: allow the columns to be sorted ascending or descending.

Thanks!
Will try to work it into the next version =)

Quote:
Originally Posted by Alucard^ View Post
Would be very cool if you can see Permanent and Temporary banned users in the same page.
Hmm, I may make this an option.

Quote:
Originally Posted by Delphiprogrammi View Post
hi,

there's an uncached template "bannedusers_navbar"

PHP Code:
$cache[] = 'bannedusers_navbar'
hook "cache_templates"
Thanks, will fix this in the next version =)
Reply With Quote
  #45  
Old 11-15-2010, 03:24 PM
Injustice Injustice is offline
 
Join Date: Nov 2010
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

How can I edit the title to something different from "Banned Users: Permanent Ban, Usergroups: Banned Users"?
Reply With Quote
  #46  
Old 11-15-2010, 08:43 PM
Robbed Robbed is offline
 
Join Date: Oct 2005
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pagination issue, does the same thing on vb default skin?

http://img442.imageshack.us/img442/850/banbl.png
Reply With Quote
  #47  
Old 05-26-2011, 06:56 PM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has been a while, my apologies Robbed. I will look into that issue, but no guarantees. I am admittedly not the best with CSS.
Reply With Quote
  #48  
Old 06-23-2011, 08:33 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
CharlieDelta
  #49  
Old 09-04-2011, 07:05 PM
Konkere Konkere is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eric View Post
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
Small bag:
Is not registered variable $lb_сolor in $templater = vB_Template::create('bannedusers');

Solution:

Open file: banned.php
Find:
$templater->register('alt2', $alt2);
And after that add:
$templater->register('lb_color', $lb_color);
Reply With Quote
  #50  
Old 10-09-2011, 05:18 PM
MyPeSePe's Avatar
MyPeSePe MyPeSePe is offline
 
Join Date: Sep 2011
Location: Phonesfera
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My footer does not work with this hack. Why?
Reply With Quote
  #51  
Old 11-09-2011, 03:29 PM
mikez006 mikez006 is offline
 
Join Date: Mar 2008
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A username search feature would be great for this or showing the "ban reason" in the profile. Out ban list has over 100 pages and it's takes too long to find the user on the list using only alphabetical search.
Reply With Quote
Reply


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:47 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.06938 seconds
  • Memory Usage 2,354KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_php
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • 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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete