Fridolin
Member
Hi there
Maybe someone will need it.
An external script to automatically bulk add a certain number of users.
Maybe someone will need it.
An external script to automatically bulk add a certain number of users.
PHP:
<?php
$dir = __DIR__;
require($dir . '/src/XF.php');
XF::start($dir);
$name_exis=array();
$i=0;
while ($i<500){ // new users count
$name_array=array('Jack','Oliver','James','Lewis','Logan','Noah','Harris','Alexander','Leo','Harry','Alfie','Finlay','Jacob','Charlie','Aaron','Lucas','Rory','Mason','Archie','Thomas','Daniel','Adam','Cameron','Max','Finn','Ethan','Matthew','Theo','Nathan','Oscar','Joshua','Brodie','William','Callum','Harrison','Muhammad','Caleb','Jude','Samuel','Jamie','Ollie','Liam','Jaxon','Luke','Freddie','Isaac','Angus','Riley','Connor','Andrew','Ryan','Dylan','Cooper','Cole','Benjamin','Blake','David','George','Arran','Jackson','Arlo','Joseph','Hamish','John','Kai','Michael','Robert','Hunter','Carter','Kyle','Aiden','Ruaridh','Fraser','Owen','Murray','Leon','Blair','Reuben','Ben','Jayden','Elliot','Josh','Aidan','Tyler','Jax','Sam','Sonny','Robbie','Arthur','Innes','Lachlan','Carson','Jake','Calvin','Conor','Mohammed','Cody','Henry','Ruairidh','Struan','Zac','Calum','Luca','Alex','Kayden','Louie','Sebastian','Evan','Harvey','Louis','Marcus','Euan','Lochlan','Scott','Jaxson','Gabriel','Ross','Zachary','Ellis','Kieran','Callan','Grayson','Parker','Austin','Corey','Edward','Patrick','Christopher','Fergus','Jay','Lyle','Elijah','Flynn','Joey','Roman','Dominic','Hugo','Magnus','Theodore','Tommy','Kian','Frankie','Teddy','Brody','Filip','Jakub','Mohammad','Kaiden','Rocco','Zak','Anthony','Layton','Myles','Rhys','Shay','Alan','Caelan','Ewan','Gregor','Harley','Olly','Zack','Ezra','Jason','Sean','Toby','Alasdair','Antoni','Charles','Ashton','Ronan','Finley','Eli','Nicholas','Quinn','Zach','Bradley','Joel','Junior','Niall','Peter','Rowan','Campbell','Findlay','Lukas','Cian','Felix','Kevin','Leighton','Nathaniel','Paul','Reece','Stephen','Ali','Danny','Elliott','Jordan','Levi','Hudson','Jace','Xander','Zander','Maxwell','Billy','Cillian','Hayden','Mark','Seth','Steven','Jenson','Kier','Marcel','Miller','Reggie','Taylor','Tom','Alistair','Clark','Bobby','Ciaran','Cohen','Joe','Kacper','Kaleb','Martin','Nico','Robin','Rohan','Brayden','Brendan','Callen','Declan','Jan','Lincoln','Rio','Craig','Duncan','Leonardo','Milo','Szymon','Travis','Albie','Aleksander','Dexter','Jonah','Oran','Stuart','Tobias','Wyatt','Alfred','Colton','Dean','Douglas','Frederick','Ibrahim','Jonathan','Julian','Mitchell','Nairn','Oskar','Ruben','Rudi','Spencer','Ahmed','Axel','Brandon','Brooklyn','Caiden','Gary','Ivan','Jasper','Kerr','Marco','Olivier','Vincent','Ayaan','Cormac','Fletcher','Maximilian','Tymon','Abel','Damian','Erik','Karson','Keegan','Lawson','Lennox','Lorenzo','Maksymilian','Shaun','Casey','Christian','Cruz','Darragh','Jensen','Karter','Lauchlan','Mikey','Murdo','Nikodem','Tristan','Yusuf','Zayn','Adrian','Bailey','Cailean','Conall','Dawid','Lennon','Luka','Matteo','Natan','Nicolas','Odhran','Ruairi','Saul','Victor','Abdullah','Ayden','Cain','Colby','Darren','Daryl','Dominik','Lee','Marc','Miles','Noel','Oisin','Preston','River','Stanley','Ahmad','Bodhi','Cayden','Conlan','Drew','Fionn','Iain','Ian','Kade','Kody','Lyall','Mack','Maximus','Mikolaj','Muhammed','Phoenix','Rayan','Rogan','Rudy','Alastair','Arron','Asher','Avery','Brian','Bruce','Bryce','Casper','Chase','Colin','Conan','Curtis','Donald','Eric','Franciszek','Freddy','Hasan','Hugh','Jaxx','Kayson','Klay','Leyton','Mac','Mateo','Musa','Odin','Omar','Ritchie','Ruaraidh','Wiktor','Yahya','Albert','Artur','Aryan','Bruno','Clayton','Coby','Corran','Fabian','Haris','Ismail','Johnny','Killian','Kobe','Millar','Mylo','Oakley','Otis','Ramsay','Rex','Richard','Roan','Stanislaw','Zain','Abdul','Andy','Archer','Beau','Bentley','Bjorn','Caolan','Coen','Dara','Dawson','Eden','Enzo','Gordon','Hamza','Hector','John-James','Kane','Keelan','Kenzie','Leonard','Lloyd','Marley','Micah','Neil','Nolan','Oliwier','Orrin','Patryk','Piotr','Ralph','Ronnie','Shane','Sorley','Torrin','Tymoteusz','Warren','Aaran','Ajay','Anton','Baxter','Braxton','Calan','Clay','Corbyn','Deacon','Devon','Dillon','Emmett','Eoghan','Eoin','Francis','Frank','Frazer','Idris','Ignacy','Igor','Ismaeel','Jai','Jesse','Kallan','Kalvin','Kasper','Kieran','Kenneth','Kit','Lucca','Malcolm','Marshall','Mustafa','Olaf','Raphael','Rayyan','Reilly','Remy','Rueben','Sandy','Sawyer','Shea','Stewart','Syed','Timothy','Tony','Zakaria','Zane','Aarron','Aaryan','Aayan','Albi','Andrei','Arjun','Aston','Aubrey','Bartosz','Blaine','Broden','Caden','Conner','Corrie','Cory','Damien','Denis','Eesa','Elias','Eryk','Greyson','Guy','Harper','Hubert','Jimmy','Kaelan','Kash','Lenny','Lochie','Luis','Mackenzie','Malachi','Mckenzie','Montgomery','Regan','Rico','Ted','Umar','Viktor','Yousef','Zakariya','Zayne','Olivia','Emily','Isla','Sophie','Amelia','Jessica','Ava','Ella','Charlotte','Aria','Lucy','Lily','Grace','Freya','Ellie','Evie','Sophia','Harper','Hannah','Millie','Eilidh','Chloe','Mia','Emma','Eva','Anna','Orla','Ruby','Poppy','Maisie','Holly','Layla','Sienna','Erin','Isabella','Zara','Georgia','Amber','Skye','Katie','Rosie','Daisy','Alice','Sofia','Willow','Esme','Maya','Zoe','Emilia','Lilly','Robyn','Mila','Abigail','Lexi','Molly','Thea','Phoebe','Ivy','Leah','Niamh','Lacey','Ayla','Rebecca','Bella','Rose','Gracie','Scarlett','Harley','Maria','Hollie','Amy','Elsie','Hallie','Summer','Lillie','Megan','Paige','Luna','Matilda','Elizabeth','Imogen','Iona','Mya','Sarah','Abbie','Sadie','Julia','Brooke','Callie','Lola','Penelope','Rachel','Violet','Cara','Nina','Aurora','Georgie','Arya','Clara','Heidi','Hope','Mirren','Alexandra','Arianna','Darcie','Darcy','Florence','Ariana','Beth','Eleanor','Eve','Quinn','Alba','Lyla','Aila','Alexis','Elise','Kayla','Piper','Amelie','Darcey','Emilie','Madison','Martha','Bethany','Lucia','Penny','Sara','Annie','Aoife','Cora','Flora','Gabriella','Hanna','Caitlin','Eden','Lexie','Mollie','Annabelle','Bonnie','Carly','Evelyn','Isobel','Kiera','Rowan','Harriet','Lara','Myla','Ada','Aimee','Eliza','Victoria','Faith','Laura','Lena','Lucie','Ailsa','Connie','Lottie','Neve','Ellis','Hazel','Jasmine','Lauren','Halle','Macy','Natalia','Zuzanna','Alexa','Kara','Naomi','Rosa','Zoey','Iris','Lois','Maia','Marnie','Catherine','Edith','Liliana','Lyra','Macie','Aaliyah','Savannah','Tilly','Blake','Indie','Libby','Lydia','Stella','Arabella','Ariah','Casey','Francesca','Frankie','Nadia','Orlagh','Orlaith','Skylar','Zahra','April','Faye','Kate','Lana','Louisa','Maddison','Marley','Nova','Peyton','Alana','Alyssa','Anya','Elena','Jorgie','Maci','Maggie','Pippa','Rhea','Saoirse','Alicja','Annabel','Charley','Charlie','Erica','Maja','Maryam','Melissa','Nicole','Abby','Billie','Caoimhe','Eloise','Harlow','Hayley','Leia','Riley','Addison','Alicia','Amira','Darci','Felicity','Isabel','Jennifer','Mara','Payton','Taylor','Cleo','Edie','Elle','Ellen','Kiera','Valentina','Anaya','Autumn','Belle','Claudia','Ella-Rose','Heather','Kady','Natalie','Nieve','Perrie','Zainab','Beatrice','Cerys','Emeli','Emmie','Georgina','Isabelle','Laila','Maddie','Madeleine','Oliwia','Reeva','Astrid','Bailey','Dakota','Elodie','Fearne','Freyja','Islay','Katy','Lia','Macey','Maeve','Nora','Paisley','Remi','Ailie','Alex','Amaya','Brianna','Cali','Carys','Delilah','Emmy','Fern','Gabriela','Josie','Katherine','Meghan','Michelle','Miley','Aleksandra','Amara','Antonina','Ayda','Beau','Christina','Courtney','Eilish','Fatima','Helena','Keeva','Kyla','Louise','Mary','Mirryn','Morven','Nevaeh','Norah','Olive','Olivia-Rose','River','Wiktoria','Zofia','Adriana','Aisha','Annalise','Antonia','Carmen','Catriona','Esther','Everly','Farrah','Hana','Jorja','Juliette','Kayleigh','Kendall','Khloe','Leila','Lilly-Rose','Lori','Mairi','Rae','Ailish','Alina','Alisha','Alivia','Aliyah','Amelia-Rose','Ariya','Aubrey','Emelia','Harlie','India','Jade','Jess','Jessie','Joy','Kacey','Kaci','Kiara','Mabel','Margot','Robin','Safa','Arwen','Ava-Grace','Ava-Rose','Avery','Brooklyn','Camilla','Carrie','Chelsea','Ciara','Ebony','Effie','Ferne','Fiona','Hailey','Joanna','Josephine','Kasey','Kathryn','Lacie','Laylah','Livia','Meadow','Melody','Mhairi','Michaela','Milly','Miriam','Morgan','Murron','Myah','Natasha','Nuala','Pyper','Ruth','Samantha','Seren','Sinead','Sylvie','Tabitha','Wren','Alaya','Ana','Ariella','Arla','Ayesha','Bianca','Charli','Chiara','Frances','Harleigh','Indi','Izzy','Jenna','Kelsey','Kornelia','Lennox','Lilah','Lillian','Luisa','Lylah','Maisy','Margaret','Milena','Minnie','Murrin','Nola','Nyla','Ophelia','Pola','Remy','Rhia','Roisin','Rylie','Shannon','Tessa','Vaila','Vanessa','Abi','Adrianna','Agnes','Aine','Aizah','Aleeza','Allie','Anastasia','Annabella','Aurla','Ava-Mae','Beatrix','Blaire','Blythe','Caitlyn','Cassie','Devon','Eliana','Elspeth','Emily-Rose','Eryn','Esmee','Ida','Juliet','Kadi','Kaitlyn','Kali','Karina','Khadija','Kirsten','Kirsty','Klaudia','Larissa','Laurie','Leona','Lili','Lily-Rose','Mariam','Marina','Marsaili','Nancy','Nell','Noor','Parker','Polly','Priya','Rachael','Romi','Rosalie','Sally','Sia','Siena','Skyla','Skyler','Yasmin');
$name_pos=array_rand($name_array);
$name=$name_array[$name_pos];
if(!in_array($name,$name_exis)){
$registration=XF::service('XF:User\Registration');
$input['username']=$name;
$input['email']=$input['username']."@example.com"; // your domain
$input['password']=$input['username']."pAss";
$registration->setFromInput($input);
$user=$registration->save();
array_push($name_exis,$name);
echo $name." added
";
$i++;
}
}
Last edited: