Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

New Plugin: Q2APRO Email Strangulator (each user can disable all emails for new forum posts)

+4 votes
457 views
asked Sep 9, 2016 in Plugins by q2apro
edited Sep 9, 2016 by q2apro

Question2Answer Plugin: Q2APRO Email Strangulator

Description

This is a plugin for Question2Answer that adds an option to each user profile to disable all email notifications for new forum posts.

Admin option: 

Installation

  1. Install Question2Answer if you haven't already.
  2. Get the source code for this plugin directly from github.
  3. Extract the files.
  4. Optional: Add your language by copying file q2apro-email-strangulator-lang.php to a new file with your language shortcode, e.g. q2apro-email-strangulator-lang-fr.php
  5. Upload the files to a subfolder called q2apro-email-strangulator inside the qa-plugin folder of your Q2A installation.
  6. Navigate to your site, go to Admin -> Plugins. Check if the plugin "Q2APRO Email Strangulator" is listed.
  7. Navigate to yourq2asite.com/account and see if the "mute email" option is there.

Where-To-Use

  1. Each user will find the option "Mute all emails" in his profile.
  2. The admin can mute emails for other users by going to admin/plugins (see plugin options).

Disclaimer

This is beta code. It is probably okay for production environments, but may not work exactly as expected. You bear the risk. Refunds will not be given!

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Copyright

All code herein is OpenSource. Feel free to build upon it and share with the world.

About q2a

Question2Answer is a free and open source PHP software for Q&A sites.

Final Note

If you use the plugin:

  • Consider joining the Question2Answer forum, answer some questions or write your own plugin!
  • You can use the code of this plugin to learn more about q2a-plugins. It is commented code.
  • Visit q2apro.com to get more free and premium plugins.

Note: I wrote this plugin because we do not have a disable option for emails. This should actually be a core feature: Muting threads. 

That's how my inbox looked like before the plugin: 


Now it got a lot better when I am disabling the emails for those users.

Hope that helps a bit.

Please log in or register to answer this question.

...