Showing which user has to be activated
Permalink
Dear users,
on my portal a new registered user has to be activated by the administrator. I wonder if there is a possibility to show e.g. in a list which user has not been activated so far, to give an easy overview of that?
Thank you very much, Kai
on my portal a new registered user has to be activated by the administrator. I wonder if there is a possibility to show e.g. in a list which user has not been activated so far, to give an easy overview of that?
Thank you very much, Kai
Thank you very much, with that I got it :-)
For everyone:
In c5\concrete\core\models\user_list.php
I created a function:
public function getAktiveAnwender($ui) {
return $ui->isActive();
}
And in Line 144 I inserted:
public function __construct() {
$this->addColumn(new DatabaseItemListColumn('uIsActive',"Aktiv", array('UserSearchDefaultColumnSet', 'getAktiveAnwender')));
....
......
It works!
For everyone:
In c5\concrete\core\models\user_list.php
I created a function:
public function getAktiveAnwender($ui) {
return $ui->isActive();
}
And in Line 144 I inserted:
public function __construct() {
$this->addColumn(new DatabaseItemListColumn('uIsActive',"Aktiv", array('UserSearchDefaultColumnSet', 'getAktiveAnwender')));
....
......
It works!
not so time consuming.
http://www.concrete5.org/documentation/developers/permissions/users...