Steve ShawI have taken more time to analyze this deeply, and I must revise the comment I've made above in this thread in post #10, i.e.:
2. A user must click on the link in the email message to continue the subscription. Regular access of the topic (via the forums browsing) is not implemented for this option.
— that's a
wrong point. The Subscription is re-activated even if a member just visits the topic on the forum via regular browsing. However,
he must be logged in with the User ID specified in Subscription. If he visits a topic as a Guest or from another account, it's logical another Subscription even couldn't be taken into account.
Also, I could confirm that even if user is not logged in, or logged in from a different account,
but if he clicks the link in the Subscription email, in this case his Subscription also being re-activated.
These are two points above when the Subscription re-activates and I don't know how to implement it better. It has not to be improved by now, apologies for taking a wrong path earlier. Not sure what miniBB version do you use, but this all has been implemented since miniBB 2.0.3a.
Moreso — I have developed a hidden option named
$activeEmailsDisable — if in
setup_options.php you set it like
$activeEmailsDisable = TRUE;
then a Subscription would be re-activated
only if a user clicks the link in the Subscription email. Please check your
setup_options.php for making sure you don't have this option installed (also check in other files like
bb_plugins.php or
bb_specials.php).
I also did tests on my local dev.host for making sure the Subscription mechanism works, and
now I'm sure it works like I described above, for example by this scenario:
1) User A makes a Topic and ticks the "Watch this topic and get updates by email" box; user A's Subscription becomes active;
2) User B replies to this Topic and ticks the "Watch this topic and get updates by email" box as well; user B's Subscription becomes active;
3) User A receives a Notification email regarding user B's post; his subscription becomes
inactive;
4) User A visits the Topic via regular forum browsing; his subscription
becomes active again;
5) User C replies to the Topic; a Notification email is sent to both users A and B; after that, Subscriptions for both A and B become inactive;
6) User B is not logged on the forum, but he clicks the Subscription link and then user B's Subscription is active again;
7) User C submits another reply to the Topic, and in this case, a Notification email is sent to the user B only and not the user A (user A didn't read the Topic nor from the forum nor via Subscription link).
You could use this scenario to test for 3 different user accounts on your side, at least two of them (A and B) must be with verified emails (I've used a Guest account for C). If on some point it doesn't work like I described, let me know.
But this is how it should work. If you have any other ideas at which point there's a mistake, please inform me.