vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Warning system options problems (https://vborg.vbsupport.ru/showthread.php?t=80538)

Tom1234 04-25-2005 05:58 PM

Warning system options problems
 
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:

PHP Code:

    $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.


All times are GMT. The time now is 07:17 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.00989 seconds
  • Memory Usage 1,721KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete