Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
in Plugins by
edited by

With q2a v.1.6.3 under admin/spam you have the option: "Email me when a new user registers".

With this plugin:

  1. you can specify another email address that should be informed,
  2. the IP address is included in the email with a link to block it.
  3. the country of the new user is determined and included in the email.
  4. I also wanted to add all profile fields specified at registration, however, this is not possible with q2a version 1.6.3 see here. I hope I can add it in the future.
  5. The plugin serves new developers as an example for an event plugin including admin options!


Question2Answer Plugin: Notify on User Registration


This is a plugin for Question2Answer that notifies the admin or somebody else by email if a new user registers in the forum.


  1. Install Question2Answer if you haven't already.
  2. Get the source code for this plugin directly from github or from the q2apro plugin page.
  3. Extract the files.
  4. Optional: Change language strings in file q2apro-notify-registration-lang-default.php
  5. Upload the files to a subfolder called q2apro-notify-registration inside the qa-plugin folder of your Q2A installation.
  6. Navigate to your site, go to Admin -> Plugins. Check if the plugin "Notify on User Registration" is listed.
  7. Click on options and change the email address if needed.
  8. Congratulations, the plugin is active now.


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.


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.
Q2A version: 1.6.3
If I find the time I will try to merge the free plugins "new users page", "new users widget" and "notify on user registration" into one comprehensive plugin. # Greetings, Kai
Already we will be received notifications via e-mails when new user registered.
"xxxxxxxxx xxxxx  has a new registered user"
A new user has registered as xxxxxxx.
Click below to view the user profile:
Thank you,
xxxxxxxx xxxxx
edited by
Thanks rgd, I updated the post above stating why I did the plugin originally. And well, I hope some new developers might learn a bit from the code to understand q2a better :)

I think I gonna merge the plugin, as mentioned above, with the new users page and build a widget, so it is more comprehensive. Stay tuned.

For others that just search the admin option, go to: admin/spam and enable "Email me when a new user registers:"
NOTE: I have added an important feature. Now the country of the new user is determined and included in the email.

Please log in or register to answer this question.