Is there any script for invite a friend feature???
4 posters
Page 1 of 1
Is there any script for invite a friend feature???
Is there any script for invite a friend feature???
Caihlem- Energetic
- Posts : 8969
Reputation : 342
Language : English, French & Female
Location : You can't fly like the phenix
Re: Is there any script for invite a friend feature???
I was wondering if there is yet. It's been 1 year and I just wanted to know if it's been added or not
DeathSoul- Forumember
- Posts : 369
Reputation : 1
Language : ENGLISH
Location : NO PM SUPPORT
Re: Is there any script for invite a friend feature???
Place this script in your homepage message or a widget:
- Code:
<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="Hay buddy, 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)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.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) {
http://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>
Last edited by Kilsek on December 22nd 2008, 2:16 pm; edited 1 time in total
Guest- Guest
Re: Is there any script for invite a friend feature???
http://www.starteasy.com/send2friend/
there is that too. Adds a wee button members can click. You can change the button image too.
there is that too. Adds a wee button members can click. You can change the button image too.
Similar topics
» Why Can't I Invite People Via The Facebook Invite Feature In The Admin Panel?
» Invite a friend.
» invite a friend
» Not a problem>>Topic Feature script to add to your site
» Facebook Friend Invite
» Invite a friend.
» invite a friend
» Not a problem>>Topic Feature script to add to your site
» Facebook Friend Invite
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum