How to create 30k blank user on the phorum?
Posted by Janie
How to create 30k blank user on the phorum? January 31, 2012 03:37PM |
Registered: 12 years ago Posts: 6 |
Good Day.
I need to create around 30k blank users on my fresh phorum installation. What I mean by that is - I need a record of that 30k in my database(mysql) and on my phorum script. Every user would appear in my admin panel, so I could manipulate the details. The easiest approach would be to create those 30k by hand, unfortunately it is unreal due to time factor. This is not a thread about spamming and bots. Hence:
I have an access to the phpmyadmin, ftp, and of course via the admin panel on the phorum.
Is it possible? Is there a module around for that purpose I am not aware of.
Every nudge is deeply appreciated.
Janie
Edited 1 time(s). Last edit at 01/31/2012 03:41PM by Janie.
I need to create around 30k blank users on my fresh phorum installation. What I mean by that is - I need a record of that 30k in my database(mysql) and on my phorum script. Every user would appear in my admin panel, so I could manipulate the details. The easiest approach would be to create those 30k by hand, unfortunately it is unreal due to time factor. This is not a thread about spamming and bots. Hence:
I have an access to the phpmyadmin, ftp, and of course via the admin panel on the phorum.
Is it possible? Is there a module around for that purpose I am not aware of.
Every nudge is deeply appreciated.
Janie
Edited 1 time(s). Last edit at 01/31/2012 03:41PM by Janie.
Re: How to create 30k blank user on the phorum? February 01, 2012 01:48AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: How to create 30k blank user on the phorum? February 01, 2012 07:44AM |
Registered: 12 years ago Posts: 6 |
Re: How to create 30k blank user on the phorum? February 01, 2012 02:12PM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: How to create 30k blank user on the phorum? February 01, 2012 04:16PM |
Registered: 12 years ago Posts: 6 |
Re: How to create 30k blank user on the phorum? February 02, 2012 02:48AM |
Admin Registered: 18 years ago Posts: 566 |
You might be able to get assistance from support to run the script. there are only four questions to answer.
Other solution; do a local install. If it needs to be on the web for testing, dump the data and upload it to the web
Other solution; do a local install. If it needs to be on the web for testing, dump the data and upload it to the web
Language: PHPprint "\nHow many users do you want to create?\n"; print "> "; $ucount = (int)trim(fgets(STDIN)); print "\nHow many threads do you want to create?\n"; print "> "; $tcount = (int)trim(fgets(STDIN)); print "\nHow many messages do you want to create per thread?\n"; print "> "; $mcount = (int)trim(fgets(STDIN)); print "\nHow many newflags do you want to set per user?\n"; print "> "; $ncount = (int)trim(fgets(STDIN)); print "\n"
Re: How to create 30k blank user on the phorum? February 06, 2012 05:42PM |
Registered: 14 years ago Posts: 1 |
I use this mysql script to add user from extern database
After each insert, send a mail with username / password to each user, so they can connect immediatly
it works so fine, you just verify if the username you want to insert are all different.Quote
"INSERT `".PHORUM_USERS."` ( `username` ,`password` ,`sessid_lt`,`active`,`email`,`real_name`,`display_name`,`date_added`) VALUES ('$username','".md5($passwd)."','".md5(microtime())."','1','$email','$real_name','$display_name','".time()."')"
After each insert, send a mail with username / password to each user, so they can connect immediatly
Sorry, only registered users may post in this forum.