Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mass User Creation and Auto Posting Details »
Mass User Creation and Auto Posting
Mod Version: 2, by alexgeek (Member) alexgeek is offline
Developer Last Online: Sep 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (7 votes - 4.86 average) Installs: 66
Released: 02 Jan 2008 Last Update: 03 Jan 2008 Downloads: 813
Not Supported DB Changes Additional Files Re-usable Code Translations External Content  

What this is.
This script will allow you to create mass users with just a few customizations (or you can just use the defaults which are pretty good).
You may want to use this to make your forum seem more popular, for testing purposes or any other need.
The username, password and email of each user created will be outputted to your page once created. I recommend you save this for access to the accounts (unless you have the CYB login to user mod).
The username is created by taking a random base name out an array and appending it with numbers.
The password is completely random - alphanumeric.
The email is based on the username with a few more digits added and a random domain selected.

howto install
  1. Upload file to your forum root
  2. Open yourdomain.com/forum/(usergenerate.php / usergenv2.php)
  3. Follow instructions and customize the users to be created.
  4. Press submit.

You provide from the following when mass creating users:
  • Amount - Only input required. I recommend no more than 50 per time.
  • Usergroup - which usergroup all users will be put into.
  • Usertitle - the usertitle the users will have.
  • Password - If not set a random password will be generated else the same password will be used for all users created.
  • Email - If not set an email will be created based on the username else all users will have the same email address (Automatically allows this, no vbulletin option editing required).
  • Username generating - How to generate the usernames (default list, your own file or online list).
  • Auto posting - Whether or not to post a thread by each user, if selected you can choose whether the post and title come from the default list, your own file or online.
With this info you can either generate the users straightaway or preview the results in a table.
I will add more customizations if requested, but only to those that mark as installed!

I recommend you rename this file as anybody can access it at present.

There may be a few bugs, so please post any you find.

ToDo:
  • added!Add an option so that the users will automatically post an introduction.
  • added!Add more user names to array.
  • added! Add username and email checks so that no duplicate entry errors occur (Unlikely that they will though).
  • Add security (Everyone can access this script at the moment).
  • added! Style generated results with CSS.
  • added! Add javascript functions for ease of use.

You can help by posting arrays of generic usernames.
E.G.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you would like to add to the username array so that the usernames do not seem repetitive please post an array like above with at least 20 usernames in.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #61  
Old 05 Jan 2008, 01:59
inteller2k7's Avatar
inteller2k7 inteller2k7 is offline
 
Join Date: Jun 2007
Location: NYC
Great script, nice work. Question though, if i create 50 users for example, only the first one posts. Any ideas please.
__________________
AiO Forums
Reply With Quote
  #62  
Old 05 Jan 2008, 16:25
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
It loads fine, its just when I try to create new user. This is what I get when I run the script...
Fatal error: Existing data passed is not an array
Called set_existing in /home/jeepmcom/public_html/includes/functions_databuild.php on line 200
Called build_forum_counters in /home/jeepmcom/public_html/usergenv2forphp4.php on line 432 in /includes/class_dm.php on line 235
Reply With Quote
  #63  
Old 06 Jan 2008, 03:57
Ryaku Ryaku is offline
 
Join Date: Jun 2007
I found a bug. when the fake users post the intro, their post count stays on 0 which makes it look like they are fake =/ if this can be fixed then this hack would be the best one ever!!

Btw, good job man. love your hack so far but the 0 post should be fixed soon hehe. cheers ^_^
Reply With Quote
  #64  
Old 06 Jan 2008, 11:59
inteller2k7's Avatar
inteller2k7 inteller2k7 is offline
 
Join Date: Jun 2007
Location: NYC
Originally Posted by stone0075 View Post
It loads fine, its just when I try to create new user. This is what I get when I run the script...
Fatal error: Existing data passed is not an array
Called set_existing in /home/jeepmcom/public_html/includes/functions_databuild.php on line 200
Called build_forum_counters in /home/jeepmcom/public_html/usergenv2forphp4.php on line 432 in /includes/class_dm.php on line 235
I had a similar problem, try the other php page(usergenv2.php).
__________________
AiO Forums
Reply With Quote
  #65  
Old 07 Jan 2008, 14:26
Xandar Xandar is offline
 
Join Date: Dec 2007
Originally Posted by alexgeek View Post
Want to do a few yourself? I can add them to the online list.
Sure. Give me a way to put the intro in terms of formatting randomizations and such and I'll be glad to.
Reply With Quote
  #66  
Old 11 Jan 2008, 23:34
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Real name: Brook Perry
Originally Posted by inteller2k7 View Post
Great script, nice work. Question though, if i create 50 users for example, only the first one posts. Any ideas please.
I've only had this problem when running it on vbulletin 3.7
Worked on 3.6
I really don't know why that happens but I will find out!
Reply With Quote
  #67  
Old 11 Jan 2008, 23:35
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Real name: Brook Perry
Originally Posted by Xandar View Post
Sure. Give me a way to put the intro in terms of formatting randomizations and such and I'll be glad to.
Just write some intros and put in some bbcode if you would please.
Reply With Quote
  #68  
Old 11 Jan 2008, 23:37
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Real name: Brook Perry
Originally Posted by Ryaku View Post
I found a bug. when the fake users post the intro, their post count stays on 0 which makes it look like they are fake =/ if this can be fixed then this hack would be the best one ever!!

Btw, good job man. love your hack so far but the 0 post should be fixed soon hehe. cheers ^_^
Try to update the counters from the admincp.
This shouldn't happen unless you disable post counts for that particular forum.
Reply With Quote
  #69  
Old 12 Jan 2008, 14:37
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Great mod, where do you upload the usernamelist.txt file though? I've made a list of usernames but don't where to upload that file to, thanks.
Reply With Quote
  #70  
Old 12 Jan 2008, 21:01
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Originally Posted by inteller2k7 View Post
I had a similar problem, try the other php page(usergenv2.php).
this is what i get when using (usergenv2.php)...

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/**********/public_html/usergenv2.php on line 215
Reply With Quote
  #71  
Old 14 Jan 2008, 19:36
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Real name: Brook Perry
Originally Posted by TCE Killa View Post
Great mod, where do you upload the usernamelist.txt file though? I've made a list of usernames but don't where to upload that file to, thanks.
Same directory as the PHP file
Reply With Quote
  #72  
Old 14 Jan 2008, 19:37
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Real name: Brook Perry
Originally Posted by stone0075 View Post
this is what i get when using (usergenv2.php)...

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/**********/public_html/usergenv2.php on line 215
Please post lines 213 -> 217
Reply With Quote
  #73  
Old 15 Jan 2008, 06:53
GamrChat GamrChat is offline
 
Join Date: Jan 2008
thanks for posting this hack... If I get really desperate in a few months then maybe I'll check it out
Reply With Quote
  #74  
Old 15 Jan 2008, 10:00
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Originally Posted by alexgeek View Post
Please post lines 213 -> 217
213
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Alex, here you go...
Reply With Quote
  #75  
Old 15 Jan 2008, 16:59
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Real name: Brook Perry
PHP4?
I did upload a version for PHP4, but all it requires you to do is replace "public" for "var" on 215 and 216. Should work!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:16.

Layout Options | Width: Wide Color: