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 - Viewable Ban List (https://vborg.vbsupport.ru/showthread.php?t=204390)

BamaStangGuy 02-05-2009 10:00 PM

Viewable Ban List
 
1 Attachment(s)
Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority. I will do my best to support this modification but plan no additional features at this time.

This is also my first modification released here. I appreciate any constructive criticism.

This product will show you a list of every user you have banned and allow you to define who can view the list via usergroups.

You can see this live here: http://www.mustangevolution.com/foru...php?do=banlist

History:
v1.0.0
- Initial Release
v1.0.1
- Added auto link for Community Links.
v1.0.2
- Fixed Missing Thread Prefixes
v1.0.3
- Added more options for auto displaying link in navbar
v1.0.4
- Fixed Missing Phrases
- Print no permission page if not allowed to view
v.1.0.5
- Fixed Navbar Links

BamaStangGuy 02-05-2009 10:49 PM

This modification *should* work with 3.6+ but it has only been tested on 3.8.

Brandon Sheley 02-05-2009 10:55 PM

nice mod Brent :)

BamaStangGuy 02-05-2009 10:58 PM

Quote:

Originally Posted by Loco.M (Post 1735617)
nice mod Brent :)

Thanks Brandon :)

Lone Gunman 02-05-2009 11:20 PM

thanks. ill give it a try. look forward to seeing more of your work as well.

BamaStangGuy 02-05-2009 11:23 PM

Quote:

Originally Posted by Lone Gunman (Post 1735631)
thanks. ill give it a try. look forward to seeing more of your work as well.

Please let me know how it works for you and what version of vBulletin you are using.

Huy Ho?ng 02-05-2009 11:26 PM

Very good.
Mark Install

Lone Gunman 02-06-2009 12:22 AM

works lovely. 3.8.1. nice and simple.... easy to add on. keep up the good work.

installed....
nom-motm

(love south park)

jluerken 02-06-2009 05:28 AM

I am getting a db error when trying to use this
Code:

Datenbankfehler in vBulletin 3.8.1:

Invalid SQL:
SELECT u.username AS 'banned', c.username AS 'admin', u.userid AS bannedid, b.adminid AS adminid, bandate, liftdate, reason FROM userban b
                LEFT OUTER JOIN user u ON u.userid = b.userid
                LEFT OUTER JOIN user c ON c.userid = b.adminid
                ORDER BY bandate DESC
                LIMIT 0, 25;

MySQL-Fehler  : Table 're_forum.userban' doesn't exist


BamaStangGuy 02-06-2009 05:32 AM

Getting a fix uploaded now. I forgot to add the table prefixes for one of the queries.

BamaStangGuy 02-06-2009 05:37 AM

Updated. Please download the new version and upload it. Make sure you check Allow Overwrite.

Nadavy 02-06-2009 06:13 AM

Great mod. Is there any way to access it besides through community tab and besides through entering the URL?

BamaStangGuy 02-06-2009 06:31 AM

Quote:

Originally Posted by Nadavy (Post 1735828)
Great mod. Is there any way to access it besides through community tab and besides through entering the URL?

You can manually add the link wherever you want. If I get sometime I'll include an option to add it to Quick Links. Probably won't be able to get to that till next week though.

BlackJacket 02-06-2009 11:31 AM

Checking this out now. :) I needed a mod like this.

tafreeh 02-06-2009 12:23 PM

can you add one more option there like "claim it" or send appology or something like that.. where user get to email Admin for a request to unbanned him.... or apologize......?

djbaxter 02-06-2009 02:05 PM

How is this different from https://vborg.vbsupport.ru/misc.php?...ned_member_log

Lone Gunman 02-06-2009 04:09 PM

having a couple different options on where to automatically place the link would be nice.... for those of us not smart enough to do all that manually. :)

BamaStangGuy 02-06-2009 05:52 PM

Quote:

Originally Posted by djbaxter (Post 1736113)

No extra files need to be uploaded. Mine is a simple product upload.

f4vn 02-06-2009 07:12 PM

