Tell a Friend Template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Patti Johnson
    Sergeant Major

    • Jul 2005
    • 95

    Tell a Friend Template

    I originally posted this thread on 9/2, but didn't get a reponse. Can someone help?

    I'm using one of the "tell a friend" buttons from the BV templates. Can someone please tell me what that needs to link to for it to work properly? I only know that it must be a mailto: funtion. Help please?

    Thanks, Patti
  • Steven.H
    Lieutenant Colonel

    • Jul 2005
    • 500

    #2
    There are many scripts to do this.

    Here is a free one:



    "Tell a friend" buttons" are there only to bring you to an email form or script that will send it to your friends. You must find the script online(recommended) or write one yourself.
    ::Steven.H::

    Comment

    • Patti Johnson
      Sergeant Major

      • Jul 2005
      • 95

      #3
      Thanks Steven... I'll check the net. Hopefully I can find one that's easy to use!



      Originally posted by Steven.H
      There are many scripts to do this.

      Here is a free one:



      "Tell a friend" buttons" are there only to bring you to an email form or script that will send it to your friends. You must find the script online(recommended) or write one yourself.

      Comment

      • Maddog
        Lieutenant Colonel

        • May 2005
        • 514

        #4
        Originally posted by Patti Johnson
        I originally posted this thread on 9/2, but didn't get a reponse. Can someone help?

        I'm using one of the "tell a friend" buttons from the BV templates. Can someone please tell me what that needs to link to for it to work properly? I only know that it must be a mailto: funtion. Help please?

        Thanks, Patti
        Hi Patti, if you want some thing like this

        http://www.fenlands.co.uk/index/index.html (pink button on bottom of page)

        Place in hmtl box the following and link to a form etc

        <a href="http://www.yoursite/friends/yourform.html" onclick="NewWindow(this.href,'message','800','500' ,'no','center');return false" onfocus="this.blur()"><img src=" http://www.wheretheimageis/roundpinksite.gif" align="top" border=0 width=109 height=27 ></a>

        if you want help let me know and I will take you through it.
        www.bluevodaexchangelink.com
        BluevodaExchangeLink Help Center
        Bluevodaexchangelink Forum

        The only place for bluevoda site to be linked with!

        Comment

        • Patti Johnson
          Sergeant Major

          • Jul 2005
          • 95

          #5
          Tell a friend button

          Yes! Thank you. That's the exact tell-a-friend button I had on my site. I finally took it off today because after numerous attempts, I couldn't get the thing to work. I downloaded the script from the Staud...? (can't remember the site) that I was referred to. The directions were just a little too complicated for my current skill level. I understand what you said, just to copy and past this code in an html box, but what form am I linking to? I managed to create a feedback form, but can't seem to get this button going. I would definitely appreciate some help.

          Originally posted by Maddog
          Hi Patti, if you want some thing like this


          http://www.fenlands.co.uk/index/index.html (pink button on bottom of page)

          Place in hmtl box the following and link to a form etc

          <a href="http://www.yoursite/friends/yourform.html" onclick="NewWindow(this.href,'message','800','500' ,'no','center');return false" onfocus="this.blur()"><img src=" http://www.wheretheimageis/roundpinksite.gif" align="top" border=0 width=109 height=27 ></a>

          if you want help let me know and I will take you through it.

          Comment

          • Maddog
            Lieutenant Colonel

            • May 2005
            • 514

            #6
            Patti

            I found you a easy script which includes the form see below, copy and place in HTML box, this will open the users email for them and also check to make sure the email is vaid

            If you want something like want I have done then send me an email, so I can help you through the form and the php file you will need.

            <SCRIPT LANGUAGE="JavaScript">
            <!-- Begin

            var initialsubj="HI, take a look at this"
            var initialmsg="Hi:\n You may want to check out this site: "+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 = "mailto:"+document.eMailer.email.value+"?subject=" +initialsubj+"&body="+document.title+" "+u;
            window.location = "mailto:"+document.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>
            <input type="button" value="Send this URL" 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>
            www.bluevodaexchangelink.com
            BluevodaExchangeLink Help Center
            Bluevodaexchangelink Forum

            The only place for bluevoda site to be linked with!

            Comment

            • Patti Johnson
              Sergeant Major

              • Jul 2005
              • 95

              #7
              Thanks Maddog... I'd rather have the link work like yours. I think it's better for the user to simply fill out a form that appears when they click the "tell a friend" button instead of it going through their email function. I'll send you an email for further help. Thanks.



              Originally posted by Maddog
              Patti

              I found you a easy script which includes the form see below, copy and place in HTML box, this will open the users email for them and also check to make sure the email is vaid

              If you want something like want I have done then send me an email, so I can help you through the form and the php file you will need.

              <SCRIPT LANGUAGE="JavaScript">
              <!-- Begin

              var initialsubj="HI, take a look at this"
              var initialmsg="Hi:\n You may want to check out this site: "+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 = "mailto:"+document.eMailer.email.value+"?subject=" +initialsubj+"&body="+document.title+" "+u;
              window.location = "mailto:"+document.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>
              <input type="button" value="Send this URL" 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>

              Comment

              Working...
              X