LOGIN Don't have an account yet?   Register

Forgot password?
 
Newsletter Signup Component

Newsletter Signup Component screenshot

Preview:   Downloads: 300

Last update (1):Wed, Jan 13th 2010, 00:00

 

$6
 
Search comments:

 
vtalerico

Vincent Talerico

on 26/11/09

 
Hey man...I want that flash file near the top right of the website. Brain storm the functionality for somthing like that and let me know if you can throw it together! I'd love to utilize a feature like that on my site.
has downloaded icon
has support ticket icon
 
bobocel

Andrei Potorac

on 27/11/09

 
Vincent, the component is basically the white Flash Component in the middle. The background and the title are only for preview purposes.

 
ugrinwald

Uri Grinwald

on 27/12/09

 
Was wondering what is customizable here?
Thanks
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 27/12/09

Hi! You can download the preview for free, and check the XML files. Everything is customizable. :-)
has downloaded icon
has support ticket icon
 
bobocel

Andrei Potorac

on 13/1/10

 
New update(1): We fixed a bug where the component was generating an error instead of saving the information in the text file.

Please download the update from your Flabell account.
 
Hi,

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
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 16/2/10

In subscribers.txt the emails will be posted one on each line. That's what you needed to know?
 
Hi,

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
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 17/2/10

What this component does is:

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.
has downloaded icon

 
Ivanners

Ivan Arango

on 25/3/10

 
there is a way to put a code to send the info to an e-mail inside of the php file? if there is a way... could you guys write me the code... if is not too much to ask!
 
vlad.serban

has downloaded iconhas support ticket iconVlad Serban

on 26/3/10

hey... sure. just add the following snipet after the IF "if(!in_array($email_address,$lines)){" (at line 24)

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 */

                
 
zszilagyi

has downloaded iconzszilagyi

on 27/5/10

This is very helpful. I added to the end of line 24 (after the "{"). Did you mean to add it directly after the "if" (and before the "(if_array")? I did the latter first and it didn't work (e.g. the email address wouldn't even save to the subscriberes.txt).
Also, where do we place the email address of where went want the email notification to be sent?

 
daddyputt

has downloaded iconhas support ticket icondaddyputt

on 28/7/10

I cannot get the email forwarding to work.
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]
) ???
 
Hi,
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

?>

                
 
daddyputt

has downloaded iconhas support ticket icondaddyputt

on 29/7/10

It is writing to the txt file. But it won't send it to the address I need it to go.
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

has downloaded icon

 
ern137

ern137

on 20/4/10

 
I need help setting the newsletter signup form, what are the settings required on the php file.

Thanks
Ernie
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 21/4/10

Hello. There is no setting. Only make sure you have PHP installed on your server.
 
ern137

has downloaded iconern137

on 21/4/10

you mean to install it to the Mysql?
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 21/4/10

I mean, have a server that supports PHP.
 
ern137

has downloaded iconern137

on 21/4/10

yeah my server support php, i just need the steps to set it up. Thanks for the fast reply.
has downloaded icon

 
kaweh

kaweh

on 21/4/10

 
Hello,

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
has downloaded icon

 
kaweh

kaweh

on 21/4/10

 
ok, correction. The swf file works and it does save the emails. It just doesn't do it on a computer. It has to be uploaded to server. BUT, it still goes out of wack when I delete the shadow and/or the layer that the file says to delete. I just need the little white bar. Did anyone manage that? just to be clear, I am using this in html.

Thank you much,

Kaweh
www.kaweh.com
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 21/4/10

Hi. Sure you have to use it on a server. As I said, it needs PHP support.

If you plan to edit the FLA, please install the fonts first.
 
ern137

has downloaded iconern137

on 21/4/10

all the files are on the server and is not working, do i have to create a database for it?

Thanks
Ernie
 
bobocel

has downloaded iconhas support ticket iconAndrei Potorac

on 22/4/10

Nope, it writes the data in the txt file. Please have a look at the PHP code.

Post a comment


Please login to join the discussions. Don't have an account? Register (it takes 30 seconds)


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

Custom Star Rating Component

Custom Star Rating...

This is a minimalist rating system, with highly customizable... read more


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!

Premium membershipPremium membership
read more

10 Gold Tickets Pack10 Gold Tickets Pack
read more

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?

Support ticketGet 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!