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
EPC Massive User Creator :: Using PHP and .NET (ALL SOURCES) Details »»
EPC Massive User Creator :: Using PHP and .NET (ALL SOURCES)
Version: 1.00, by blogtorank blogtorank is offline
Developer Last Online: Mar 2008 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 08-07-2007 Last Update: Never Installs: 32
 
No support by the author.

Massive User Creator v1.0 DONE .NET STYLE

1st of it's kind on vBulletin.org for sharing a .NET source (that I know of) to work with the forums via creating massive users instantly!

Floris was the one that inspired me to release this source so I'm blaming Floris. (This is a joke)

If you don't like this hack then move on, because after reading of the complainers and whiners in his thread it was sad to see the drama queens in action in there saying how unmoral it is and etc... If you don't like it then move on!!! No drama is needed here, I have a 12 year old girl that does enough of that, we don't need no grown men or women dramatizing in this thread.

So no drama please!

Consider this as a learning curve on how .NET works with xmlrpc and the likes!

Unleashing the power of .NET, XMLRPC and just clicking a button = faster way to fill up your forums in no time at all. This is not just for anybody. You will need the following tool under requirements or hire a .NET coder that can do it for you. Because you'll need to enter in the hard coded part of the URL that's needed to be changed in Proxy.vb.

I'm not making this as a version to where you can simply enter the URL to where the script (rpc_users.php) is for liability reasons. I'm giving you sources ONLY!

The rest is up to you, you could donate to the cause of this and I can make a build for your forums personally.

Also, if you are a .NET guru you have the right to expand this project if you like, just credits should be given back and upload here your sources ONLY after I approve of them, so don't go uploading stuff until we approve of it.

Requirements:

Microsoft Visual Studio .NET 2003 or higher

Instructions:

Quote:

Simple if you have .NET 2003+

1. Open up the project file. (Massive User Creator.vbproj)

2. Edit Proxy.vb in code view

3. Edit one line below within the quotes "http://www.yourdomain.com/forums/rpc_users.php":

From Proxy.vb source code:

<XmlRpcUrl("http://www.yourdomain.com/forums/rpc_users.php")> _

4. Leave the rest of the code alone unless you know what you are doing.

5. Upload your rpc_users.php tor your forums root after making any necessary changes too such as referrer and such...

6. Build your solution in .NET (Ctrl+Shift+B), you may wanna run a Debug (F5) to test it from there first before you make a bin/

7. Enter in a username | email@emailaddress.com | Click the Generate as the screenshot shows to give a random password.

8. Once done with setting up one click the big o' button Create Users! and if all is correct in your path within Proxy.vb you'll have a new user instantly.

Do note, you will need the matching amount of usernames and email addresses to properly make this work. Meaning you have 50 user names, you will need 50 email addresses, then click generate passwords. Simple enough?
After this, it's endless you can simply create literally thousands of users in a matter of minutes. Where they will actually show up in your member list. I have included 1,000 email addresses that are (fake) so you have that part covered. Just generating usernames is the rest that you'll need. Because built a password generator on there for you already. Easy enough because there are name/word generators in Google for free so go check our friend Google!

I can't see no reason for upgrades due to the fact it's been working since 3.5

Zip Contents:

Also included in the zip folder you will find the following ONLY, no .exe will be included:

Quote:
rpc_users.php
README.txt
FAKE-EMAILS\ FOLDER
1thousand.txt
EPC MASS FAKE USERS SRC\ FOLDER
AssemblyInfo.vb
carbon_too.ico
CookComputing.XmlRpc.dll
HtmlAgilityPack.dll
Massive User Creator.sln
Massive User Creator.suo
Massive User Creator.vbproj
Massive User Creator.vbproj.user
MassUsers.resx
MassUsers.vb
Proxy.resx
Proxy.vb
RF User Creator.sln
RF User Creator.suo
bin\ FOLDER
CookComputing.XmlRpc.dll
HtmlAgilityPack.dll
obj\ FOLDER
Debug\ FOLDER
temp\ FOLDER
TempPE\ FOLDER
Release\ FOLDER
Temp\ FOLDER
TempPE\ FOLDER
Once again there are NO Executables in this package.

Now, a bit of the PHP file, you can expand this to your likings if you see as follows:
PHP Code:
            $userdm->set('username'$username); // NO NEED TO TOUCH THIS.
            
$userdm->set('email'$email); // NO NEED TO TOUCH THIS.
            
$userdm->set('password'$password); // NO NEED TO TOUCH THIS.
            
$userdm->set('usergroupid'2); // Registered Users Group ID
            
$userdm->set('ipaddress''127.0.0.1'); // NO NEED TO TOUCH THIS.
            
$userdm->set('referrerid''SomeNameHere'); // PUT A USERNAME OF SOMEONE AS A REFERER HERE
            
$userdm->set('timezoneoffset''0'); // TIMEZONE
            
