Mod for registering automatically large emails without having to register them 1

Started by ne-yola, August 26, 2009, 05:01:58 PM

Previous topic - Next topic

Arantor

If you want to use that script, simply make sure the file is: email address,password

To make it accept user name as email, change:
'email' => $key[2],

To:
'email' => $key[0],

To make it push the account to member activation rather than just instant-register, change:
'require' => 'nothing',

To
'require' => 'approval',


That's all it needs to change it.

ne-yola

thanks for all the help

i have tried it as instructed..no props with activatn.

but it seeems it only imports 1 user then gives error

could u help me check

Arantor


ne-yola

it then picks the password as a username

it doesn't pick the users line by line

it picks line 1, then line 50, hapharzadly

the format is members.csv with email(col 1) passwd(col2)

Arantor

And you made both changes?

Is the format [email address],[password] or something different?

ne-yola

A                               B
emailaddy               password

no commas separating, they r separated by colums and each data is on a new liine

Arantor

That's the problem. It's expecting commas, as I pointed out and as the original script thread said.

ne-yola

so u mean the emailaddress and password would be in a column separated by comma

Arantor

Yes. Like I said: email_address,password

No space, no tab, no other character - just that.

ne-yola

the result i got was even worse'
Importing user: [email protected],123456 "[email protected]...

not even 1 user was imported..I wld love a clear description of the format on excel

ne-yola

sry but am stilll having props.

will the list be arranged vertically ona new line  or all horizontally

am confused..

Arantor

If you have username in column 1 and password in column 2, save in CSV format.

You put the list one line per user. Just save it in CSV format it'll do it for you.

ne-yola

that was exactly what i did the very first time, and it started pickingusernames randomly and picked password as username

can u run a test?

Arantor

With the file set to one user per line, separated by a comma it works as intended for me.

I suspect your data is in the wrong format somewhere. I note from your comment that you had " in there.


ne-yola

Quote from: Arantor on August 31, 2009, 09:14:13 PM
With the file set to one user per line, separated by a comma it works as intended for me.

I suspect your data is in the wrong format somewhere. I note from your comment that you had " in there.

hw many emails did u test?

Arantor


ne-yola

is it the email addy n paswd that is separted by a comma, orthe users in each line

Arantor


ne-yola

hi, i used same data
i got this error

QuotePlease enter a valid email address, [email protected],mypasswor.

i am using excel 2007 and saved as members.csv

Advertisement: