Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7518743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:47:34+00:00 2026-05-30T01:47:34+00:00

Google+ had a pretty simple invite system where one invite link contained 150 sign

  • 0

Google+ had a pretty simple invite system where one invite link contained 150 sign ups. As users signed up via the invite link, the number of available seats went down and eventually the invitation link died when 150 sign ups were reached. I am building a service and would like to provide all new users with a link w/ x amount of invites to share. How would one go about replicating this system in its simplest form w/ PHP.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:47:35+00:00Added an answer on May 30, 2026 at 1:47 am

    Create a database table: “invites”.

    • id
    • user_id
    • capacity

    The registeration link will contain the inviter’s user_id:
    http://www.domain.com/join.php?invited_by=14530

    Then ,in the join.php you’ll have 2 functions.
    1 – decrease the capacity of user_id = 14530 by one.
    2 – insert a new row to “invites” with the new user_id and a default of 150 invites.

    You’ll need to have a condition as well!
    This condition will check if the inviter’s capacity isn’t zero.
    If so , the invited visitor won’t be able to join.

    The simplest way , I guess.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some questions about customers about NF mode for DB2. Google had very
I had recently (and unfortunately) uninstalled the google chrome browser from my computer -while
I've had a look at code.google.com, but I didn't find anywhere how to programatically
I had the following HTML page rendering to use the Google Maps API. This
Has anyone else had any problems using google's Domain Tracking API, I am specifically
Has anyone had any luck rolling a custom GWT jar for Google Collections /
In my initial days of using linux I usually had to search google to
I can't search for | in Google. If you had found it in a
I'm terrible with regex, but I've had a try and a Google (and even
I'm currently experimenting with the Google's guice inversion of control container. I previously had

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.