TELL A FRIEND
TELLFRIEND is a very simple, yet powerful script that
you can use to help promote your site. It features:
1. As many recipient fields as you would like.
2. Text area entry for the reader to send a personal note
with the e-mail.
3. Automatic page recognition (FULL URL!) and automatic
return to that page upon completion of the form.
4. Domain validation to prevent "parasitic" use by others.
5. Maintains a logfile of date/time, calling page and e-mail
information.
*** INSTALLATION TELLFRIEND.PL ***
All of the configuration options are in the configuration
section of the script. This is an easy one!
To install this script on your site, just do the following.
1. Edit the TELLFRIEND.PL file so that all of the configuration
options are set properly for your server. In addition to
the configuration section, check for the SERMONATOR SAYS!
located through the script for even more customization notes.
2. Upload the script to your cgi-bin/yabb2 directory as ASCII.
(Please, ASCII NOT Binary!)
3. Using telnet or your FTP program, chmod 755 TELLFRIEND.PL
This means owner has read-write-execute permission, group
and others can read-execute.
4. If the script does not create the logfile, place an empty
file with the name you are using in the directory. Then
chmod 666 the file (read-write for all). The default reflog.txt
is included in the cgi-bin/yabb2 folder.
*** INSTALLATION TELL_A_FRIEND.MOD ***
1. Use Boardmod or manually edit the required files.
2. IMPORTANT!!! - In the mod file edit the next to last line which reads:
if($username ne 'Guest') { $yymenu .= qq~<a href="http://www.yourdomain.com/cgi-bin/yabb2/TellFriend.pl">$img{'tell'}</a>~; }
To reflect the path to the URL of your domain! Added Xavier's suggestion below to mod file!
3. Upload the modified files to your server:
Admin/ModList.pl
Variables/Menu0.def
Variables/Menu1.def
Variables/Menu2.def
Sources/Subs.pl
4. Upload from the public_html directory:
yabbfiles/ModImages/TellFriend/tell.png/gif
(Jet Li has promised to make an updated button when he has time)
Sermonator