Announcement

Collapse
No announcement yet.

Query for 'Warn Administrators'

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

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

  • #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


    • #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


      • #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...
        X