Extension:Send2Friend
| The author of this extension is no longer maintaining it! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
|
Send2Friend Release status: unmaintained |
|
|---|---|
| Implementation | Tag |
| Description | Allows users to send an email notification to a friend via a form. |
| Author(s) | Information Architects |
| Last version | 1.0 |
| MediaWiki | 1.10.x - 1.16.x only |
| License | GPL |
| Download | send2friend-1.0.zip |
| Check usage and version matrix | |
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? [edit]
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 [edit]
Send2Friend supports two types of usage:
Magic Words [edit]
Article authors can include a copy of the form anywhere in their article or template with the following tags:
<S2F></S2F>
Skin inclusion [edit]
If you would like to have the extension available across your whole website, simply put the following PHP code in the skins/<YourSkin>.php file, in the desired location:
<?php echo S2FForm::show(); ?>
Installation [edit]
1. Move the unzipped files to your extensions directory.
2. Place the following line of code in your LocalSettings.php file:
require_once($IP.'/extensions/send2friend.php');
That's it!
Contact [edit]
Please visit Information Architects if you have any questions.