Helpful Information
 
 
Category: Advanced Warning System (AWS)
3.30 upgrade problems

I did the upgrade, everything works as designed. Got only two minor problems in the options that cannot update.

1-Use Warning Type Description does not update. Stays on 'no'
2-Same thing for Who will be your Automatic Warner? Sticks to '1' no matter what...

1. this is because this does not exist as a $vboptions, it is merely a setting in the ACP file (which in its own, is useless)
2. That is because of this piece of code in the admin_warn:print_input_row("Who will be your Automatic Warner?<dfn>Enter the User ID of the member who will appear as the warner, in the automatically-issued warnings. If the option above (Use Automatic Warnings) is set to 'Yes', this cannot be zero. If you leave that empty, then it will automatically be set to userid 1 (admin). If you are using a Hidden Warner (see below), you may use the same userid here and there, but it is up to you to decide.</dfn>", '', $vboptions['warn_automatic_warner']);When it should be print_input_row("Who will be your Automatic Warner?<dfn>Enter the User ID of the member who will appear as the warner, in the automatically-issued warnings. If the option above (Use Automatic Warnings) is set to 'Yes', this cannot be zero. If you leave that empty, then it will automatically be set to userid 1 (admin). If you are using a Hidden Warner (see below), you may use the same userid here and there, but it is up to you to decide.</dfn>", 'automatic_warner', $vboptions['warn_automatic_warner']);

Thank you for number 2

Thank you for number 2
So no major problems? Hmm not bad.

Anyone knows how to fix the first one? I think I'll wait to upgrade until all the bugs are fixed.

Please download the zip again. Upload files warn_install_setting.php and admin_warn.php into your admincp directory. Point your browser to:

http://www.yoursite.com/admincp/warn_install_setting.php

Select to add settings and click the button. That will add the missing setting. Then use your admincp to properly set up your options.

Sorry for missing these out.

Rgds










privacy (GDPR)