PDA

View Full Version : Warning system options problems


Tom1234
04-25-2005, 05:58 PM
Using 3.4.6... two settings will not take.

Use a Hidden Warner? -Entered number reverts to empty.

Save copy of Alert Message in a predefined forum? - Keeps reverting back to "No".

typos in admin_warn.php when saving these values?

sv1cec
04-26-2005, 05:25 AM
Just upload the files from the new version and you'll be all set.

Rgds

Tom1234
04-26-2005, 06:36 PM
The Hidden Warner is fixed with 3.4.7.

The "Save copy of Alert Message in a predefined forum?" still keeps reverting back to "No".

sv1cec
04-26-2005, 07:05 PM
Do you have that setting in your settings table? Run this query:

SELECT * FROM ".TABLE_PREFIX."setting where varname='warn_savecopyalert'

I have tried it several times and it always saves the setting perfectly.

Rgds

Tom1234
04-26-2005, 08:05 PM
No, I don't have that one, nor do I see it in your warn_install_setting.php script.

I have warn_savecopy and warn_savecopyforum.

sv1cec
04-26-2005, 08:11 PM
Darn,

add this new setting below the others, in warn_install_setting.php:


$setting['warn_savecopyalert']['titlephrase'] = 'Save copy of Alert Message in a predefined forum?';
$setting['warn_savecopyalert']['descphrase'] = 'If set to Yes, the Alert PM or e-mail which is send to the warned member, will also be saved in a forum in your board. You may specify the forum in which the copy will be saved below.';
$setting['warn_savecopyalert']['grouptitle'] = 'warning';
$setting['warn_savecopyalert']['value'] = '';
$setting['warn_savecopyalert']['defaultvalue'] = '0';
$setting['warn_savecopyalert']['optioncode'] = 'yesno';
$setting['warn_savecopyalert']['displayorder'] = '41';


Sorry, got to go edit the zip file.

Thanks for the heads-up.