Query for 'Warn Administrators'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eagle Creek
    Senior Member
    • Apr 2003
    • 1206
    • 3.6.x

    Query for 'Warn Administrators'

    Hi!

    I want to enable the Warn Administrators option on all my forums. What's the query I can use?
    http://www.nucia.nl/forum/
    The best way to kill malware; is to kill it together.
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    Turn on/off 'Warn Administrators' for all forums:
    On: UPDATE forum SET options=options + 131072 WHERE NOT(options & 131072);
    Off: UPDATE forum SET options=options - 131072 WHERE (options & 131072);

    Note Check for a table prefix before running the query otherwise it will fail.

    Comment

    • Eagle Creek
      Senior Member
      • Apr 2003
      • 1206
      • 3.6.x

      #3
      Thank you!

      I don't have a table prefix. Is that a problem?
      http://www.nucia.nl/forum/
      The best way to kill malware; is to kill it together.

      Comment

      • Colin F
        Senior Member
        • May 2004
        • 17689

        #4
        Not at all.
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment

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