vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Why isn't this user banned? (https://vborg.vbsupport.ru/showthread.php?t=273187)

kkinsey 11-01-2011 06:35 PM

Why isn't this user banned?
 
Doing an import from another platform. On the other platform, this user isn't allowed to post. Wondering if anyone knows why it's not true in vB, also?

My current guess is that it has to do with the groupid fields, but I thought maybe a guru was in da house :D
Code:

mysql> select * from userban where userid=1280;
+--------+-------------+----------------+-------------+-------------+---------+------------+------------+-------------------------------------------+
| userid | usergroupid | displaygroupid | usertitle  | customtitle | adminid | bandate    | liftdate  | reason                                    |
+--------+-------------+----------------+-------------+-------------+---------+------------+------------+-------------------------------------------+
|  1280 |          0 |              0 | Banned user |          0 |      0 | 1262325600 | 2114402400 | Banned by Admin prior to vBulletin switch |
+--------+-------------+----------------+-------------+-------------+---------+------------+------------+-------------------------------------------+

Thanks bunches!

Lynne 11-01-2011 06:37 PM

That table is for users who are banned via the Ban User option. It is not a list of all the users that were just moved into the Banned Usergroup.

kkinsey 11-01-2011 06:42 PM

For the archives: usergroupid=8 (probably optional; this is the default 'banned users' group). adminid=1, and that should probably do it. liftdate=0 for "never lift this ban".

Never hurts to try it in the AdminCP ;)

--------------- Added [DATE]1320172982[/DATE] at [TIME]1320172982[/TIME] ---------------

Thanks Lynne. :)


All times are GMT. The time now is 09:22 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.01367 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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