aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/start.php
diff options
context:
space:
mode:
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