Results 1 to 6 of 6

Thread: Tell A Friend
      
   

  1. #1
    Muzicman's Avatar
    Muzicman is offline Sergeant Major
    Join Date
    Aug 2006
    Posts
    89

    Default Tell A Friend

    Can someone please point me toward a "Tell-A-Friend" program or script (I'm not sure of the techno terms). I just want to allow my purchasers to recommend my site to their friends by signing them up on a form that will send their friends an email note.

    My skill level is "newbie", so I need it in simple terms. I know there has to be some postings somewhere about this, but I can't find it through a word search.

  2. #2
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Tell A Friend

    Someone may have a better one, but this one does the trick. Just paste it into an html box in BV, edit the lines in maroon to suit your needs and you're done.


    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    //Script by Trånn: http://come.to/tronds
    //Submitted to JavaScript Kit (http://javascriptkit.com)
    //Visit http://javascriptkit.com for this script
    var initialsubj="Email subject line here"
    var initialmsg="Email text here: "+window.location
    var good;
    function checkEmailAddress(field) {
    var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.go v)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.co op)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
    if (goodEmail) {
    good = true;
    }
    else {
    alert('Please enter a valid address.');
    field.focus();
    field.select();
    good = false;
    }
    }
    u = window.location;
    function mailThisUrl() {
    good = false
    checkEmailAddress(document.eMailer.email);
    if (good) {
    //window.location = "<A href="mailto:"+document.eMailer.email.value+"?subj ect="+initialsubj+"&body="+document.title">mailto: "+document.eMailer.email.value+"?subject="+initial subj+"&body="+document.title+" "+u;
    window.location = "<A href="mailto:"+document.eMailer.email.value+"?subj ect="+initialsubj+"&body="+initialmsg">mailto:"+do cument.eMailer.email.value+"?subject="+initialsubj +"&body="+initialmsg
    }
    }
    // End -->
    </script>

    <form name="eMailer">
    Tell a friend:
    <input type="text" name="email" size="26" value=" Enter Address Here" onFocus="this.value=''" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true" onMouseOut="window.status='';return true">
    <br>
    <center><input type="button" value="Send this now!" onMouseOver="window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true" onMouseOut="window.status='';return true" onClick="mailThisUrl();">
    </form>

  3. #3
    Muzicman's Avatar
    Muzicman is offline Sergeant Major
    Join Date
    Aug 2006
    Posts
    89

    Default Re: Tell A Friend

    Hey Racefan20,

    I copied and pasted the script you provided. Is there a way to customize how many friends the email can be sent to?

    If I use another company's script would I just paste it in the same way? Do I desigate a new page just for a bigger script?

  4. #4
    racefan20's Avatar
    racefan20 is offline Major General
    Join Date
    Jul 2005
    Location
    Concord, NC
    Posts
    2,339

    Default Re: Tell A Friend

    You'll need to ask someone smarter than me about that - forms are not a strong suit of mine.

  5. #5
    Muzicman's Avatar
    Muzicman is offline Sergeant Major
    Join Date
    Aug 2006
    Posts
    89

    Default Re: Tell A Friend

    Thanks, I'll keep looking.

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Tell A Friend

    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49