vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Banned Users List (https://vborg.vbsupport.ru/showthread.php?t=211019)

Eric 04-11-2009 10:00 PM

Banned Users List
 
1 Attachment(s)
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.0.2



Features flagged for future version(s):
  • Looking for suggestions



Will this work on x.x.x ??
Unless otherwise stated, this will work on all 3.8 versions. I've not tested this on anything earlier than 3.8.



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:

        $template_hook[navbar_quick_links_menu_pos3]
    • Below it, add:
      • HTML Code:

        <if condition="$vboptions['bannedusers_enabled'] AND $vboptions['bannedusers_hidefrom'] AND !is_member_of($bbuserinfo, $vbptions['bannedusers_hidefrom'])"><tr><td class="vbmenu_option"><a href="./banned.php?$session[sessionurl]">$vbphrase[bannedusers_text]</a></td></tr></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"
Specifically from 1.0.0 to 1.0.1 and later:
  • If you are using the auto template edit in 1.0.1, find and remove the following from your navbar template:

    HTML Code:

    <if condition="$vboptions[bannedusers_enabled]"><td class="vbmenu_control"><a href="./banned.php?$session[sessionurl]">$vbphrase[bannedusers_text]</a></td></if>
  • If you do not want auto template edits, replace the above code in the navbar template with:

    HTML Code:

    <if condition="$vboptions['bannedusers_enabled'] AND $vboptions['bannedusers_hidefrom'] AND !is_member_of($bbuserinfo, $vbptions['bannedusers_hidefrom'])"><tr><td class="vbmenu_option"><a href="./banned.php?$session[sessionurl]">$vbphrase[bannedusers_text]</a></td></tr></if>



Changelog
v1.0.2 - August 20th, 2010
-- Backported some changes from the vBulletin 4 version of this mod.

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



If you use this modification, please mark as >> INSTALLED <<, TY!



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

Eric 04-12-2009 06:34 PM

~ reserved ~

Jasem 04-12-2009 07:19 PM

Nice work, thank you!

Installed

redlabour 04-12-2009 08:23 PM

This would be very dangerous for Webmasters in Europe. European Law is very restrictive about privacy Rights.

GoTTi 04-12-2009 09:24 PM

Quote:

Originally Posted by redlabour (Post 1789785)
This would be very dangerous for Webmasters in Europe. European Law is very restrictive about privacy Rights.

that made me laugh

Xeder 04-12-2009 10:54 PM

Is it possible to add an IP column?:)

Eric 04-12-2009 11:28 PM

Quote:

Originally Posted by redlabour (Post 1789785)
This would be very dangerous for Webmasters in Europe. European Law is very restrictive about privacy Rights.

Mmk, well, then all I can say is don't use it. :)

Quote:

Originally Posted by Xeder (Post 1789866)
Is it possible to add an IP column?:)

Maybe in the next version, only displayed for Admin's/Mod's

J105C 04-14-2009 08:02 AM

Quote:

Originally Posted by redlabour (Post 1789785)
This would be very dangerous for Webmasters in Europe. European Law is very restrictive about privacy Rights.

? Add a condition under your Terms of Service. Problem fixed :up:

supLaditOz 04-24-2009 09:44 PM

Thanks.

i added this on my Quick Links :D Pretty cool

ouch 04-25-2009 04:52 PM

Added and working , nice n easy.............many thanks.


All times are GMT. The time now is 07:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01487 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete