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.
How to create an invite mechanism like Google Plus - links w/ x number of invites
785 Views Asked by Andrew At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in GOOGLE-PLUS
- Google plus API not return the Email address
- Google Plus login demo keeps failing connection
- Sign Out From Google plus Account Not Working in android, Showing Null Pointer Exception
- Cordova app check if user signed in before closing my app?
- Is it possible to use Google Cloud Endpoints built in authentication with Google+ Domains API?
- Fetch friends email from Google Account on iOS
- Not getting friends list in google plus android
- Social Sharing Predefined Custom Messages
- Google+ media sharing throws exception "No Activity found to handle the intent"
- In iOS how we come back to initial view after google+ sharing?
- Google Hangouts - controlling other participants video
- google+ api login not returning email
- Share in google using GTLServicePlus with GIDAuthentication
- How to share a track/any content from my radio/music application to google+?
- Error when trying to get share count from Google+
Related Questions in INVITE
- EXE_BAD_BADACCESS trying to access GKMatch?
- Invite Twitter friends for Android app
- How to add user to existing ROOM in XMPP iOS?
- Facebook app invite not worked with real friend
- Facebook android sdk invitation request dialog does not select the contacts to invite
- How to build a referral with incentive (promo) tracking?
- Explaination of 180 ringing message in sip
- my invite request does not shown to target friend
- Follow BETA Inviter on Sign Up
- How to send customized app invitations to new users with the Dec 22 platform updates?
- invite Form <fb:request-form action doesn't work?
- Facebook app invite immediately deleted from notifications
- How to integrate share/invite function into fanpage custom tab
- Event Invitations Not Working in Graph or Rest API
- tracking invite application facebook
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Create a database table: "invites".
The registeration link will contain the inviter's user_id: 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.