vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

NFLfbJunkie 07-23-2007 02:58 AM

Okay I think I fixed my above problem, but now have another one. My test registered user, even with the aws permission set to allow user to view warnings, I am getting that the user is restricted from doing so.

Delphiprogrammi 07-23-2007 09:13 AM

Quote:

Originally Posted by SilverBoy (Post 1298657)
I solved one problem
Code:

if($_GET['do'] != 'viewmywarnings')
{
    if(!can_moderate())
    {
        print_no_permission();
    }
}

again you have capital letters missed ;)

yes indeed that will throw up a standard vBulletin permission denied page it should be

PHP Code:

if($_GET['do'] != 'ViewMyWarnings')
{
    if(!
can_moderate())
    {
        
print_no_permission();
    }


Junkie this will also fix your problem it's in Warn.php starting line 81

NFLfbJunkie 07-23-2007 01:37 PM

Made the changes and everything now works. Thanks.

Delphiprogrammi 07-23-2007 06:45 PM

Quote:

Originally Posted by SilverBoy (Post 1298681)
I tried removing warning and redirect works ok.

now I can say the problem of seeing other users warnings exist because the user is the starter of the thread and get warning in it !!! (but only in the first page of the thread)

another point :p

when give a user warning we missed warning level in "Current warnings info:" I think it is important to be there.

again for errors when give a warning with pm, the old version of this hack was ignored pm lenght and if the user can read pm :)

again my tests are showing to me that the system works as intended.If you issue a warning to the member "testmember" only "testmember" and mods (and up) can see the details about the warning.It is possible warning points and such (the counters) are visible but then you have set the viewingoption to all

I can add an option to set an emailadress that will show up in emails send out by the system this way you will not reveal personal email adresses but all your mods will have toi have access to this mailbox

SilverBoy 07-23-2007 06:52 PM

iam sure its set to mgm :)

Bellardia 07-25-2007 04:38 PM

There is a glitch in the AWS options.

The number of warnings before ban will not change, it stays at 10. No matter how many times I save it, it changes back to 10.

Delphiprogrammi 07-25-2007 09:22 PM

Quote:

Originally Posted by Bellardia (Post 1301343)
There is a glitch in the AWS options.

The number of warnings before ban will not change, it stays at 10. No matter how many times I save it, it changes back to 10.

hmmz that is working fine in here will do some tests through

EdQ 07-27-2007 07:52 PM

Quote:

Originally Posted by sv1cec (Post 1288906)
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

Quote:

I tried not maintaining the historical data. The warnings drop of when they mature (which is what I want) But now the bans drop off when the ban ends. Not when they mature.
Is there a option for this?

Delphiprogrammi 07-27-2007 09:25 PM

Quote:

Originally Posted by EdQ (Post 1303346)
Is there a option for this?

Bans maturity periodEnter the number of days, a ban remains in a member's account. If set to '0', then the bans remain in the members accounts for ever. If set to a different number, a cron job will reduce the number of bans in a member's account by one, after so many days pass, from the day that ban was applied.
Attention: This does not mean that the user is unbanned. If you have a banning period of 7 days and you have set the bans maturity period to 5 days, the ban will be removed from the user's account after 5 days, but he will still be banned for another 2 days. In a production system, this option should always be much larger than the number of days a member is banned, when he reaches the ban limit.
This option obviously applies only to non-permanent bans.

admincp => Advanced Warning System => Manage Warning Options => Banning Options => Ban Maturity Period

EdQ 07-27-2007 09:43 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1303422)
Bans maturity periodEnter the number of days, a ban remains in a member's account. If set to '0', then the bans remain in the members accounts for ever. If set to a different number, a cron job will reduce the number of bans in a member's account by one, after so many days pass, from the day that ban was applied.
Attention: This does not mean that the user is unbanned. If you have a banning period of 7 days and you have set the bans maturity period to 5 days, the ban will be removed from the user's account after 5 days, but he will still be banned for another 2 days. In a production system, this option should always be much larger than the number of days a member is banned, when he reaches the ban limit.
This option obviously applies only to non-permanent bans.

admincp => Advanced Warning System => Manage Warning Options => Banning Options => Ban Maturity Period


I understand that, but does it matter if I use historical data?

I prefer not to so the warnings will come off when they mature. It seems when I use historical data, warnings are not removed when they mature. Just the warning level.


I am not sure if I am getting my point across.

Using historical data.
Warning Level is removed when matured
Warning is never removed (Not what I want)
Warning Bans stay until matured.

Not using historical data.
Warning Level is removed when matured
Warning is removed when matured
Warning Bans are removed when the ban ends. (Not what I want)

What I would like to see if either the warning or ban matures. It drops off the users account.

SilverBoy 07-28-2007 02:23 AM

Hi again

when I viewed a warnings of a user I can't figure the diference between warnings and alerts because they mixed in the report !!