$userdm->set_bitfield('options''adminemail'0); // RECIEVE E-MAIL FROM ADMIN? YES OR NO 1 OR 0 WE PUT IT AS 0 FOR YOU
            
$userdm->set_bitfield('options''showemail'0); 
Where you can put more options within here that you would want to use with your forums if you so desire, this is a standard format that we use, so you can expand this later once you get the grips on it.

So enjoy what you have here and happy adding! Click install if you like this.

Disclaimer:

I claim no responsibility and neither does anyone else in your mishaps and etc... If you decide to cripple your forums because of your stupidity actions don't come crying here on vbulletin.org about how you made your board die after opening up 10 instances sending 50 million users to your forums in a matter of seconds. You think we are responsible for you burning your own house down?

Supporters / CoAuthors

Show Your Support

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

Comments
  #42  
Old 08-19-2007, 07:26 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok... by "my php", do you mean the webserver's php or the rpc_users.php file?
Anyway it is, i have no idea on how to compile it.
Reply With Quote
  #43  
Old 08-19-2007, 07:33 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your webserver's php.

If anything just upload a new PHP file (name it phpinfo.php) with the following code in it:

Quote:
<?php

phpinfo()

?>
Then you'll be able to see all you have compiled into PHP, by simply typing in http://www.yourdomainname.com/phpinfo.php ! Hope this helps, and here is a link on this to learn more as well:

http://www.php.net/phpinfo
Reply With Quote
  #44  
Old 08-19-2007, 08:01 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah... i don't have it compiled: http://haste-network.net/php.php
Reply With Quote
  #45  
Old 08-19-2007, 08:05 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No you do NOT have XML_RPC.... that's an XML only.... Please remove that file so no one can access this for security reasons
Reply With Quote
  #46  
Old 08-19-2007, 08:10 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what it should say underneath the xml, see the below screenshot... So here's my suggestion, go to your webhost (hopefully) then ask NICELY to ensure that xml_rpc is compiled into PHP show them the screenshot below...

I can't help you out there, as I don't own the server or host your site, but in today's age I would suggest that any host have xml_rpc compiled in to allow their clients to host sites that have webservices that require this....

As you know, they "may" give you some excuse on why not, and if that's the case it's time to find yourself a flexible and very reliable webhost.
Reply With Quote
  #47  
Old 08-27-2007, 10:34 PM
nickypoooo's Avatar
nickypoooo nickypoooo is offline
 
Join Date: Aug 2007
Location: San Diego
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great mod, thank you.
I have the same Warning and I hope you can help.

Quote:
Here's what it should say underneath the xml, see the below screenshot...


My php info shows the same as yours



Attachment 69157

but I still get that error:

Warning: main() [function.main]: open_basedir restriction in effect. File(/XML/RPC.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs:/tmp) in /rpc_users.php on line 6

Warning: main(XML/RPC.php) [function.main]: failed to open stream: Operation not permitted in /rpc_users.php on line 6

Fatal error: main() [function.require]: Failed opening required 'XML/RPC.php' (include_path='.:') in /var/www/vhosts/mydomain.com/httpdocs/forums/rpc_users.php on line 6


Any help will be appreciated.
Thank you
Reply With Quote
  #48  
Old 08-27-2007, 11:39 PM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your server has restrictions there just like the error stated:

open_basedir... Meaning it's a locked down server from your sysadmin or someone...
Reply With Quote
  #49  
Old 08-29-2007, 05:34 AM
nickypoooo's Avatar
nickypoooo nickypoooo is offline
 
Join Date: Aug 2007
Location: San Diego
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I run my forum on my server and I can chage anything I want, Do you have an idea of what I need to change to get your mod to work?

Thank you
Reply With Quote
  #50  
Old 08-29-2007, 06:25 AM
blogtorank's Avatar
blogtorank blogtorank is offline
 
Join Date: Jan 2006
Posts: 450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't run your server nor am I your sysadmin, but the only thing I can say is that this is your issue:

Quote:
open_basedir restriction in effect.
This should help you here:

http://www.php.net/features.safe-mode

All in all your server is running in safe-mode as depicted
Reply With Quote
  #51  
Old 08-29-2007, 02:43 PM
Twisted Chaos Twisted Chaos is offline
 
Join Date: Nov 2004
Location: Geneva, NY
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i see this hack as beneficial... could you make it so that it would email the actual email address about the account info and what not...

I could use this to make memberships for my clans members and remove the registration moderation stuff... ...well actually disable the whole registration period aside from this...
registration by admin only... sweet deal there... lol

Please???? lol thanx

my email address is amysticallegend at hotmail dot com

the url to my forums is www dot leagueofeight dot com

the php file will be in the root. ex. www dot leagueofeight dot com / rpc_users.php
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 11:15 AM.


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.04873 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_php
  • (5)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