Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Auto generating blank member profiles (25 posts)

Started 5 months, 1 week ago by: animeshtripathi

  • Profile picture of animeshtripathi animeshtripathi said 5 months, 1 week ago:

    Hi all,

    Is there any plugin I can use to autogenerate blank member profiles with a default password and a randomized URL? I’m using the latest versions of WordPress and Buddypress.

    Best,

    Animesh

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    Use BuddyPress Default Data plugin

  • Profile picture of animeshtripathi animeshtripathi said 5 months, 1 week ago:

    Thank you for the quick response. Will it generate random profile URLs as well, though?

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    It adds some predefined user accounts, forum topics, activity updates etc. You can pick what you want. Why do you need fake accounts?

  • Profile picture of animeshtripathi animeshtripathi said 5 months, 1 week ago:

    I don’t exactly need fake accounts, but the idea is this:

    We have products which each have a unique ID (imagine something like 001,002,002). We want the user to go to their blank profile and fill in the information themself when they visit oursite.com/001. So we want to integrate the unique IDs with their BuddyPress profiles. Hence the blank profiles and random URLs

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    If its not a lot of “products” then you can still use the default data plugin

    The user info is in a file users.php in the plugins data folder.

    $users_data = array(
    	0 => array(
    				'login' => 'antawn',
    				'pass' => '1234567890',
    				'display_name' => 'Antawn Jamison',
    				'email' => 'email1@aol.com'
    			),
    	1 => array(
    				'login' => 'chynna',
    				'pass' => '1234567890',
    				'display_name' => 'Chynna Phillips',
    				'email' => 'email2@aol.com'
    			),
    	2 => array(
    				'login' => 'kiki',
    				'pass' => '1234567890',
    				'display_name' => 'Kiki Cuyler',
    				'email' => 'email3@aol.com'
    			),

    You can see how it would be easy to change and add more to this array. You would edit this info before activating plugin. Then just choose the add users option in the plugin set up.

  • Profile picture of abyss abysshorror said 5 months, 1 week ago:

    @modemlooper on this subject. Is there anyway of generating a blank user profile when somebody mentions a @profile account containing the mentions ?

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    No, and that sounds very dangerous and unstable.

  • Profile picture of animeshtripathi animeshtripathi said 5 months, 1 week ago:

    We’re going to have something like 300 of these products to begin with. Any PHP magic I can run there?

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    Thats not that many and would take about 30 min to write out the array if you cut and paste 300 items. I think it would take longer to write a function to do it for you.

  • Profile picture of Jonathan Jonathan said 5 months, 1 week ago:

    @animeshtripathi

    You may also want to look into a plugin that will allow you to use the same e-mail address all accounts, unless you really want to create either 1). 300 E-Mail Accounts or 2). 300 Forwards.

    You can check the plugin below out. It should suite your needs.

    http://wordpress.org/extend/plugins/allow-multiple-accounts/faq/

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    You do not need to create the email accounts with the default data plugin. They can be fake:

    change-email1@url.com

  • Profile picture of Jonathan Jonathan said 5 months, 1 week ago:

    Of course, just looking at things from the hosting side of things.

    If you create 300+ accounts for use as ‘products’ and any of them are even slightly active, notifications will be generated which will in turn send e-mail to the fake e-mail address. Unless the web host in question has it set to blackhole all failed e-mail attempts, there’s going to be quite a backlog in the mail queue.

    Using the plugin to allow multiple e-mail addresses for a specific @domain.ext would allow the user to use the same e-mail for all accounts and simply receive the mail instead of loading up the mail queue. If the mail queue is setup to simply drop the mail after one attempt, it may not be that big of a deal, but most are not and continue to try for 24-48 hours.

  • Profile picture of animeshtripathi animeshtripathi said 5 months, 1 week ago:

    Thank you for the help, guys. I’m thinking about the same email addresses part, but obviously the people would be able to change these email IDs upon login, right? I hope you get the idea, the username would be randomized, so it would be mysite.com/members/QRP342 . Also, is there anyway I could remove the ‘members’ part from the URL and make it just mysite.com/QRP342?

  • Profile picture of modemlooper modemlooper said 5 months, 1 week ago:

    Yeah, all Facebook/twitter logins create fake emails.

    http://codex.buddypress.org/extending-buddypress/changing-internal-configuration-settings/