Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Problems with unbanning users Details »»
Problems with unbanning users
Version: , by Vierie Vierie is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-21-2005 Last Update: Never Installs: 0
 
No support by the author.

Hi,

I've got some trouble with the aws. My first ban is supposed to be after 5 warnings and for 3 days. But instead of the ban being lifted after 3 days, my users are automatically transfered to permanently banned. If I try to unban somebody myself they are also moved to permanently banned.
So far I solved that by changing the use group manually but now the aws doesn't seem to know that the users were already banned. So people who had 5 points and get a sixth one are banned. And I suppose people who reach 10 points will be banned only for 3 days instead of 6, but so far I don't have users who reached that point.

What did I do wrong and how can I solve this?

Thanks
Vierie

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-22-2005, 06:03 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I remember correctly (and this is written, after Greece win in the Eurovision Song Contest, which we dully celebrated with some wine), AWS does not handle the unbanning of banned members. This is done by the standard vB software.

A question: Have you set the Warning Options properly, especially the User Group Options? Go to your AdminCP and find the Warning System menu. Expand that, and check your Warning Options. What is the Restore Usergroup set to?

As for the second issue, users get unbanned (or should get unbanned) when the banning period expires, but they do not loose the points they have accumulated, until each of the warnings they got, matures. Look at the following example:

Warning Point Limit : 5 points
Ban Period : 10 days

1st warning a user gets: 2 points, maturity period 15 days
2nd warning a user gets: 3 points, maturity period 30 days

The user is banned as soon as he receives the second warning. After ten days, the user is unbanned, but he still has 5 points. If he receives another one he gets banned instantly.

Suppose that he didn't receive another warning. After 15 days, from the date he received his first warning, that warning is matured, so the 2 points are now removed from the user's account. If he now receives a warning for 1 point, he has 4 points, but does not get banned.

One month after the second warning was issued, the 3 points are removed from the user's account. Etc.

I hope this clears things up.

Let me know how you are going.
  #3  
Old 05-23-2005, 04:29 PM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is set to registered users (group 2).

I know that they don't loose points.

The problem is:
We had three people who got the limit of 5 points for the first ban, which should have been for 3 days. After three days, instead of beeing unbanned, they were move to the permanently banned group. No mod or admin had anything to do with that.
We had to move the users manually to the registered users group. After this every warning any of them was given automatically banned them for another three days.
But normally they shouldn't be banned till they got 10 points and than for six days, not three.
It takes 90 days for the warnings to be removed. None of them was anywhere near that, so it doesn't have anything to do with that.
  #4  
Old 05-23-2005, 05:10 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your second problem is not a problem. This is the way AWS works. If the warnings are not removed for 90 days, that means that even after they get unbanned (in your case, you moved the users to the registered users), they still have the points they had when they got banned (5 points in your case).

The first warning they get after they get unbanned, makes their warning points total, larger than the ban limit again, so they get banned again. And there is only one warning points limit. The warning points limit does not get doubled, if you use incremental banning, only the banning period gets doubled.

As far as the first problem is concerned, tell me what the following options are set for:

Ban Duration
Warning Points Limit
Warnings Number Limit
Use incremental banning periods?
Number of bans, before permanent banned?
Banned Usergroup
Permanent Ban Usergroup
Restore Usergroup

I believe that the reason your members were banned, is because they received another warning right after they get unbanned. To test this, create a test user and issue to him enough warnings to get him banned. As soon as he exceeds the ban limit, check in which user group he belongs. From then on, and until the ban duration passes, do not issue another warning to that member. After the ban duration passes, check to see in which user group the test user now is.

Rgds
  #5  
Old 05-24-2005, 06:13 AM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ban Duration 3
Warning Points Limit 5
Warnings Number Limit 5
Use incremental banning periods? Yes
Number of bans, before permanent banned? 2
Banned Usergroup banned Users ID:8
Permanent Ban Usergroup banned Users ID:8
Restore Usergroup registered Users ID:2

Ok, thanks, seems that I had a small misunderstanding of how it works. That would explain the second mistake. (Although not, how I work around that, but that's my problem.)
  #6  
Old 05-24-2005, 06:55 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really can't see how else your problem could have occured, unless the user got another warning, as soon as he was unbanned. I checked the code and did a simulation with your settings in my site. The banned users end up in the proper usergroup and they are "temporarily" banned, as they should. Also, when a user is banned, while he is banned, even if he receives another warning, his ban status does not change, only the ban removal date is altered.

The only way they can end up being permanently banned, is (a) if they received a permanent ban warning the first time, or if they got another warning as soon as they were unbanned. Since your temp.ban limit is two (after they get banned twice, they become permanently banned), that's the only thing that I can think of.

Rgds
  #7  
Old 05-24-2005, 02:47 PM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, they didn't write anything in between. I remember looking at the banned members and there were three of them with a period of three days. The next thing I know was an icq message of one of the members, telling me that the three days were long over and asking why he wasn't unbanned. I looked again and all three people were in the permanently banned section. Without any mod doing anything.
  #8  
Old 05-24-2005, 04:57 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I know what happened. What version of AWS are you running?

Rgds
  #9  
Old 05-24-2005, 07:35 PM
Vierie Vierie is offline
 
Join Date: Apr 2005
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.4.10
  #10  
Old 05-25-2005, 05:21 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not sure what to tell you, the unbanning is not handled by AWS. It's done by the vB software. All AWS is doing, when banning the member, is to enter the predefined usergroup, in which the member has to be restored in, in the userban table record that is created, when the user gets banned. The unbanning per se, is handled by vB. Did you do the banning test I suggested?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:25 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.04509 seconds
  • Memory Usage 2,286KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete