How would I accomplish this without disabling emails.
Turn off thread subscriptions for all users.
Collapse
X
-
Tags: None
-
-
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 thisCode:<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>
Code:<input type="hidden" name="do" value="updateoptions" />
Code:<input type="hidden" name="options[emailnotification]" value="0" />
Code:<input type="hidden" name="regtype" value="1" />
Code:<input type="hidden" name="options[emailnotification]" value="0" />
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>
Last edited by tubedogg; Sat 11 Oct '03, 1:08pm.Comment
-
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 1Comment
-
-
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
-
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.
Comment