MyBB Community Forums
Set new members to subscribe Instant email - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Set new members to subscribe Instant email (/thread-168025.html)



Set new members to subscribe Instant email - Puppyite - 2015-03-04

How can I set all new member’s (those who will join in future) Default Thread Subscription Mode to Instant email notification in UserCP so that they will automatically be subscribed to any threads they post in.

In Member Templates I edited member_register like so.

    <select name="subscriptionmethod" id="subscriptionmethod">
        <option value="0" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
        <option value="1" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
        <option value="2" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
        <option value="3" {$instant_email_subscribe_selected}>{$lang->instant_email_subscribe}</option>
    </select>

The above does automatically select Instant email notification when registering but later in UserCP the subscription mode is still Do not subscribe. I want everyone who joins the forum to have their subscription mode set to Instant email.

Using MyBB 1.8.4

Thank you for your help.


RE: Set new members to subscribe Instant email - ThemeFreaknet - 2015-03-04

The following will select instant email subscribe on registration:

<option value="2" {$instant_email_subscribe_selected} selected="selected">{$lang->instant_email_subscribe}</option>



RE: Set new members to subscribe Instant email - Puppyite - 2015-03-06

(2015-03-04, 08:49 PM)ThemeFreaknet Wrote: The following will select instant email subscribe on registration:



<option value="2" {$instant_email_subscribe_selected} selected="selected">{$lang->instant_email_subscribe}</option>

Sorry for not answering sooner.

That works, thank you. This will spare me from having to do this for every new member who joins but forgets to set this, and they almost always do!


RE: Set new members to subscribe Instant email - yafin - 2015-03-15

Hi,

I'm having the same problem as you. I managed to fix it on the registration page, but later on, in the Usercp, it's not set to "instant emails", but rather to "do not subscribe". How do I set it to "instant emails" on usercp as well? On the registration page, it's been done, but on usercp, it isn't.

Any help will be appreciated.

Thanks


RE: Set new members to subscribe Instant email - Destroy666 - 2015-03-16

Do the same edit in the usercp_options template.

And to avoid HTML syntax error (duplicate attribute) remove {$instant_email_subscribe_selected} and {$instant_email_subscribe_selected} from that option. Or from all options if it should be always selected.