Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 7 Months, 3 Weeks ago Making numerous accounts?
#1
Solved: 9 Years, 7 Months, 3 Weeks ago Question 
Hello,

I was wondering if it was possible to create numerous members yourself in seconds. I know you can access the Administration Control Panel and create a single user yourself but this is very slow, it also slows everything down. If anyone could answer this question then I'd appreciate that a lot.

Thanks, regards,
uzi.
#2
Solved: 9 Years, 7 Months, 3 Weeks ago
As far as I'm aware, there isn't. You have to create users manually.
Please rep me if I helped you Smile
#3
Solved: 9 Years, 7 Months, 3 Weeks ago
Ok, well thank you Rad for answering my question. One more thing; Is it possible for anyone viewing the website that doesn't have any Moderation, Administration powers to figure out that they are fake accounts? Thanks a lot.
#4
Solved: 9 Years, 7 Months, 3 Weeks ago
It's easy to generate fake accounts. I quickly wrote this for you. It's not the best way, but it works.

<?php

@set_time_limit(0);

define('IN_MYBB',1);
require_once('global.php');
require_once('inc/functions_user.php');

for($i=0; $i<10;$i++) {
	$data['username'] = random_str(8);
        //you need other table information from mybb_users such as password, email, etc... here. For example, $data['email']
	$db->insert_query("data", $data);
}

?>

This would generate 10 fake accounts.
No longer involved in the MyBB project.
#5
Solved: 9 Years, 7 Months, 3 Weeks ago
Wow, thanks a lot Malcom, where do I place this coding and how do I correctly choose the usernames and everything?
#6
Solved: 9 Years, 7 Months, 3 Weeks ago
You have to create a new file, add that code, add what you want to the $data array, upload to your mybb directory and run it.

If you have specific usernames you want to register, you can add them to a new array and then use array_rand() to choose a random value.
No longer involved in the MyBB project.
#7
Solved: 9 Years, 7 Months, 3 Weeks ago
Well thanks Malcom, this is pretty confusing for me but I'll give it a shot.


Forum Jump:


Users browsing this thread: 1 Guest(s)