The MU forums have moved to WordPress.org

Simple Invitation-Only Hack (6 posts)

  1. DragonFlyEye
    Member
    Posted 18 years ago #

    I've seen other plugins and hacks for this, but for the sake of submitting an alternate method, I've created a post on creating a simple invitation-only hack for signups in MU.

    It's features:

    1. Allows you to set a session phrase in the $_GET that allows users to sign up for blogs, but otherwise allows people to sign up for user accounts without blogs.
    2. Also allows you as the admin to at least influence what the subdomain/subdirectory will be named by letting you send links to invitees that point to the location you want their blogs in.

    Again, this is a very simple hack that just uses the $active_signup variable that's already there in wp-signup.php to affect the needed change. Any thoughts? Does this suck? LOL

  2. suleiman
    Member
    Posted 18 years ago #

    it definitely doesn't suck, but it does require core edits.

    does the signup process contain any hooks you could latch onto?

  3. lunabyte
    Member
    Posted 18 years ago #

    Yes, there's several hooks to tap into for something like this. No $_GET needed at all.

  4. DragonFlyEye
    Member
    Posted 18 years ago #

    Ah! Well, live and learn, lunabyte! I'll have to look into this at some point. I just wanted something simple, saw an opportunity and took it. Thanks!

  5. lunabyte
    Member
    Posted 18 years ago #

    There is a sign-up captcha plugin on WPMU Dev that uses similar hooks in the registration process.

    I'm sure you could figure it out. ;)

  6. suleiman
    Member
    Posted 18 years ago #

    fantabamalistic

About this Topic

  • Started 18 years ago by DragonFlyEye
  • Latest reply from suleiman