

= Tell a Friend =
It is hard to use The link for "Tell a friend" with multi-byte languages.
Even with sigle-byte language, "mailto:" is not useful in the environments without MUA. eg) Internet Cafe
Thus I've made a moudle of Form Mail working with a Smarty plugin collaborately.
After you install this, a visitor can send e-mails to his friends by Form mail when he just click the icon.
USAGE:
- Install this module as usual.
- Check "access rights" by groups admin in TellAFriend's admin
- Copy modifier.xoops_tellafriend.php into class/smarty/plugins/
(this step can be skipped if you use it for native tellafriend modules)
- Edit the templates with links of "Tell a friend" as follows.
- Or turn "use tellafriend module" on in the preferences of the module which is made as a native with "tellafriend")
NOTE:
For anti-spam, I've made a restriction to send mails per IP or uid.
If you want to change, go to preferences of TellAFriend's admin.
SAMPLES of editing the templates.
newsnews_article.html
<a target="_top" href="<{$mail_link}>">
<a target="_top" href="<{$mail_link|xoops_tellafriend}>">
news_archive.html
<a href="<{$story.mail_link}>" target="_top" />
<a href="<{$story.mail_link|xoops_tellafriend}>" target="_top" />
mylinksmylinks_link.html
<a target="_top" href="mailto:?subject=<{$link.mail_subject}>&body=<{$link.mail_body}>">
<a target="_top" href="<{$link.mail_body|xoops_tellafriend:$link.mail_subject}>">
mydownloadsmydownloads_download.html
<a target="_top" href="mailto:?subject=<{$down.mail_subject}>&body=<{$down.mail_body}>">
<a target="_top" href="<{$down.mail_body|xoops_tellafriend:$down.mail_subject}>">
Tellafriend native modules (pico, bulletin etc.)Go to the preferences, and just turn 'Use tellafriend module' on.
CHANGES:
v1.05 2008-12-08
- updated README
- updated mymenu
- added language files
-- portuguesebr (thx leco1)
v1.04 2008-12-05
- modified the compatibilities with XCL2.1
- modified MySQL5 compatibility
- changed altsys friendly module
v1.03 2006-07-13
- modified xoops_version.php as hasMain=1 (thx Rollei)
- added language files
-- persian (thx voltan) 1.03a
v1.02 2005-12-03
- updated myblocksadmin 0.41 & mymenu 0.15a
- updated module icon (thx argon)
v1.01 2005-07-21
- fixed a bug in JavaScript (thx yamaichi)
v1.00 2005-05-25
- the 1st release