aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/start.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-03 13:06:24 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-03 13:06:24 +0000
commit588d6ce6f4134810d8bc6828cdcee4004cc5798c (patch)
tree1e8374c0e9dd0f574d4bfc927270f2577f776c15 /mod/uservalidationbyemail/start.php
parent7639bc76eb49e8578f4982473a774611b21bb81f (diff)
downloadelgg-588d6ce6f4134810d8bc6828cdcee4004cc5798c.tar.gz
elgg-588d6ce6f4134810d8bc6828cdcee4004cc5798c.tar.bz2
Refs #311: Saving stub prior to relocation...
git-svn-id: https://code.elgg.org/elgg/trunk@2171 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/uservalidationbyemail/start.php')
-rw-r--r--mod/uservalidationbyemail/start.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/uservalidationbyemail/start.php b/mod/uservalidationbyemail/start.php
new file mode 100644
index 000000000..f02b2cf68
--- /dev/null
+++ b/mod/uservalidationbyemail/start.php
@@ -0,0 +1,24 @@
+<?php
+ /**
+ * Email user validation plugin.
+ * Non-admin or admin created accounts are invalid until their email address is confirmed.
+ *
+ * @package ElggUserValidationByEmail
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ function uservalidationbyemail_init()
+ {
+ // Register actions
+
+ // Register hook listening to new users.
+ }
+
+ // create - if not admin & if not admin logged in then request email validation
+
+ // Initialise
+ register_elgg_event_handler('init','system','uservalidationbyemail_init');
+?> \ No newline at end of file