Last update (1):Wed, Jan 13th 2010, 00:00
Try before you buy
Not sure if you need this component?
Download the free preview and customize it for your project before you purchase it.
Note: You can test the preview only on your computer.
Similar flash components
General Videos
- How to buy?
watch movie - Embed a Flash Component in your Flash Project
watch movie - How to embed a Flash Component in the same HTML page twice?
watch movie - How to embed two different Flash Components in the same HTML page?
watch movie
Save money now!
Showcase
Send us a link to the page you used this product on, and we'll post the link to your site on our blog if you customized it nicely.
Need support?
Get a support ticket
read more
Share this
If you enjoyed this product, please consider sharing it via a social network, or leaving a comment. Thanks!





Products RSS Feed
Follow us on twitter
support@flabell.com
Vincent Talerico
on 26/11/09
Andrei Potorac
on 27/11/09
Uri Grinwald
on 27/12/09
Thanks
on 27/12/09
Andrei Potorac
on 13/1/10
Please download the update from your Flabell account.
Mohamed Anis Dahmani
on 16/2/10
I just purchased this component a while ago and want to thank you for all the quality components you offer.
I have a small question : Could you please send me to a file of yours or anything similar that allows reading the TXT file that saves the emails. So we are able to consult the subscribed emails.
Thank you
on 16/2/10
Mohamed Anis Dahmani
on 17/2/10
This is clear for me I've already found it but what I am trying to figure out is : do you have a ready-made flash component that reads these emails and displays them or I will just use loadvar to load them and read them by myself :)
Thanks
on 17/2/10
1. Asks the user to add his email address.
2. Validates it.
3. If the address is OK, and if it isn't already in the subscription list, it adds it.
What you do with the list is up to you. Our component is used for sign-up, not for actually sending the newsletter.
Ivan Arango
on 25/3/10
on 26/3/10
the php snippet:
/* send notification of new subscriber via email */ $email_target = ''; // [email protected] if($email_target != ''){ $email_from = '"Your site name" <[email protected]>'; $email_text = 'New newsletter subscriber: '.$email_address; $email_subject = 'New subscriber'; @mail($email_target,$email_subject,$email_text, "From:".$email_from."\r\nContent-type: text/html; charset=us-ascii"); } /* end of email notification */on 27/5/10
Also, where do we place the email address of where went want the email notification to be sent?
on 28/7/10
Can you please show a properly edited php file where the email is forwarding.?
I understand about the line 24.
what I don't understand is where does this go (/* send notification of new subscriber via email */
$email_target = ''; // [email protected]
) ???
on 29/7/10
You should write the code from Vlad after
fwrite($fw,$email_address.'');@line 26. newsletter.php should look like:<?php // newsletter.php = writes unique email addresses sent via POST one per line into a txt file $email_address = $_POST['email']; $subscribers_file = 'subscribers.txt'; if(!isset($email_address) or $email_address == ''){ die('0'); // email not received or blank } $content = ''; // read lines from the file and store them into an array $content = @file_get_contents($subscribers_file); $lines = preg_split("/(\r\n|\r|\n)/",$content); // open file again for writting $fw = fopen($subscribers_file,'a+'); if($fw == null){ die('0'); // cannot open file to write } // write new email address if not already present if(!in_array($email_address,$lines)) { fwrite($fw,$email_address.''); /* send notification of new subscriber via email */ $email_target = ''; // [email protected] if($email_target != ''){ $email_from = '"Your site name" <[email protected]>'; $email_text = 'New newsletter subscriber: '.$email_address; $email_subject = 'New subscriber'; @mail($email_target,$email_subject,$email_text, "From:".$email_from."\r\nContent-type: text/html; charset=us-ascii"); } /* end of email notification */ } else{ fclose($fw); die('0'); // email already exists } fclose($fw); die('1'); // success ?>on 29/7/10
This are lines 23-42
// write new email address if not already present if(!in_array($email_address,$lines)) { fwrite($fw,$email_address.''); /* send notification of new subscriber via email */ $email_target = ''; //noreply@.com if($email_target != ''){ $email_from = '"I B S" <noreply@.com>'; $email_text = 'New newsletter subscriber: '.$email_address; $email_subject = 'New subscriber'; @mail($email_target,$email_subject,$email_text, "From:".$email_from."\r\nContent-type: text/html; charset=us-ascii"); } /* end of email notification */ }Does the above look correct to you? I took out the domain names on lines 29 & 32 for posting purposes.show all replies
ern137
on 20/4/10
Thanks
Ernie
on 21/4/10
on 21/4/10
on 21/4/10
on 21/4/10
kaweh
on 21/4/10
I have downloaded other components from flabell and they work great but this newsletter component does not work at all. I am using it in an html page and it does not save any email to the .txt file and also the .fla file says to get rid of the one layer which makes sense because only the white bar is what matters but when I do that and republish the whole goes blank. Someone! Anyone?
Kaweh
www.kaweh.com
kaweh
on 21/4/10
Thank you much,
Kaweh
www.kaweh.com
on 21/4/10
If you plan to edit the FLA, please install the fonts first.
on 21/4/10
Thanks
Ernie
on 22/4/10