Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mass User Creation and Auto Posting Details »»
Mass User Creation and Auto Posting
Version: 2, by alexgeek alexgeek is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 01-01-2008 Last Update: 01-02-2008 Installs: 69
DB Changes
Re-useable Code Additional Files Translations  
No support by the author.

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.
PHP Code:
$user = array('spice''magicman''badger'); 
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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-03-2008, 02:15 AM
Mixibiza Mixibiza is offline
 
Join Date: Dec 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good one... Installed
Reply With Quote
  #53  
Old 01-03-2008, 03:08 AM
gizabo gizabo is offline
 
Join Date: Oct 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

legion it works 4 u? not 4 me yet
Reply With Quote
  #54  
Old 01-03-2008, 03:25 AM
gizabo gizabo is offline
 
Join Date: Oct 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ITs working now! But where do i find out my forum ID?
Reply With Quote
  #55  
Old 01-03-2008, 03:27 AM
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
Location: 3rd Level of Hell
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I never liked the whole ake posting and users, Never seen one that worked anyway that actually looked like real people posting.

Where is it pulling the post/threads from?
Reply With Quote
  #56  
Old 01-03-2008, 07:06 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine will only do this

DONE!Total users created: 0 & Skipped: 3

No matter what options i enter
Reply With Quote
  #57  
Old 01-03-2008, 10:05 AM
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Location: UK
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gizabo View Post
ITs working now! But where do i find out my forum ID?
Got to the forum you want them to post in, look at the URL.
It should be /forumdisplay.php?f=NUMBER, whatever number is, that is the ID.

Quote:
Originally Posted by Zaiaku View Post
I never liked the whole ake posting and users, Never seen one that worked anyway that actually looked like real people posting.

Where is it pulling the post/threads from?
A random list that is hardcoded, from a custom file or the internet.
You get to choose

Quote:
Originally Posted by FRDS View Post
Mine will only do this

DONE!Total users created: 0 & Skipped: 3

No matter what options i enter
There's a bug at the moment that if it hits an error (e.g. username taken) then all of them fail. Just keep refreshing.. you should get some made eventually.
Sorry for that, will fix it soon.
Reply With Quote
  #58  
Old 01-03-2008, 01:07 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gizabo View Post
Free------
Free?!?! I migrated my site 7 days ago from PHP4 to 5 and some paid scripts went wrong, so I have to paid for customization again, and good work Mr AlexGeek [although won't install]
Reply With Quote
  #59  
Old 01-03-2008, 10:21 PM
gizabo gizabo is offline
 
Join Date: Oct 2007
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well godaddy lets u upgrade free... The reason it wasnt working b4 was because i forgot to press submit!

It took 5 min to upgrade! Great hu?

Alex u know what u should do? Make it so when the fake users posts, it counts as a real post.... Cuz it isnt now...
Reply With Quote
  #60  
Old 01-04-2008, 03:57 PM
Xandar Xandar is offline
 
Join Date: Dec 2007
Location: Austin, TX
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couple of quick suggestions:

-- Post introductions should allow formatting and such that are also randomized. This'd give a better feel for it not being faked out.

-- Registration times / post times etc should be randomized somwhat. The system makes EVERY post at the same time, so it looks very very odd when everyone (I tried it on my forums) posts at 11:51 AM and there's 20 new people...

The idea behind the system is great. Love it.. don't know I'll keep the users long, but ..

-- Philippe
Call Center Blog: http://blog.c3oc.com/
Call Center Forums: http://forums.c3oc.com/
Reply With Quote
  #61  
Old 01-04-2008, 09:12 PM
alexgeek alexgeek is offline
 
Join Date: Dec 2007
Location: UK
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xandar View Post
Couple of quick suggestions:

-- Post introductions should allow formatting and such that are also randomized. This'd give a better feel for it not being faked out.
Want to do a few yourself? I can add them to the online list.

Quote:
Originally Posted by Xandar View Post
-- Registration times / post times etc should be randomized somwhat. The system makes EVERY post at the same time, so it looks very very odd when everyone (I tried it on my forums) posts at 11:51 AM and there's 20 new people...
Brilliant idea, will release that in the next version.
it will be something like:
PHP Code:
$time time();
$rand rand( -5050 );
$time += $rand
That way the time is jumbled about but won't be like 5 years ago or 3 years in front
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11593 seconds
  • Memory Usage 2,319KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete