1. PGITIWebsite
  2. Features Request
  3. Monday, November 05 2018, 09:31 PM
Hi,
I want to import all our users including some that are currently blocked because of various reasons, but eventually will be enabled at a later date.
In order to load the field 'Enabled' should how do I specify the values in order to be able to load 'enabled' and 'blocked'.
Thank you!
Alexandra
Accepted Answer
admin Accepted Answer
Admin
Hi Alexandra,
sorry for late reply, it was night for us :D

You can import also user block status with a CSV like this:
username,email,password_clear,firstname,block
import1,import1@easys-profile.com,import1,User Blocked,1
import2,import1@easys-profile.com,import1,User Enabled,0

In your CSV you just need to specify block column.
  1. more than a month ago
  2. Features Request
  3. # Permalink
PGITIWebsite Accepted Answer
Pro
No worries :-) so this means that the column/alias is ‘block’ and the value is 1 for blocked and 0 for Enabled?
I will try this!
Thanks a lot!
  1. more than a month ago
  2. Features Request
  3. # 1
admin Accepted Answer
Admin
so this means that the column/alias is ‘block’ and the value is 1 for blocked and 0 for Enabled?
Yes, the column "block" in CSV reflect the "block" column in Joomla User Database table (#__users).
  1. more than a month ago
  2. Features Request
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.