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
  #12  
Old 11-19-2009, 05:02 PM
garretbyrne garretbyrne is offline
 
Join Date: Nov 2009
Location: Ireland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi I've looked into the settings and there all fine I've also tried to change settings but still makes no difference...
Reply With Quote
  #13  
Old 11-19-2009, 05:22 PM
Delilahs Delilahs is offline
 
Join Date: Mar 2009
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look in the 'quick links' on the navbar, when I installed it, it dropped it into there.
Reply With Quote
  #14  
Old 11-19-2009, 06:03 PM
garretbyrne garretbyrne is offline
 
Join Date: Nov 2009
Location: Ireland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delilahs View Post
Look in the 'quick links' on the navbar, when I installed it, it dropped it into there.
Yea that sorted it turns out i was pointing it to the old one I had from 3.8, the link was in my sig.. now changed and working perfectly..

Cheers and sorry for that...
Reply With Quote
  #15  
Old 11-20-2009, 11:47 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to 1.1.1:

Quote:
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)
Reply With Quote
  #16  
Old 11-20-2009, 12:27 PM
SİMAR's Avatar
SİMAR SİMAR is offline
 
Join Date: Jun 2009
Location: Germany~Offenburg
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #17  
Old 01-02-2010, 02:59 AM
LuckyNeo's Avatar
LuckyNeo LuckyNeo is offline
 
Join Date: Dec 2009
Location: Kiev, Ukraine
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, very much! This is usefull hack!
Reply With Quote
  #18  
Old 02-13-2010, 10:55 PM
ndut ndut is offline
 
Join Date: Sep 2007
Location: Indonesia
Posts: 335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed..
Reply With Quote
  #19  
Old 04-06-2010, 04:00 PM
Konkere Konkere is offline
 
Join Date: Sep 2004
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack!
But sorting is not working correctly. Error in the template bannedusers.
Solution
Find in the template bannedusers
PHP Code:
        <th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=username&amp;mode={vb:raw mode}">{vb:rawphrase username}</a></td>
        <
th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedby&amp;mode={vb:raw mode}">{vb:rawphrase banned_by}</a></td>
        <
th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedon&amp;mode={vb:raw mode}">{vb:rawphrase banned_on}</a></td>
        <
th class="blocksubhead">{vb:rawphrase ban_period}</td>
        <
th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=banlift&amp;mode={vb:raw mode}">{vb:rawphrase ban_will_be_lifted_on}</a></td
And replaced by
PHP Code:
        <th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=username&amp;do={vb:raw mode}">{vb:rawphrase username}</a></td>
        <
th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedby&amp;do={vb:raw mode}">{vb:rawphrase banned_by}</a></td>
        <
th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=bannedon&amp;do={vb:raw mode}">{vb:rawphrase banned_on}</a></td>
        <
th class="blocksubhead">{vb:rawphrase ban_period}</td>
        <
th class="blocksubhead"><a href="banned.php?{vb:raw session.sessionurl}sort=banlift&amp;do={vb:raw mode}">{vb:rawphrase ban_will_be_lifted_on}</a></td
Reply With Quote
  #20  
Old 06-10-2010, 03:58 PM
SnapOff Racing SnapOff Racing is offline
 
Join Date: Apr 2006
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i change the color of the background on the php? it looks real bad on my skin
Reply With Quote
  #21  
Old 06-27-2010, 01:52 AM
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Location: Kentucky
Posts: 792
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 01:20 AM.


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.05894 seconds
  • Memory Usage 2,366KB
  • 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
  • (2)bbcode_php
  • (2)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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • 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