Well, heres a quick code i use to limit signups. its hardcoded key, i'll release a function that lets users invite friends soon.
here is the code:
open signup.php and add just after the the header function this:
'function get_args ( $args ) {
if ( empty($args) ) { return; }
if ( $_POST ) {
return trim($_POST[$args]);
} else if ( $_GET ) {
return trim($_GET[$args]);
}
return;
}
$var_invitationkey = get_args('invitationkey');
if ($var_invitationkey == '7928349hwfesdlfj') {'
Add at the bottom where the footer function appears this:
} else {
echo 'No invitation key?';
}
You can obviously mod it to whatever you like.