Receive Friend Request Notification

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stijndevreede
    Member
    • Oct 2010
    • 33
    • 4.0.x

    [Forum] Receive Friend Request Notification

    Hello,

    For all my 1700 users the setting of recieving an email when a friend request is sent is put on. This is very annoying and is it possible to switch the setting of in the database? Or maybe a switch to put it master of in the ACP. In the database I couldn't find it, maybe someone knows?
  • i3lack
    New Member
    • Oct 2010
    • 20

    #2
    Run this query:

    UPDATE user
    SET options = options + 2097152
    WHERE NOT(options & 2097152)

    This should turn it off for all members

    Comment

    • stijndevreede
      Member
      • Oct 2010
      • 33
      • 4.0.x

      #3
      Can I find the definition of the '2097152' code things?

      Thanks in advance! now my server is out of service but I will try in 10 minutes

      Comment

      • i3lack
        New Member
        • Oct 2010
        • 20

        #4
        This is a query it needs to be ran in the vbulletin admin cp or in your phpmyadmin forums table.

        Comment

        • stijndevreede
          Member
          • Oct 2010
          • 33
          • 4.0.x

          #5
          It done the inverse, now all users 'Receive Friend Request Notification' has turned on to 'yes'
          (it changed 3 records, the ones who switched it off)

          Comment

          • i3lack
            New Member
            • Oct 2010
            • 20

            #6
            i wish i knew then bud. I have looked everywhere for a fix even downloaded the sql database to fiind i cant. Sorry.

            Comment

            • i3lack
              New Member
              • Oct 2010
              • 20

              #7
              Make sure you backup your database and try this last one

              UPDATE user
              SET options = options + 43011543
              WHERE NOT(options & 43011543)

              it should work!

              Just tested it worked for me
              Last edited by i3lack; Fri 22 Oct '10, 11:14am.

              Comment

              • stijndevreede
                Member
                • Oct 2010
                • 33
                • 4.0.x

                #8
                Originally posted by i3lack
                Make sure you backup your database and try this last one

                UPDATE user
                SET options = options + 43011543
                WHERE NOT(options & 43011543)

                it should work!

                Just tested it worked for me
                It didn't work... No rows were editted

                Comment

                • stijndevreede
                  Member
                  • Oct 2010
                  • 33
                  • 4.0.x

                  #9
                  I fixed it:

                  UPDATE user
                  SET options = 43011287
                  WHERE options = 11552855

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  😀
                  😂
                  🥰
                  😘
                  🤢
                  😎
                  😞
                  😡
                  👍
                  👎