How I can make difference betwen them when display the report?

Delphiprogrammi 07-28-2007 02:47 PM

Quote:

Originally Posted by EdQ (Post 1303436)
I understand that, but does it matter if I use historical data?

I prefer not to so the warnings will come off when they mature. It seems when I use historical data, warnings are not removed when they mature. Just the warning level.


I am not sure if I am getting my point across.

Using historical data.
Warning Level is removed when matured
Warning is never removed (Not what I want)
Warning Bans stay until matured.

Not using historical data.
Warning Level is removed when matured
Warning is removed when matured
Warning Bans are removed when the ban ends. (Not what I want)

What I would like to see if either the warning or ban matures. It drops off the users account.

set ban maturity to 0then the bans stay in the members account forever that is not ideal but *close* to what you want

EdQ 07-28-2007 07:17 PM

OK, so by using no historical data. Bans will stay in the members account forever when setting maturity to zero?
I can work with that.

Bellardia 07-29-2007 05:52 PM

I still can't change Warning Limit to any other number besides 10, if there another way to change this without fixing the glitch? I really need it fixed asap. =\

If I reinstalled would it flush all old warnings?

Delphiprogrammi 07-29-2007 07:58 PM

Quote:

Originally Posted by Bellardia (Post 1304752)
I still can't change Warning Limit to any other number besides 10, if there another way to change this without fixing the glitch? I really need it fixed asap. =\

If I reinstalled would it flush all old warnings?

try to run this

[SQL]
UPDATE setting SET value='the_number_you_want' WHERE varname='warn_warnings_before_banned';
[/SQL]

if you use a table prefix you must add it accordingly that will be the most "fast" way to get it the way you want

SilverBoy 07-30-2007 12:24 AM

I get strange problem, I have user gets warning's for his bad posts, and he get baned for that, but one of moderators give him another warning for another post, after this he get back and the baning is lefted !!

this happens 3 times with 3 members !! (I have alot of bad guys in my forum :D)

EdQ 07-30-2007 11:26 AM

I noticed that the kill warning cron job isn't running. I manually run it, but no warnings are removed. There are no errors in the log. And it doesn't say done when I run it.

Delphiprogrammi 07-30-2007 11:49 AM

Quote:

Originally Posted by SilverBoy (Post 1304976)
I get strange problem, I have user gets warning's for his bad posts, and he get baned for that, but one of moderators give him another warning for another post, after this he get back and the baning is lefted !!

this happens 3 times with 3 members !! (I have alot of bad guys in my forum :D)

hmmz that should not happen checking

Delphiprogrammi 07-30-2007 11:50 AM

Quote:

Originally Posted by EdQ (Post 1305253)
I noticed that the kill warning cron job isn't running. I manually run it, but no warnings are removed. There are no errors in the log. And it doesn't say done when I run it.

also checking it should say "done"

EdQ 07-30-2007 12:50 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1305267)
also checking it should say "done"

It doesn't. Not sure what to check

tureby 07-31-2007 08:26 AM

Can't make a "non-post related" warning, I'll get this warning. Running 3.6.7

An error has occured, the following message has been left below:
You do not have permissions to issue non post related warnings

Delphiprogrammi 07-31-2007 11:01 AM

Quote:

Originally Posted by tureby (Post 1306003)
Can't make a "non-post related" warning, I'll get this warning. Running 3.6.7

An error has occured, the following message has been left below:
You do not have permissions to issue non post related warnings

you did not follow instructions .. did you rebuild your bitfields and set the usergroups permissions after you installed ? if not that's what you need to do.Rebuilding bitfields can be done in the admincp by going to index.php?do=buildbitfields then usergroups => edit and set the permissions for each group you have for admins you might wanna set that permission to yes :D

Delphiprogrammi 07-31-2007 11:04 AM

Quote:

Originally Posted by SilverBoy (Post 1304976)
I get strange problem, I have user gets warning's for his bad posts, and he get baned for that, but one of moderators give him another warning for another post, after this he get back and the baning is lefted !!

this happens 3 times with 3 members !! (I have alot of bad guys in my forum :D)

No if you warn a member that already has a warning which caused a ban his warning level is just increased i whas still unable to log in (got the banned message) probably your naughty user is bypassing his ban with proxys ?

Delphiprogrammi 07-31-2007 11:08 AM

Quote:

Originally Posted by EdQ (Post 1305305)
It doesn't. Not sure what to check

admincp => scheduled tasks => scheduled tasks manager it does run fine in here but i have the Maintain historical records option set to enabled

tureby 07-31-2007 11:55 AM

Thx Delphi...Didn't see that one....:)

SilverBoy 07-31-2007 01:02 PM

How they can do this??

anywat iam sure from this issue, and i was warning user until he get banned (temp ban not permently) and he was not online anyway, after that I found another bad post from him and give hime a warning for it, when I checked back his profile I found him not banned !!, Iam sure before 2 minutes he was banned !!

