I created 40 users using a cvs file.
the cvs file fields: username, firstname, lastname, email, password, suspend.
suspend is an additional field create using -->Setting-->Additional fields.
the Field name = suspend Field category = yesno
suspend is a yesno field (Boolean), yes=1 no=0 .
I can see the suspend field in the database, in core_field table.
I am trying to suspend 20 users at the same time, using the cvs file.
But, is not working. How to suspend or deactivated more than one users
using a cvs file.
Thank You
suspend users
Re: suspend users
Hii Cao,
additional fields are just labels, they cannot be used to perform actions. Using that field you can easily identify the 20 users that you want to suspend, and thus you can
- search for them (via advandced search)
- select them all
- suspend them all in bulk
It's still a manual activity, but at least you can perform massive actions.
If you want to automatically suspend (or add, or delete) users you normally do it by hooking your LMS to an external application, such as a HR management system. If users are suspended there, they will be suspended in the LMS. You do that either via API or via connectors.
additional fields are just labels, they cannot be used to perform actions. Using that field you can easily identify the 20 users that you want to suspend, and thus you can
- search for them (via advandced search)
- select them all
- suspend them all in bulk
It's still a manual activity, but at least you can perform massive actions.
If you want to automatically suspend (or add, or delete) users you normally do it by hooking your LMS to an external application, such as a HR management system. If users are suspended there, they will be suspended in the LMS. You do that either via API or via connectors.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Re: suspend users
Thank you for the info.
Now, any info on performing action or an example.
The suspend button should be able to communicate with the db and deactivated the users.
I hope that functionality is on the roadmap.
Thank
Now, any info on performing action or an example.
The suspend button should be able to communicate with the db and deactivated the users.
I hope that functionality is on the roadmap.
Thank
Re: suspend users
Hi Cao,
the suspend button already does that....
the suspend button already does that....
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Re: suspend users
What is the name of the field on the db, that the suspend button write to.
I look all over the db for word like action, suspend, deactivated, activate, reactivate.
But no cigar, I found nothing except in the table core_lang_translate.
I look all over the db for word like action, suspend, deactivated, activate, reactivate.
But no cigar, I found nothing except in the table core_lang_translate.
Re: suspend users
Hi, sorry but I don't understand why you are looking for that. The suspend button already does what you need. I suppose the table you're referring to would be core_XXXXXX_user, anyway
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Re: suspend users
The field name you're searching for is "valid", in the core_user table.
Per supporto GRATUITO contattatemi in privato qui
Re: suspend users
Thank You, for the info
I came across the following site: http://phpcrossref.com/learning/
They are using Forma ver 1.1 maybe, they can upgrade to ver 2.2
Thank You All
I came across the following site: http://phpcrossref.com/learning/
They are using Forma ver 1.1 maybe, they can upgrade to ver 2.2
Thank You All
Re: suspend users
The new website look pretty....
I like it.
I like it.
Re: suspend users
You can use phpxref for your own project. Follow instructions here: http://phpxref.sourceforge.net/
Per supporto GRATUITO contattatemi in privato qui