vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Terry's Show Banned Users List Hack (https://vborg.vbsupport.ru/showthread.php?t=70293)

frankenberrie 05-07-2005 03:34 PM

I am also having issues where users that I unbanned still show on the list.. ANy ideas?

HeloHi 05-12-2005 06:30 PM

Quote:

Originally Posted by djjeffa
ok I found this
Find:
Code:

$getbanned = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "banlist ORDER BY banid DESC LIMIT 30");
replace with:
Code:

$getbanned = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "banlist ORDER BY banid DESC LIMIT 50");
but i would like to find a way to make pages.

I would like to see this hack make pages as well, to keep a public record. After the limit is reached for it to create another page. :cool:

I am installing this though, just what I was looking for, thanks wrongful!

edit: Is there any way of making the style this shows up in anything but default? Where might I change that?

bigcurt 05-16-2005 10:03 PM

Please wrongful help us make pages :) :).

the_red_chimp 07-06-2005 08:11 PM

Code:

Database error in vBulletin 3.0.7:

Invalid SQL: CREATE TABLE banlist (
        banid int(10) unsigned NOT NULL DEFAULT '' auto_increment,
        userid smallint(5) NOT NULL DEFAULT '',
        username varchar(50) NOT NULL DEFAULT '',
        dateline int(10) unsigned NOT NULL DEFAULT '',
        bannedpost varchar(255) NOT NULL DEFAULT '',
        reason varchar(255) NOT NULL DEFAULT '',
        sentbywhom varchar(50) NOT NULL DEFAULT '',
        howlong int(10) unsigned NOT NULL DEFAULT '',
        INDEX (banid, userid)
                )
       
mysql error: Invalid default value for 'banid'

mysql error number: 1067

Date: Wednesday 06th of July 2005 02:10:21 PM
Script: website
Referer:
Username: Chimp
IP Address: 66.137.177.2

:(

Kirk Y 07-06-2005 10:17 PM

Any way to make this show the users that are already banned? If it's supposed to be doing this, then it's not doing it for me.

Marco van Herwaarden 07-07-2005 09:41 AM

Change:
[sql] banid int(10) unsigned NOT NULL DEFAULT '' auto_increment,
[/sql]
into:
[sql] banid int(10) unsigned NOT NULL auto_increment,
[/sql]
You can not have a default value for an auto-increment field in MySQL 4.1 and higher.

Nuckolsc.com 07-21-2005 10:12 PM

Sorry to bring this thread back up, but I have a question. You know how it only store the lastest 30 people banned.. Is there a way to up that #? When I hit control + f in the code I found this: "banlist ORDER BY banid DESC LIMIT 30"); Could I change that to like 100 or something and still ahve it function right?

Marco van Herwaarden 07-22-2005 05:00 AM

Probably yes.

GoTTi 07-28-2005 09:10 AM

any1 figure out a way that the name is removed from the list after the user serves out his sentence?

MB Dreamz 07-31-2005 03:26 AM

Quote:

Originally Posted by Da_GoTTi
any1 figure out a way that the name is removed from the list after the user serves out his sentence?

I need this too! Thanks.


All times are GMT. The time now is 02:33 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.02670 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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