Creating an invitation system


March 22nd, 2008 by Sonny Aman

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.

Invitation

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 !

Emoticon - First time on Context Menu


March 22nd, 2008 by Hasin Hayder

So you dont have to memorize the common/special emoticon codes anymore. All you have to do is right click on your gopsop text area and select the emoticon from the context menu. Thats nice, huh?

Emoticon on Context Menu

Social GopSoping - Just added the Avatar Selector


March 22nd, 2008 by Hasin Hayder

Gopsop will be an interesting tool for the rest of us, depending on how you use it. We are working hard to make it usable as much as possible. Just now added a custom avatar selector. And soon we are providing you a avatar customizer. Using this customizer you would be able to crop a portion from your uploaded image and use as your avatar.

Avatar Selector

Stay tuned for more fun!