I can`t set Banned users to view Ban List page. Can you help me show it for Banned users ?

Lone Gunman 02-06-2009 10:32 PM

why would you want to?

Nadavy 02-06-2009 11:47 PM

Yes. It would be very nice if you made it appear in quick links or something for whoever is allowed to view it, because I have a custom community thing, and so it was not added there. It would make it a lot easier for us non-coders :P! Thanks :D

BamaStangGuy 02-07-2009 05:44 AM

Quote:

Originally Posted by Nadavy (Post 1736612)
Yes. It would be very nice if you made it appear in quick links or something for whoever is allowed to view it, because I have a custom community thing, and so it was not added there. It would make it a lot easier for us non-coders :P! Thanks :D

I'll add it into the next release. Sometime next week.

Expat 02-07-2009 01:34 PM

Spammers want to have their names in a searchable spot on your forum and could care less if they are banned. The best thing to do is to purge them from your DB and ban the IP at server level. While the intent of this hack is good, it is a bad idea.

That said, if there were a control where admin could choose which banned users are displayed, it would be a fine hack.

My 2 cents.

Mecho 02-07-2009 06:45 PM

Quote:

Originally Posted by BamaStangGuy (Post 1735611)
This modification *should* work with 3.6+ but it has only been tested on 3.8.

nice one :up: . i will install it for sure .

just wondering if u can make this list Search Able and also let admins decide which userids or usergroups can see it .

that would be great .

Thanks

BamaStangGuy 02-08-2009 06:13 PM

Quote:

Originally Posted by Expat (Post 1737015)
Spammers want to have their names in a searchable spot on your forum and could care less if they are banned. The best thing to do is to purge them from your DB and ban the IP at server level. While the intent of this hack is good, it is a bad idea.

That said, if there were a control where admin could choose which banned users are displayed, it would be a fine hack.

My 2 cents.

You can always robot.txt the url out or not give access to it for guests.

BamaStangGuy 02-12-2009 03:34 AM

I've started working on a few of the requests here as well as adding a few other additions to it. I'll release an update to address more of the easier ones soon.

BamaStangGuy 02-12-2009 03:34 AM

Quote:

Originally Posted by Mecho (Post 1737244)
nice one :up: . i will install it for sure .

just wondering if u can make this list Search Able and also let admins decide which userids or usergroups can see it .

that would be great .

Thanks

You can already decide which ids can and can't see it via the Usergroups field in the options area.

jluerken 02-18-2009 08:46 AM

Hi,

I found a small bug in the following plugin: Plug-in Viewable Ban List (3)

HTML Code:

if ($vbulletin->options['banlist_template_edit']) {
$template_hook['navbar_community_menu_end'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">Ban List</a></td>';
}

should be:

HTML Code:

if ($vbulletin->options['banlist_template_edit']) {
$template_hook['navbar_community_menu_end'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">PHRASE</a></td>';
}

For all multi language systems PHRASE should be a vbulletin phrase like the product phase "banlist"

You can change the content of the plugin to:

HTML Code:

if ($vbulletin->options['banlist_template_edit']) {
$template_hook['navbar_community_menu_end'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">'.$vbphrase['banlist'].'</a></td>';
}

to make it working

jluerken 02-18-2009 10:07 AM

For version 1.0.3 the Plug-in Viewable Ban List (3) should look like this:

PHP Code:

if ($vbulletin->options['banlist_template_edit_enable']) 
{
    if (
$vbulletin->options['banlist_template_edit'] == 1
    { 
        
$template_hook['navbar_community_menu_end'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">'.$vbphrase['banlist'].'</a></td>';
    }

    if (
$vbulletin->options['banlist_template_edit'] == 2
    { 
        
$template_hook['navbar_quick_links_menu_pos1'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">'.$vbphrase['banlist'].'</a></td>';
    }

    if (
$vbulletin->options['banlist_template_edit'] == 3
    { 
        
$template_hook['navbar_buttons_left'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">'.$vbphrase['banlist'].'</a></td>';
    }

    if (
$vbulletin->options['banlist_template_edit'] == 4
    { 
        
$template_hook['navbar_buttons_right'] .= '<td class="vbmenu_option"><a href="misc.php?do=banlist">'.$vbphrase['banlist'].'</a></td>';
    }




BamaStangGuy 02-18-2009 10:38 AM

Thanks. I will be releasing an update shortly to address this issue and a few more.

BamaStangGuy 02-18-2009 01:15 PM

Uploaded new files.

820Media 02-20-2009 02:13 PM

Great Mod!

ctimes 03-04-2009 06:15 AM

Silly question, how would one make the link in my navbar the same color as the rest of the links so it blends in better?

BamaStangGuy 04-07-2009 01:01 AM

Quote:

Originally Posted by ctimes (Post 1759856)
Silly question, how would one make the link in my navbar the same color as the rest of the links so it blends in better?

Sorry about that. I just noticed what I did. Updated package has been uploaded.

ctimes 04-07-2009 09:14 PM

Quote:

Originally Posted by BamaStangGuy (Post 1785457)
Sorry about that. I just noticed what I did. Updated package has been uploaded.

Thank you very much! Greatly appreciated

businessmeet 02-17-2010 12:07 PM

I love the idea of this plugin. However, I'd love if someone made it to be based on usergroup(s) too. Example; If running a freelance forum, rather then displaying the "banned users", it would display all users that were placed in the "Scammer" usergroup. And then list all the scammers of the community on that specified page. Kind of like the "Wall of Shame", so others see who to watch out for when making sales / transactions within a freelance community. :)

profanitytalker 03-10-2010 02:09 AM

Wow. Thank you for this. It really looks great.

Erica1977 03-10-2010 03:04 AM

Nice mod anyway for this to work on portal cause if your in your portal vBadvanced and if you click banlist there takes you to a blank page won't show nothing there only works on forum.

ceedee 09-23-2012 02:15 AM

n1 thanks :D


All times are GMT. The time now is 05:52 PM.

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.01420 seconds
  • Memory Usage 1,825KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete