Not logged in Login

Friend Forward is a free and easy way to promote your site. By simply adding a link to Friend Forward at the bottom of any or all pages of your site, you instantly create a 'Tell a Friend' function for your website. See here for the advantages for your users of using Friend Forward instead of creating your own custom 'Tell a Friend' feature. All you need to do is add a link to http://friendforward.com on one or more pages of your site. Or better yet, add the link to your standard footer or bottom menu and have that included on all pages of your site. Your web page address will automatically be detected when a visitor clicks on the link. Here are some examples of HTML code to add to the bottom of your page, but you are free to create your own variations:

Link: HTML code:
Tell a friend <a href="http://friendforward.com">Tell a friend</a>
Friend Forward <a href="http://friendforward.com">Friend Forward</a>
<a href="http://friendforward.com"><img src="http://friendforward.com/friendforward.gif" width="125" height="20" title="Tell a Friend about this Webpage" border="0"></a>

Advanced options:

You can supply a default subject for the Friend Forward email, by adding the code /?subject=... For blogs, for example, the title of an article is appropriate as a default subject, for example:
http://friendforward.com/?subject=It+snowed+for+the+first+time+in+Baghdad
(Special characters must be url encoded, e.g. a space is denoted as +.)

If the link to be forwarded differs from the referring page (i.e. you have a list of articles on your homepage, each with its own URL) then you can specify the exact link to be forwarded with url=... For example, suppose on your homepage http://www.myhomepage.com you wish to have a link to forward a subpage:
article.php?id=123&view=normal
Then you might link to Friend Forward as follows:
http://friendforward.com/?url=http://www.myhomepage.com/article.php%3Fid=123%26view=normal&subject=It+snowed+for+the+first+time+in+Baghdad
(Special characters must be url encoded, e.g. a ? is denoted as %3F and a & as %26.)

You can also display the number of times a page has been forwarded via Friend Forward. The simplest way is to include this code at the location where you wish to display the count:

<script type="text/javascript" src="http://friendforward.com/js/getinfo/?info=forwards"></script>

You can also display the total number of all emails sent forwarding a page. For example, if person 1 forwards the page to 3 friends, and person 2 forwards it to 5 friends, then the number of forwards will be 2 and the number of emails will be 7. To display the number of emails use this code:

<script type="text/javascript" src="http://friendforward.com/js/getinfo/?info=emails"></script>

Also, you can optionally add a parameter url if you wish to display the count for a different page. Using the example above, with a subpage article.php?id=123 you would use this to display the number of forwards:

<script type="text/javascript" src="http://friendforward.com/js/getinfo/?info=forwards&url=http://www.myhomepage.com/article.php?id=123"></script>

Another option is to add the code ?callback=displayFFcount instead of ?info=forwards or ?info=emails, where displayFFcount is the name of your own Javascript function (you can give it another name if you wish) which displays the count. In this case include this code near the end of your HTML code, for example just before the </body> tag:

<script type="text/javascript" src="http://friendforward.com/js/getinfo/?callback=displayFFcount"></script>

This code calls your own displayFFcount(FF) function, where the number of Friend Forwards is available in the variable FF.forwards and the number of emails in FF.emails. In the third example below this method is used (the counts show up on the mouse over). View the source code of this page to see this example implementation of displayFFcount(FF). You can of course supply both a callback and a url variable with the syntax: ?url=...&callback=... You can also reference different counts of different url's by defining different functions i.e. displayFFcount1, displayFFcount2, etc. Here are the same three code examples as above, but each with a different way of displaying one or both counts:

Link: HTML code:
Tell a friend () <a href="http://friendforward.com" title="Friend Forwards">Tell a friend (<script type="text/javascript" src="http://friendforward.com/js/getinfo/?info=forwards"></script>)</a>
Friend Forward ( forwards/ emails) <a href="http://friendforward.com">Friend Forward</a> (<script type="text/javascript" src="http://friendforward.com/js/getinfo/?info=forwards"></script> forwards/<script type="text/javascript" src="http://friendforward.com/js/getinfo/?info=emails"></script> emails)
<a href="http://friendforward.com"><img src="http://friendforward.com/friendforward.gif" width="125" height="20" border="0" id="FFlogo"></a>

Plus add this code near </body>:
<script type="text/javascript" src="http://friendforward.com/js/getinfo/?callback=displayFFcount"></script>

Plus add displayFFcount function (view example code in header of this page)


Home    About Friend Forward    Free Account    Promote your site    My Friend Forward    Recent Forwards    Top Sites    Privacy Policy

© FriendForward.com