Hey guys! I know theres a mod for this..but like there are some people, like me, that don't have money to buy..so i decided to share this lil code with you guys.
CODE:
==============================
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<body>
<div id="fb-root"></div>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">
FB.init({
appId : 'YOUR APP ID',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
</script>
<br /><br />
<fb:serverFbml style="width: 500px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form
action="invite.php"
target="_top"
method="POST"
invite="true"
type="Become My Friend On Yoursite
content="<fb:req-choice url='http://yoursite.com/modules/?r=facebook_connect/login_form' label='Accept' />"
>
<fb:multi-friend-selector
showborder="false"
actiontext="Invite Your Facebook Friends to Become Your Friend On Yoursite
</fb:request-form>
</fb:fbml>
</script>
</fb:serverFbml>
</body>
</html>
========================================
Make a new html file and add the code aboove.. name it eg. inviter.html
Make sure to insert your app id where it says app id.
and make sure to change "yoursite" to Your site name.....
and your done.!
Now all you have to do is intregrate it with your site.. and thats easy.. just iframe it and create a new page on dolphin site and add the iframe there. if your a newbie, search in google for iframe generator.
Btw, in your facebook app settings... make sure to add your site url and canvaspage to http://yoursite.com/modules/?r=facebook_connect/login_form
*Okay i know there are other alternatives to ingrate it to your site.. but am a n00b my self..lol....so if you got other ideas please share*
P.S. After a user invites his/her fb friends, it takes them to facebook. Am not sure why. Again, if you can fix it please share where. If you want to see this in action go to: www.noiiex.com/page/fbinviter . Note you have to be logged in facebook first. The way this works for is ..when a user joins my website using facebook connect the first time, he/she is redirected to my facebook inviter. and then he/she gets to add his/her friends. The friend list will appear because in order to sign up to my site using facebook connect, he has to login facebook.
ANy ways, have fun with this code :)