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)

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.


All times are GMT. The time now is 03:19 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.01190 seconds
  • Memory Usage 1,756KB
  • 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
  • (3)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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