Creating an invitation system
Registered users can invite other to join gopsop. Initially all registered users can send 5 invitations. Invitation cannot be sent to a mail address where somebody already invited.
Functional Points:
1. controller- gopsop: sendInvitation : success: mypage, failure: mypage
Entry:
Submitting the send invite form
Exit:
1. already invited
2. quota ends for invitor
3. Mail send fail
4. Invalid email address
5. not logged in
6. not from submitted form, rather direct url call.Desc:
1.Generate a verification token
2.Send mail to the guest with the link and token i.e. http://gopsop.com/acceptInvitation/C-O-D-E
3.Save the token against the guest email and the user
2. controller- gopsop: acceptInvitation success: registration , failure: self
Entry :
1. Clicked the link from received mail
2. Pasted the link from browser location
Exit condition:
1. Invalid code and not null code
New lang:
$langs['invite_people']=’আমন্ত্রন জানান’;
$langs['email']=’ই-মেইল’;
$langs['send']=’যাও’;
$langs['invite_left']=’আরও %NUM% জনকে আমন্ত্রন করতে পারবেন’;
$langs['invite_sent']=’আমন্ত্রন পাঠানো হয়েছে’;
$langs['invite_fail']=’আমন্ত্রন পাঠানো যায়নি’;
$langs['invite_already']=’ইতোমধ্যে আমন্ত্রিত’;
$langs['invite_noleft']=’আপনার কোটা শেষ’;
$langs['invalid_email']=’ই-মেইল এড্রেসটি সঠিক নয়’;
$langs['sendmail_failed']=’ই-মেইল পাঠানো যায়নি’;
$langs['invite_correctcode']=’আমন্ত্রন গ্রহনের জন্য ধন্যবাদ’;
$langs['invite_incorrectcode']=’ওই মিয়া, আন্দাজে লোকেশন মারেন ক্যান ?!’;
These are the test purpose.. the texts should be changed to some interesting ones.
—————————————————–
This much sofar.. waiting for ur comments.
Cheers !
Development |4 Responses to “Creating an invitation system”
Leave a Reply








ই-মেইল -> ইমেইল
আমন্ত্রন -> আমন্ত্রণ (if I’m not wrong)
ইতোমধ্যে -> ইতিমধ্যে
মিয়া -> মিঞা
Omi
ইতোমধ্যে is correct
nice blog, good initiative. will follow what you are doing. good luck
@arild,
Good to see you here and we are flattered that you like our ideas and want to follow them too. We are just collecting ideas from here and there and trying to make something good, which people can use. We want to make a one stop network, from people can do lots of things, apart from talking. Will share the ideas with everyone on the run.
Once again, thanks for being with us.