EdQ 07-31-2007 01:56 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1306101)
admincp => scheduled tasks => scheduled tasks manager it does run fine in here but i have the Maintain historical records option set to enabled

Thats the first place I checked. I don't see anything wrong. I enabled "Maintain historical records" then tried it again with no luck.

It was working up until 2 days ago. I hope version 3.6.8 didn't break it.

SilverBoy 07-31-2007 11:22 PM

I have more strange issue, I have user get permently banned, because he get aperment ban warning, after one moderator gave him another warning, he moved from perment banned user group to temperaroy banned user group !!

EdQ 08-01-2007 04:37 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1306101)
admincp => scheduled tasks => scheduled tasks manager it does run fine in here but i have the Maintain historical records option set to enabled

I also have warnings that have matured but didn't get removed when I turned off "Maintain historical records". Before that I also changed he "Warning maturity" to a shorter time frame

Bellardia 08-01-2007 04:45 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1304813)
try to run this

[SQL]
UPDATE setting SET value='the_number_you_want' WHERE varname='warn_warnings_before_banned';
[/SQL]

if you use a table prefix you must add it accordingly that will be the most "fast" way to get it the way you want

How do I add the table prefix? My prefix is vb_ =\

SuperTaz 08-01-2007 04:55 AM

I needed this one. Thanks. Installed.

Delphiprogrammi 08-01-2007 07:56 AM

Quote:

Originally Posted by Bellardia (Post 1306741)
How do I add the table prefix? My prefix is vb_ =\

[SQL]
UPDATE vb_setting SET value='number' WHERE varname='warn_warnings_before_banned';
[/SQL]

Delphiprogrammi 08-01-2007 08:17 AM

Quote:

Originally Posted by SilverBoy (Post 1306603)
I have more strange issue, I have user get permently banned, because he get aperment ban warning, after one moderator gave him another warning, he moved from perment banned user group to temperaroy banned user group !!

Yes that's true i can confirm that and that should not happen it's a bug

EdQ 08-01-2007 02:13 PM

Is there anything I can run manually so I can remove all matured warnings? I have members complaining that their warnings are still on their account.

abo sfyan 08-01-2007 07:13 PM

Hellw
ـــــــــــــــــــــــــ ــــــــــ
Use automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMsUse automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMs
ـــــــــــــــــــــــــ ـــــــــــــــــــــــــ ــ
That's right
and it band user very good
ـــــــــــــــــــــــــ ـــــــــــــــــــــــــ ـــــــ
but when user use censored words in their posts
the Advanced Warning System
no do any thing
user stay in Registered Users
while he propose to transfer to Banned Users
ـــــــــــــــــــــــــ ـــــــــــــــــــــــــ ـــــــــــــ
I use .vb 3.6.8
And use the Advanced Warning System first time
And I proceed the options well

Delphiprogrammi 08-02-2007 04:34 PM

Quote:

Originally Posted by EdQ (Post 1307119)
Is there anything I can run manually so I can remove all matured warnings? I have members complaining that their warnings are still on their account.

Yes the warning log contains a "complete removal" option click it ...

Delphiprogrammi 08-02-2007 04:37 PM

Quote:

Originally Posted by abo sfyan (Post 1307428)
Hellw
ـــــــــــــــــــــــــــــــــــ
Use automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMsUse automatic warnings from private messages?If set to 'Yes', the system will automatically issue warnings to users who are caught to use censored words in their PMs
ــــــــــــــــــــــــــــــــــــــــــــــــــ ــ
That's right
and it band user very good
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــــ
but when user use censored words in their posts
the Advanced Warning System
no do any thing
user stay in Registered Users
while he propose to transfer to Banned Users
ــــــــــــــــــــــــــــــــــــــــــــــــــ ـــــــــــــ
I use .vb 3.6.8
And use the Advanced Warning System first time
And I proceed the options well

To use automatic warnings prom private messages

1) a warning type called 'ObsceneWords'
2) the "post related warning" must be set to auto
3)you must have some censored words in vbulletin options
4)last but not least you must enable this feature

EdQ 08-02-2007 05:04 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1308186)
Yes the warning log contains a "complete removal" option click it ...

I was hoping for a faster way without doing it one by one.

Is there any other info I can give you so I can make the cron job run again?

EdQ 08-02-2007 05:16 PM

I found an old version of kill_warns.php and it works now.

Delphiprogrammi 08-02-2007 05:50 PM

Quote:

Originally Posted by EdQ (Post 1308230)
I found an old version of kill_warns.php and it works now.

oooh well i would prefer the automatic way to


All times are GMT. The time now is 04:47 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.01780 seconds
  • Memory Usage 1,857KB
  • 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)bbcode_php_printable
  • (24)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
  • (40)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