Extension:Send2Friend

The Send2Friend extension allows wikimasters to add a "Send to Friend" form to their wiki. This can be done on a per-article basis (Magic Words), or site wide (PHP inclusion).

What does it do exactly?
Send2Friend produces a basic form which sends a pre-scripted email notification to a recipient, asking them to visit the article from which the form was submitted. The form checks if the user is logged in; If so, the form displays two fields:


 * Friend's Name
 * Friend's Email

If the user is not logged in, it displays the following:


 * Your Email
 * Friend's Name
 * Friend's Email

After submitting the form, the user is taken to a special page which shows a confirmation message, and then redirected back to the article they were viewing.

Usage
Send2Friend supports two types of usage:

Magic Words
Article authors can include a copy of the form anywhere in their article or template with the following tags:



Skin inclusion
If you would like to have the extension available across your whole website, simply put the following PHP code in the skins/.php file, in the desired location:

Installation
1. Move the unzipped files to your extensions directory.

2. Place the following line of code in your LocalSettings.php file:

That's it!

Contact
Please visit Information Architects if you have any questions.