Announcement

Collapse
No announcement yet.

Disable all addons with query

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ace
    replied
    Originally posted by jluerken View Post
    It is
    update <prefix>_product set active = '0'

    Thanks for bringing me on track ^^
    Yes indeed, the query works a lot better when using the names of ones' own tables.

    You're welcome.

    Leave a comment:


  • Ace
    replied
    Originally posted by jluerken View Post
    update plugin set active = '0' does the trick but this is not what I want. It disables all plugins but I want the additional products to be disabled. Sorry my mistake.
    Code:
    UPDATE  `DATABASE_NAME`.`product` SET  `active` =  '0';
    Not sure what you mean by additional products.. that's not vBulletin terminology at all.

    Leave a comment:


  • jluerken
    replied
    It is
    update <prefix>_product set active = '0'

    Thanks for bringing me on track ^^

    Leave a comment:


  • Ace
    replied
    You honestly couldn't have gone into your own phpMyAdmin to figure this out?

    Code:
    UPDATE  `DATABASE_NAME`.`plugin` SET  `active` =  '0';

    Leave a comment:


  • jluerken
    replied
    update plugin set active = '0' does the trick but this is not what I want. It disables all plugins but I want the additional products to be disabled. Sorry my mistake.

    Leave a comment:


  • jluerken
    replied
    Yes something like this but the example does not work ^^

    Leave a comment:


  • Ace
    replied
    update plugin set 'active' = 0
    ?

    Something like that anyway.

    Leave a comment:


  • jluerken
    started a topic [Suite] Disable all addons with query

    Disable all addons with query

    Hi,

    during the upgrade process I have to disable all addons except a few so I cannot disable them all in the config.php file.
    Now I am searching for a db query to disable all addons even if the addon system itself stays activated.

    It is much easier to activate 2-3 addons afterwards than to disable 25 by clicking each ^^

    Can someone help me here please?

    Kind regards
    jluerken
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X