Shape 5

Joomla Free Extensions => Tell A Friend - Free => : christabelle67 October 26, 2007, 02:55:35 AM



: Email notification to Admin when Tell A Friend used
: christabelle67 October 26, 2007, 02:55:35 AM
Hello, firstly I would just like to say, what a wonderful mod you have here!  And a huge *Congratulations* to the Team for creating this and the top support you offer, its truly outstanding!  I've been searching for some time to find a "Tell a Friend" mod that worked effectively and well, this one is a breeze, every other one out there fails in comparison!  I will post Feedback on Joomla's extensions site too because everyone should know about this great mod! ;D  And in some forums where others have requested such a powerful little tool!

Why did I want to use this fab mod?  From time to time we receive donations to Give Away to our site members, I had a thought on how to get the best benefit (for all) from this and thought that a "Tell A Friend" (tell 5 friends and go into the Draw to Win...) would be a great way to do this, now your module is just brilliant to serve this purpose, however I have no way in which to know who is using this feature honestly (actually telling 5 friends with 5 different email addresses and not just sending to one person let alone none at all), let alone tracking, being able to record their email, keep this on record then do a draw for the winners.

I would like to know if this can be implemented into this module?

1.  Instant notification by email to Admin that someone has used the "Tell a Friend" mod.  I don't mind if they add 3 email addresses and I receive 3 separate emails, I really need to be able to keep a record of the peoples email addresses for the prize draws.
2.  Email notification to also stipulate the email address of the person that sent it and the email address(es) who they sent too, again this is ok if it comes in 3 separate emails.

I would be willing to make a donation for someone to help me with this and am sure others would greatly benefit from this modification?
Please advise if anyone may be able to assist and I thank you for your time. :)
Warm Regards
Christel


: Re: Email notification to Admin when Tell A Friend used
: mikek October 26, 2007, 06:59:20 AM
Just so I understand you basically just want an email sent to the admin whenever a submission is sent of the person sending and who the emails were sent to?


: Re: Email notification to Admin when Tell A Friend used
: christabelle67 October 26, 2007, 08:20:38 AM
Hello Mike

Yes exactly what I am after, sorry bout my long version of your one sentence!  ;D
Warm Regards
Christel


: Re: Email notification to Admin when Tell A Friend used
: mikek October 26, 2007, 11:34:53 AM
That's definitely a good idea. I'll consider it for a future version. I'll have to put some thought to exactly how to do it in the mean time.


: Re: Email notification to Admin when Tell A Friend used
: christabelle67 October 29, 2007, 11:47:16 PM
Wonderful Mike, will keep checking in!  Its also a fabulous way to keep track of who is referring the site to friends and even better way to reward them!

I found adding the mod worked like a breeze, installed with no probs whatsoever.
Thank you
Warm Regards
Christel


: Bcc instead of To
: sarasin January 24, 2008, 07:43:56 AM
Great module and nicer than other ones we fiddled with as it is a module.  We have come across one issues though - if three emails are sent everyone can see all the other recipient's email addresses as everyone is in the To field.  Has anyone managed to get the email addresses into the Bcc field instead of the To field?

Cheers


: Re: Email notification to Admin when Tell A Friend used
: jumpink February 12, 2008, 12:50:46 PM
Works like a charm.  I also agree that it would be awesome if we could get an email of the sender and recipients addresses.

Thanks again.


: Re: Bcc instead of To
: kaz101 May 03, 2008, 05:34:26 PM
Great module and nicer than other ones we fiddled with as it is a module.  We have come across one issues though - if three emails are sent everyone can see all the other recipient's email addresses as everyone is in the To field.  Has anyone managed to get the email addresses into the Bcc field instead of the To field?

Cheers

Hi Sarasin,

I've found a way around that but it sends out 3 individual emails instead.
See http://www.shape5.com/component/option,com_smf/Itemid,75/topic,1128.0 for details.

Regards,
Karen


: Re: Email notification to Admin when Tell A Friend used
: ariekant July 31, 2008, 05:33:01 AM
Hello,

First of all, WHAT A GREAT MOD !!!!

In reply of the answer of sending the administrator also an e-mail to his e-mail adress so he can watch who used the tool I add a little PHP  to tellafriend.php

# This sends the note to the addresses submitted
@mail("$_POST[fmail1]", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("$_POST[fmail2]", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("$_POST[fmail3]", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("YOUR EMAIL ADDRESS", $tsubject, $ttext, "FROM: $_POST[email]");

I'm not an expert in PHP but it works fine, you can see now who's sending with the Tell a Friend tool.

Kind regards,

Arie


: Re: Email notification to Admin when Tell A Friend used
: hbf1000 September 17, 2008, 07:23:27 PM
Hi, first of all my choice for this extention has to do with the fact that this is a module, what increases the probability that my users will see and use it.
So, congratulations for your great module.
I also have been thinking about a way to track if my users are using the Tell a friend module. It would be fine if this is included in a new release.
Thank you !


: Re: Email notification to Admin when Tell A Friend used
: totalvalet May 03, 2009, 10:32:05 AM
Hi, if you wish to pick all e-mail addresses from form just a little extend it:

# This sends the note to the addresses submitted
@mail("$_POST[fmail1]", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("$_POST[fmail2]", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("$_POST[fmail3]", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("youremail", $tsubject, $ttext, "FROM: $_POST[email]");
@mail("youremail", $tsubject, $ttext, "FROM: $_POST[fmail1]");
@mail("youremail", $tsubject, $ttext, "FROM: $_POST[fmail2]");
@mail("youremail", $tsubject, $ttext, "FROM: $_POST[fmail3]");

you will get 4 e-mails
I used this form for special offer on totalvalet.ie


: Re: Email notification to Admin when Tell A Friend used
: surcouf September 17, 2009, 03:32:41 PM
Thank you very much totalvalet !
it works perfectly with your modified code !!  ;D