Turn off thread subscriptions for all users.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shining Arcanine
    Senior Member
    • Feb 2003
    • 2482
    • 3.0.3

    Turn off thread subscriptions for all users.

    How would I accomplish this without disabling emails.
  • ShiningArcanine
    Senior Member
    • Feb 2003
    • 2482
    • 3.0.3

    #2
    Any ideas?

    Comment

    • tubedogg
      Senior Member
      • Feb 2001
      • 13602

      #3
      If you want to remove all thread subscriptions for all users, run this query:
      DELETE FROM subscribethread;

      If you want to disable thread subscription by default for all users:
      UPDATE user SET options = options - 16384 WHERE options & 16384

      If you want to remove the option for it, look in your MODIFY template and find this
      Code:
      <tr>
      <td class="alt2"><b>Use 'Email Notification' by default?</b><br />
      <span class="smallfont">Using this option emails you whenever someone replies to a thread that you have participated in.</span></td>
      <td class="alt2"><label for="cb_emailnotification"><input type="checkbox" name="options[emailnotification]" value="1" id="cb_emailnotification" $checked[emailnotification] />Yes</label></td>
      </tr>
      and remove it, then find this
      Code:
      <input type="hidden" name="do" value="updateoptions" />
      and add right below it
      Code:
      <input type="hidden" name="options[emailnotification]" value="0" />
      In your register template find
      Code:
      <input type="hidden" name="regtype" value="1" />
      and right below it add
      Code:
      <input type="hidden" name="options[emailnotification]" value="0" />
      Then find
      Code:
      <tr>
      <td class="alt1"><b>Use 'Email Notification' by default</b><br />
      <span class="smallfont">Using this option emails you whenever someone replies to a thread that you have participated in.</span></td>
      <td class="alt1">
      <label for="rb_emailnotification_1"><input type="radio" name="options[emailnotification]" value="1" id="rb_emailnotification_1" $emailnotificationchecked[1] />Yes</label>
      <label for="rb_emailnotification_0"><input type="radio" name="options[emailnotification]" value="0" id="rb_emailnotification_0" $emailnotificationchecked[0] />No</label>
      </td>
      </tr>
      and remove it.
      Last edited by tubedogg; Sat 11 Oct '03, 1:08pm.

      Comment

      • Royal
        New Member
        • Mar 2002
        • 21
        • 3.5.x

        #4
        i cant run the query

        An error occured while attempting to execute your query. The following information was returned.
        error number: 1064
        error desc: 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 '- 16384 WHERE options & 16384' at line 1
        http://forum.theblazz.com/signature.php

        Comment

        • tubedogg
          Senior Member
          • Feb 2001
          • 13602

          #5
          Use this:
          UPDATE user SET options = options - 16384 WHERE options & 16384

          Comment

          • Royal
            New Member
            • Mar 2002
            • 21
            • 3.5.x

            #6
            thnx tubedogg this is working pretty good
            http://forum.theblazz.com/signature.php

            Comment

            • MrLANlord
              New Member
              • Feb 2004
              • 1
              • 3.0.0 Release Candidate 3

              #7
              Does anyone have the step to edit the templates to permanently remove subscriptions from RC4? I can't seem to find any of the 'find this' examples in my current templates. I am assuming this is for possibly Beta versions and the templates have changed. Any help would be appreciated.

              Comment

              • Bass Cadet
                Member
                • Mar 2003
                • 72

                #8
                How would you implement this hack into VB as to where this was set per group similar to how an admin can enable and disable avatar use per usergroup.

                Comment

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