Quantcast
toolbar_logo graphic

Stats

  • Category: User admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2011-1-21
  • Downloads: 1125

Releases


Previous releases:

Images

6

Recommendations

Summary:

Get an email whenever a new member signs up and (dis)approve them manually

Full description:

This is my first attempt at making a plugin.

This is just a tweak of the existing 'uservalidationbyemail'.

What it does:

1) When a new member tries to sign up it sends the validation email to you. The email gives you the username, email, IP address, and location (using geobytes) of the new member. This can help to stop the Chinese spammers and other entities that never stop signing up and posting crap on our networks.

2) The new member also receives an email, telling them to reply to the mail in order to confirm their email address.

3) You can approve the member directly from the validation link in the email, or in the 'unvalidated users' list in your control panel. An automatic email is then sent to the member telling them they are approved and can log in to the network.

***

The images (left) give examples of the emails sent to the member and to the network admin. Of course the texts can be editted or translated in the lang file.

The approval mail is sent to the email address that is set in the site settings, so make sure it is a working address.

Site Access created problems on my network, so that's why I made this simple tweak.

Feedback and suggestions welcome.

Important: you need to disable 'uservalidationbyemail' to use this mod

Release notes:

Changes:

* Now also sends an email to the new member when they sign up, telling them to reply to the mail in order to confirm their email address. Since we are going to approve members manually this is a sufficient form of email validation.

* An approval notification email is sent to the member, also when you approve them directly from the 'unvalidated users' list.

Compatible Elgg Version: 1.7

This is a great idea, thanks... we all hate those Chinese (an other) spammers!  I'll give it a go.

Mark Bridges 486 days ago

Wow, thanks! Just what I've been looking for. Spammers have been a nightmare. Even destroyed my data cap on an elgg install I wasn't paying attention to. 

Gdog05 486 days ago

good plugin. but disadvange. when a new register, admin can not know. In order to know admin have to come admin page.

i want send email for admin , and admin can know have a new user register.

any suggestions for me.

lina nguyen 482 days ago

@lina,

It does send an email to the admin.

But of course you need to have a working email address set in the site settings. And also make sure the mails do not get lost in your spam filter.

Danny VdB 482 days ago

@Danny VdB: ok. thanks . It work fine, now

lina nguyen 481 days ago

@Danny: very nice work and a useful expansion of the original plugin. *Recommended

Trajan 477 days ago

I REALLY like this plugin, but I get this error when I use the "Unvalidated users" link at the admin section

Fatal error: Call to undefined function elgg_view_friendly_time() in /home/www/nordicalternatives.com/nalt/mod/approvenewmembers/views/default/approvenewmembers/unvalidated_user.php on line 23

 

so it won't work. I am using elgg v. 1.7.1

 

 

 

The screen only shows this (næste is Danish for next):


Fatal error: Call to undefined function elgg_view_friendly_time() in /home/www/nordicalternatives.com/nalt/mod/approvenewmembers/views/default/approvenewmembers/unvalidated_user.php on line 23

Chrisstoffer 474 days ago

What an awesome, and much needed plugin!! I am truly grateful!

newbiegeek 474 days ago

@ Chrisstoffer

Wouldn't know how to solve that.  The "unvalidated users" page and functionality is completely unchanged from the 'uservalidationbyemail' mod, which was used as the basis for this mod.

I am working on elgg 1.7.4

 

Danny VdB 474 days ago

its a very nice mod 

but geting same error as christopher's using 1.7.1 :(

 

jaxcatz 445 days ago

v.1.7.1 does not have that function ;-)
try function friendly_time

 

DhrupDeScoop 445 days ago

I get no email, my site email has always worked, so What could be the problem?

Clyde K 441 days ago

Has anyone found how to fix the problem? I am getting the Fetal Error too.

DhrupDeScoop where do i put the friendly_time?

bautista 394 days ago

Is anyone getting this Error?


Fatal error: Cannot redeclare uservalidationbyemail_init() (previously declared in /home/content/31/5226831/html/network/mod/approvenewmembers/start.php:7) in /home/content/31/5226831/html/network/mod/uservalidationbyemail/start.php on line 31

bautista 393 days ago

left menu option for unvalidated users disappeared in left menu.  Any way to get it back?

Jeremy Leyden 379 days ago

Thanks, Danny, for the great plug-in. It meant more for me because ... see new user register not working ... registration successful, but cannot log in

I highly recommend !

Jeff

http://iPlay.haostaff.com

Jeff Hao 323 days ago

Found and fixed one bug in pagination (returning "file not found"):

File to edit:

views/default/approvenewmembers/admin/users/unvalidated.php

line 44:     'baseurl' => $vars['url'] . '/pg/approvenewmembers/admin/', ... delete the slash before "pg". Thanks again for the great plugin. Stopping a lot of spamers for me.

Jeff Hao 278 days ago

Has anyone had any success with this on 1.8? I installed it, deactivated the bundled User Validation by Email and activated this Approvenewmembers plugin and then attempted to register a new account. It let me register fine but the account was approved and logged in straight away and no approval email was sent (and the newly created user did not show up on the admin page for unapproved users).

Any suggestions as to how to get this working on 1.8?

Thanks

stoz 205 days ago

May be it might need a complete rewrite or a tweak to make it work with 1.8.

Purus 205 days ago

This is a great plugin because my site is only for people within my country, so I can check their IP address. It also certainly keeps the spammers out!

I am using it on V1.7.14 with no problems. However, while checking the server logs, I noticed someone had added pg/approvemembers/admin to the URL and you could see unvalidated users, even if not logged in.

I'm no programmer, but after a bit of hacking around, I added the following code to the top of:

mod/approvenewmembers/views/default/approvenewmembers/admin/users/unvalidated.php

/**
 * Keep visitors out *
 */
 if (get_context() == 'admin' && isadminloggedin()) {
   }else{
exit;
}

That fixed the problem and just shows a blank page.

Cobber 200 days ago

Hi

When i active this plugins i have this error:

Fatal error: Cannot redeclare uservalidationbyemail_init() (previously declared in /home/cetosinf/public_html/...../mod/uservalidationbyemail/start.php:14) in /home/cetosinf/public_html/torrelhos/mod/approvenewmembers/start.php on line 28

In line 28 i just have this:

}

How to solve this?


Tks for help

 

P.S. Nice mod

 

 

José Monteiro 197 days ago

@ Jose

Did you do the last step in installing the plugin?

Important: you need to disable 'uservalidationbyemail' to use this mod

 

Cobber 195 days ago

@ Cobber

 

Tks. Now works fine

José Monteiro 194 days ago

Hi :) i've just installed it on 1.8 release, and as i could see it do not work. the membre is registered directly, and only receve the mail with:

Congratulations, you have successfully validated your email address.

without doing anything.

 

is any one have an idea ?

 

cheers.

cali

calibal 194 days ago