vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Mass User Creation and Auto Posting (https://vborg.vbsupport.ru/showthread.php?t=166693)

alexgeek 01-01-2008 10:00 PM

Mass User Creation and Auto Posting
 
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.

alexgeek 01-02-2008 02:41 AM

V2 now out!
Auto posting available.

alexgeek 01-02-2008 03:14 AM

Screenshots!

SEOvB 01-02-2008 04:20 AM

Just tested and isntalled, works like a beatuy on 3.7b3 :D

Also, just upload it to your admincp folder and access it from there, You'll have to have admin privledges to run then.

Great hack thanks

Hornstar 01-02-2008 07:29 AM

I want to create about 50 accounts on one of my new sites, to be RSS feeds posters. This would save lots of time then having to create an account one at a time. However I would prefer if the email field was blank, and that the option of displaying email address be set to no.

If this is doable, then let me know ^^

Thanks.

alexgeek 01-02-2008 07:46 AM

Quote:

Originally Posted by hornstar1337 (Post 1413730)
I want to create about 50 accounts on one of my new sites, to be RSS feeds posters. This would save lots of time then having to create an account one at a time. However I would prefer if the email field was blank, and that the option of displaying email address be set to no.

If this is doable, then let me know ^^

Thanks.

an email is required and cannot be a duplicate (more than one user with the same email).
Let me know if you want something else though.
Such as all the RSS Feed posters have the email rssnumber@example.com

MiahBeSmokin420 01-02-2008 10:34 AM

im compleatly against making fake users for a site

but i test almost every new mod/hack just to see what its about

and ill give you props thats the easiest way to make fake members i ever seen

i just may make a new user group to put some fake people in just to see how many i can do before people catch on then prune them fakes out

lol i hate fake users but good work

alexgeek 01-02-2008 02:18 PM

I agree this isn't the best way but some people may be desperate or have other reasons.

ZomgStuff 01-02-2008 02:57 PM

Quote:

Originally Posted by alexgeek (Post 1413734)
an email is required and cannot be a duplicate (more than one user with the same email).

That is a setting in vBOptions. If you change it you don't need a unique e-mail.

Derek Chai 01-02-2008 03:17 PM

Very nice!

alexgeek 01-02-2008 04:23 PM

Quote:

Originally Posted by ZomgStuff (Post 1413910)
That is a setting in vBOptions. If you change it you don't need a unique e-mail.

Okay, I will add an option to either base the email on the username or use one provided.

alexgeek 01-02-2008 05:39 PM

New version!

iogames 01-02-2008 07:25 PM

fake is always fake :(
Trying to run a nice-decent site :P
is my 2 cents

intrigue 01-02-2008 09:41 PM

Quote:

Originally Posted by iogames (Post 1414043)
fake is always fake :(
Trying to run a nice-decent site :P
is my 2 cents

granted but a lot of people walk away with a site that has very few members. I have added some and posted as myself and talked to myself, it may be sad but it has helped increase forum activity.

matt

alexgeek 01-02-2008 10:26 PM

I agree, and to make this seem less fake.. V2!
This version will automatically post a thread in the forum of your choice.

legion! 01-02-2008 10:42 PM

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/i/n/s/inspectahverbz/html/usergenv2.php on line 215


here is the error im gettin

gizabo 01-02-2008 10:43 PM

check this out... i installed it... but look

http://www.gizabo.com/forum/usergenv2.php

legion! 01-02-2008 10:43 PM

by the way this would be an incredible hack!

legion! 01-02-2008 10:44 PM

Gizabo is havin the same problem as me too lol

gizabo 01-02-2008 10:49 PM

lol legion... we are both idiots... lol..... so can sombody help?

legion! 01-02-2008 10:52 PM

hahah i know that is how im feelin right now...cause there is no shame in my game ill use this hack to make the forum seem better this will actually bring in real people

johnrizz 01-02-2008 10:54 PM

Opps! that makes three... hahaha! same error.....

gizabo 01-02-2008 10:55 PM

The 3 stooges lol.... Can sombody Please Help us! We are clueless.....

gizabo 01-02-2008 10:57 PM

do u think it might b a hosting error? What kinda hosting do u guys have... i got Godaddy


PHP Code:

Parse errorparse errorunexpected T_STRINGexpecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/g/i/z/gizabo2007/html/forum/usergenv2.php on line 215 


legion! 01-02-2008 10:58 PM

i got go daddy aswell

gizabo 01-02-2008 10:59 PM

k... Stone what about u?

gizabo 01-02-2008 11:01 PM

OoOoO i think i know what the hell is up... Go daddy supply's a very old PHP (i think 4.3x)

maybe this can only support something different...

johnrizz 01-02-2008 11:02 PM

Nah, I'm using HostForWeb.com

gizabo 01-02-2008 11:02 PM

I do know u can change the PHP to a 5.x.... But will that affect the forums?

SEOvB 01-02-2008 11:02 PM

To fix the security of anyone accessing it, simply place in the adminCP

gizabo 01-02-2008 11:05 PM

thats not the problem

alexgeek 01-02-2008 11:13 PM

Sorry, at the moment this works for PHP5+
I will see if I can get it to work for PHP4 tomorrow.

legion! 01-02-2008 11:14 PM

darn :(

gizabo 01-02-2008 11:15 PM

its fine man! Im on the phone with godady now! Im upgrading! lolz

MiahBeSmokin420 01-02-2008 11:17 PM

ya see i got my own server the newest php and the newest mysql

like i said before i hate fake users but i had to take it on a test run

made a user group just for fake users

and holly shit the games got fun

made 3000 members in less the 1 minute lol omg it was awsome

but i deleted them but ya man the shit works good

alexgeek 01-02-2008 11:18 PM

Quote:

Originally Posted by gizabo (Post 1414210)
its fine man! Im on the phone with godady now! Im upgrading! lolz

That's great :)

Quote:

Originally Posted by MiahBeSmokin420 (Post 1414211)
ya see i got my own server the newest php and the newest mysql

like i said before i hate fake users but i had to take it on a test run

made a user group just for fake users

and holly shit the games got fun

made 3000 members in less the 1 minute lol omg it was awsome

but i deleted them but ya man the shit works good

Yeah, to delete users just go to prune users and select 0 days and less than 1 posts then hit go.

gizabo 01-02-2008 11:19 PM

K i just got off the phone! I just updated... they said it will take up to 24 hours! w00t!!!!!!!!!

gizabo 01-02-2008 11:21 PM

Legion... To update go to

Godaddy.com>Hosting & Servers (NavBar)> Manage my Hosting> Click open (on the site u want to edit)>Content>Laugages> And ur done!

legion! 01-02-2008 11:25 PM

how much does it cost lol

alexgeek 01-02-2008 11:31 PM

By the way if people want to help here are some things to do:
1. Translate it into other languages (mainly French, German and Spanish I guess).
2. Convert the autoposter to work with PHP4.
3. I need username lists (each username line separated)
4. Likewise with username lists I need post title lists and post lists for the autoposter.


All times are GMT. The time now is 11:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01472 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete