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)

Delphiprogrammi 12-22-2006 11:50 AM

Quote:

Originally Posted by mrpotatohead (Post 1143188)
Thanks for this...

...but I recevied this error when trying to install the product:

Code:

Database error in vBulletin 3.6.4:
 
Invalid SQL:
 
                INSERT INTO setting
                    (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                VALUES
                    (
                    'warn_hierarchical',
                    'warning',
                    '0',
                    '1',
                    'free',
                    'yesno',
                    2,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_automatic',
                    'warning',
                    '0',
                    '1',
                    'free',
                    'yesno',
                    3,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_automaticpm',
                    'warning',
                    '0',
                    '0',
                    'free',
                    'yesno',
                    4,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_autocomments',
                    'warning',
                    '0',
                    '0',
                    'free',
                    'yesno',
                    5,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_automatic_warner',
                    'warning',
                    '2137',
                    '1',
                    'free',
                    '',
                    6,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_warner',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    7,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_collector',
                    'warning',
                    '1',
                    '1',
                    'free',
                    '',
                    8,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_banned_limit',
                    'warning',
                    '2147483647',
                    '7',
                    'free',
                    '',
                    9,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_points_before_banned',
                    'warning',
                    '10',
                    '10',
                    'free',
                    '',
                    10,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_warnings_before_banned',
                    'warning',
                    '3',
                    '10',
                    'free',
                    '',
                    11,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_banned_usergroup_id',
                    'warning',
                    '13',
                    '8',
                    'number',
                    '',
                    12,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_protected_usergroups',
                    'warning',
                    '65717',
                    '',
                    'free',
                    '',
                    13,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_troll_usergroup_id',
                    'warning',
                    '13',
                    '9',
                    'number',
                    '',
                    14,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_restore_groupid',
                    'warning',
                    '18',
                    '2',
                    'number',
                    '',
                    15,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_incr_ban_days',
                    'warning',
                    '0',
                    '1',
                    'free',
                    'yesno',
                    16,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_max_no_bans',
                    'warning',
                    '0',
                    '3',
                    'free',
                    '',
                    17,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_bans_mature',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    18,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_viewoption',
                    'warning',
                    'All',
                    'Mgm',
                    'free',
                    '<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"All\\\" \" . iif($setting[\'value\']==\'All\',\'selected=\"selected\"\') . \">All</option>\r\n<option value=\\\"Mgm\\\" \" . iif($setting[\'value\']==\'Mgm\',\'selected=\"selected\"\') . \">Mgm</option>\r\n</select>',
                    19,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_multiple_per_post',
                    'warning',
                    '1',
                    '1',
                    'free',
                    'yesno',
                    20,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_send_em_warning',
                    'warning',
                    '1',
                    '1',
                    'free',
                    'yesno',
                    21,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_send_pm_warning',
                    'warning',
                    '1',
                    '0',
                    'free',
                    'yesno',
                    22,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_email_on_ban',
                    'warning',
                    '1',
                    '1',
                    'free',
                    'yesno',
                    23,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_historical',
                    'warning',
                    '1',
                    '1',
                    'free',
                    'yesno',
                    24,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_allowoffpost',
                    'warning',
                    '1',
                    '1',
                    'free',
                    'yesno',
                    25,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_warnings_per_page',
                    'warning',
                    '20',
                    '15',
                    'free',
                    '',
                    26,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_textbutoption',
                    'warning',
                    'Text',
                    'Text',
                    'free',
                    '<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"Text\\\" \" . iif($setting[\'value\']==\'Text\',\'selected=\"selected\"\') . \">Text</option>\r\n<option value=\\\"Buttons\\\" \" . iif($setting[\'value\']==\'Buttons\',\'selected=\"selected\"\') . \">Buttons</option>\r\n</select>',
                    26,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_modoption',
                    'warning',
                    'All',
                    'Own',
                    'free',
                    '<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"Own\\\" \" . iif($setting[\'value\']==\'Own\',\'selected=\"selected\"\') . \">Own</option>\r\n<option value=\\\"All\\\" \" . iif($setting[\'value\']==\'All\',\'selected=\"selected\"\') . \">All</option>\r\n</select>',
                    28,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_sig_thresshold',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    29,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_avatar_thresshold',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    30,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_pic_thresshold',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    31,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_pmcutoff',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    32,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_admingroups',
                    'warning',
                    '6',
                    '',
                    'free',
                    '',
                    33,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_sigpic_thresshold',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    33,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_smodgroups',
                    'warning',
                    '5',
                    '',
                    'free',
                    '',
                    34,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_aprotected_usergroups',
                    'warning',
                    '17',
                    '',
                    'free',
                    '',
                    34,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_modgroups',
                    'warning',
                    '7',
                    '',
                    'free',
                    '',
                    35,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_includepost',
                    'warning',
                    '1',
                    '0',
                    'free',
                    'yesno',
                    36,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_savecopy',
                    'warning',
                    '1',
                    '0',
                    'free',
                    'yesno',
                    37,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_savecopyalert',
                    'warning',
                    '1',
                    '0',
                    'free',
                    'yesno',
                    38,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_savecopyforum',
                    'warning',
                    '38',
                    '',
                    'free',
                    '',
                    39,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_allowalerts',
                    'warning',
                    '1',
                    '0',
                    'free',
                    'yesno',
                    40,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_allowalertscomment',
                    'warning',
                    '1',
                    '0',
                    'free',
                    'yesno',
                    41,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_alertslifetime',
                    'warning',
                    '0',
                    '0',
                    'free',
                    '',
                    42,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_allownotes',
                    'warning',
                    '1',
                    '1',
                    'free',
                    'yesno',
                    43,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    ),
    (
                    'warn_version',
                    'warning',
                    '3.4.11',
                    '3.6.1',
                    'free',
                    '',
                    44,
                    0,
                    1,
                    '',
                    0,
                    'aws'
    );
 
MySQL Error  : Duplicate entry 'warn_hierarchical' for key 1
Error Number : 1062
Date        : Thursday, December 21st 2006 @ 08:33:11 PM
Script      : http://www.bigbrotherwebsite.net/for...=productimport
Referrer    : http://www.bigbrotherwebsite.net/for...?do=productadd
IP Address  : 86.149.221.27
Username    : Big Brother
Classname    : vb_database

Any ideas?!

that's obvious you already had the system installed and tryed to install again over the existing installation.If you want to delete all settings used by the system you run

[SQL]
"DELETE FROM" . TABLE_PREFIX . "setting WHERE varname LIKE 'warn_%'";
[/SQL]

Delphiprogrammi 12-22-2006 11:51 AM

Quote:

Originally Posted by Artificial_Alex (Post 1143255)
Uhh.I need help installing this ;-;

Quote:

Status: Not Installed
why you didn't install it ?

Artificial_Alex 12-22-2006 11:53 AM

I did install it o_o;;;;;;;;;;;;;;;;;

mrpotatohead 12-22-2006 05:26 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1143365)
that's obvious you already had the system installed and tryed to install again over the existing installation.If you want to delete all settings used by the system you run

