26

Re: Newsletter 1.0.1

what do you need ?

Re: Newsletter 1.0.1

Warnig Invalid argument supplied for foreach in()  /web/htdocs/www.needforexhaust.com/home/board/plugins/AP_Newsletter.php on line 117


When i send i see this error and the mail not go!!! Any suggestion??
Bye

Re: Newsletter 1.0.1

That probably means no members subscribed wink

Re: Newsletter 1.0.1

????
how the users can subscrive????
Bye thank

Re: Newsletter 1.0.1

There should be a file newsletter.php with a form to subscribe...

Re: Newsletter 1.0.1

oh yes yes, but if i want that all the my user received html mail without subscription?
Bye

Re: Newsletter 1.0.1

Hrmm... you'd need to change some things then.
In AP_Newsletter.php, change

$result = $db->query("SELECT DISTINCT email FROM ".$db->prefix."users WHERE newsletter='true'") or die(mysql_error());

to

$result = $db->query("SELECT DISTINCT email FROM ".$db->prefix."users") or die(mysql_error());

Re: Newsletter 1.0.1

nt work when i send the mail in the msg not show nothing Why?
Bye thanks

Re: Newsletter 1.0.1

help

Re: Newsletter 1.0.1

Are you sure your server supports mail()?

Re: Newsletter 1.0.1

yes

Re: Newsletter 1.0.1

mmmm i don't know!!! how know it

Re: Newsletter 1.0.1

help

Re: Newsletter 1.0.1

Err... I have no idea why it isn't working =/

40 (edited by fantasma 2006-11-04 18:59)

Re: Newsletter 1.0.1

ah ok! maibe the template?
because when i set the template i see this:
http://img513.imageshack.us/img513/6900/senzatitolo1wk1.jpg

Re: Newsletter 1.0.1

Are you sure you've put the files in the plugins/newsletter_templates/ folder? (I think that's the one)

Re: Newsletter 1.0.1

see this structure
http://img215.imageshack.us/img215/6324/senzatitolo1da8.jpg

Re: Newsletter 1.0.1

What PHP version are you running?

44 (edited by jlangrock 2006-11-05 14:11)

Re: Newsletter 1.0.1

Hi I had the same error in the beginning,
I have now the AP_newsletter.php in the same folder and it works now.

http://www.galopp-sport.eu/forumgalopp/newsletter.jpg produces

The poor horseman without horses
www.galopp-sport.eu

http://claimid.com/jlangrock
[img]http://claimid.com/images/hcard.gif[/img]

Re: Newsletter 1.0.1

As long as your have this line in AP_Newsletter.php it should be fine:

$dir = PUN_ROOT."plugins/Newsletters";

Although you can try changing it to

$dir = "Newsletters";

but I don't think that'll work =/

Re: Newsletter 1.0.1

elbekko wrote:

What PHP version are you running?

My php ver is 4.4.4

Re: Newsletter 1.0.1

jlangrock wrote:

Hi I had the same error in the beginning,
I have now the AP_newsletter.php in the same folder and it works now.

http://www.galopp-sport.eu/forumgalopp/newsletter.jpg produces

WOW now it work nice!!!! thanks !!!!