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.


All times are GMT. The time now is 05:48 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.01904 seconds
  • Memory Usage 1,752KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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