Senin, 13 Februari 2012

How to create a Facebook Friend Inviter For Your Php-fox 3 Site

Hey gang the holler Team here what I''ve been working on For the Last 2-days adding a Facebook Inviter To my Site, So Here is How you Do it.. Goto http://yoursite.com/admincp/page/add/ create a new page

Add this code to the Page Date and Change http://ho-ll-er.com to your domain name












<div id='inside_invite_box'>   <fb:serverfbml width="615">
    <script type="text/fbml">
            <fb:request-form action="http://ho-ll-er.com/"
                    method="POST"
                    invite="true"
                    type="Friends"
                    content="Invite Your Facebook Friends<fb:req-choice url='http://ho-ll-er.com/' label='Join' />">
                    <fb:multi-friend-selector showborder="false"
                            bypass="cancel"
                            cols=4
                            rows=4
                            actiontext="Invite Facebook Friends"/>
            </fb:request-form>
    </script>
</fb:serverfbml>                   </div> <script type="text/javascript">
$(document).ready(function(){
    $('#test_button').click(function(){
            $.facebox({ div: '#inside_invite_box' }, 'invite_lightbox');           
    });
});
</script>


then after you created page

http://yourdoamin.co...erver_settings/ change the security to low


then your done!

heres some Pics, Oh yes you gotta be logged in into facebook account in order to get it work

http://ho-ll-er.com/friend-inviter/ you can test mine here!

Attached Image: 11-3-2011 5-44-44 PM.png

Attached Thumbnails

  • Attached Image: invite.png

Tidak ada komentar:

Posting Komentar

Tags

Blog Archive