[SQL]
"DELETE FROM" . TABLE_PREFIX . "setting WHERE varname LIKE 'warn_%'";
[/SQL]

Thanks, gave that a go running that query and it came up with this:

Quote:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"DELETE FROM" . TABLE_PREFIX . "setting WHERE varname LIKE 'warn_%'"' at line 1

Guess it's easy when you know how?! I've deleted all the tables in my database with the prefix warn_ and the warnings ones etc., if that is what the query is meant to achieve... but still no luck!

The error relates to the tables that don't even exist - I had previously installed AWS on my previous server, and had moved the board recently - but stopped using AWS for a while - and now want to reinstall it...


Thanks for your help m8 btw,


- Joe

Delphiprogrammi 12-22-2006 06:41 PM

Quote:

Originally Posted by mrpotatohead (Post 1143561)
Thanks, gave that a go running that query and it came up with this:




Guess it's easy when you know how?! I've deleted all the tables in my database with the prefix warn_ and the warnings ones etc., if that is what the query is meant to achieve... but still no luck!

The error relates to the tables that don't even exist - I had previously installed AWS on my previous server, and had moved the board recently - but stopped using AWS for a while - and now want to reinstall it...


Thanks for your help m8 btw,


- Joe

[SQL]
DELETE FROM setting WHERE varname LIKE 'warn_%';
[/SQL]

that will remove all settings used by the system.Your MySQL returned an error because "TABLE_PREFIX" is only parsed in vbulletin's PHP files and not when you run a query through PhpMyAdmin (or the tool in the admincp) the above query will work.Deleting the tables added by this hack will not delete all data used.You can perfectly stop using the system but leave it installed by disabling it in the admincp.

Delphiprogrammi 12-22-2006 06:43 PM

Quote:

Originally Posted by Artificial_Alex (Post 1143368)
I did install it o_o;;;;;;;;;;;;;;;;;

if you want to uninstall the system delete the product and all of it's files (when you do this you will loose all (aws related) database information)

tank14 12-31-2006 09:44 PM

How come I only see this? Warning Level : 90 I want to see how many warning he or she got ect..

Delphiprogrammi 12-31-2006 09:46 PM

Quote:

Originally Posted by tank14 (Post 1148274)
How come I only see this? Warning Level : 90 I want to see how many warning he or she got ect..

you got the necesarry rights to view that information ?

tank14 12-31-2006 10:40 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1148275)
you got the necesarry rights to view that information ?

Yup, But I also want all to see it. I am the root admin, but at clantemplates.com they use this and it shows everyone.

tank14 12-31-2006 10:41 PM

btw its in the legacy postbit


All times are GMT. The time now is 01:24 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.01863 seconds
  • Memory Usage 1,900KB
  • 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
  • (9)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