Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 12:37:21 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149636 Posts in 21099 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 [2] 3 4 5   Go Down
Print
Author Topic: Newsletter module  (Read 30224 times)
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #25 on: March 06, 2008, 09:36:29 AM »

Hello Ralf,

Thank you for your quick responding.

Unfortenately that does not work for me:

Code:
<?php  
if (function_exists('newsletter_info')) {    
newsletter_info('members','Non members','info@mycompany.com',true,true);  }
?>

I don't receive an email on subscription. So far the only view I have about the subscribers is when I sent a massmail. Then in the BCC all emails appear.

1) You can create groups within the massmail. How can I select subscribers to put under a certain group?
2) Is it possible on subscription that new subscribers can select a group?
3) Are there more ways to view the subscribers?
Logged

...:: Bake the Unbakable ::...
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #26 on: March 06, 2008, 03:09:21 PM »

Hello,

your code isn't correct, newsletter_info has only 4 parameters (therefore you won't receive any status mails). Please take a look at my homepage for explanation of the parameters.

At the actual release it isn't possible for the subscriber to choose between multiple newsgroups. I'm not shure if it is necessary to implement such a feature (?).

There are no further ways to view the subscribers - you may ask the developers of massmail...

I've added to the todo list of newsletter snippet the option to send some statistics about the actual subscribers with the status mails - to list the subscribers within the status mails will go beyond the scope of newsletter snippet.

Regards
Ralf
Logged
nesquick

Offline Offline

Posts: 12


« Reply #27 on: April 09, 2008, 09:13:28 AM »

Hi,
I made a FR.php, if you're interested...

To put in modules > newsletter > languages
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #28 on: April 09, 2008, 03:39:23 PM »

Hi,

thank you very much - certainly I'm interested in the FR.php, I will publish it with the next release!

Regards
Ralf
Logged
babsy

Offline Offline

Posts: 311


« Reply #29 on: April 11, 2008, 02:20:06 PM »

Hi ... i have installed the massmail and the newsletter module.. so far so good... but i have some questions, that i can´t find answers to!

Everytime i try to ad a new address, it doesn´t matter wich one, i get this error:

Error: While sending the activation link to the email address leivurt@hotmail.com occurred an error.
Please contact the support.

but i can´t figure out... what is wrong.. any idea.... ?

and does it matter wich email address i use in the php function, that goes in the template??

Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #30 on: April 11, 2008, 04:11:53 PM »

Hi,

the message "Error while sending..." occurs if the email address is invalid or if it is not possible to send an email to this address.

And yes, it matter which address you use within the php function because the newsletter snippet use this address as sender.

ad hoc I don't see any reason for the error message. Which WB are you using?

Regards
Ralf
Logged
babsy

Offline Offline

Posts: 311


« Reply #31 on: April 11, 2008, 07:35:17 PM »

Hi...

im using the newest version, i just installed it last week, and the weird thing is that it does work to send massmail out.. there are 2 mail addresses in the group (i subscribed just after i installed everything) and it didn´t work today??
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #32 on: April 11, 2008, 07:45:33 PM »

Hi,

the newsletter snippet only adds or remove addresses to the massmail groups. Massmail may use other addresses for sending newsletters than the newsletter snippet for sending the activation mails.

Again: which WB version you are using?

Regards
Ralf
« Last Edit: April 11, 2008, 10:11:18 PM by Ralf (Berlin) » Logged
babsy

Offline Offline

Posts: 311


« Reply #33 on: April 11, 2008, 07:54:43 PM »

hi....

 im using 2.6.7
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #34 on: April 11, 2008, 08:00:39 PM »

Hi,

ok - please post the code you are using for the newsletter snippet. Are you using the snippet within your template or as code section?

Regards
Ralf
Logged
babsy

Offline Offline

Posts: 311


« Reply #35 on: April 11, 2008, 08:07:53 PM »

my code is: <?php if(function_exists('newsletter_info')) {
  newsletter_info('Newsletter','barbara*cre8.fo',true,true);  } ?>

and its in the template!
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #36 on: April 11, 2008, 08:21:07 PM »

Hi,

barbara*cre8.fo is no valid email address, please replace it with a valid email address and the newsletter snippet will work...

Regards
Ralf
Logged
babsy

Offline Offline

Posts: 311


« Reply #37 on: April 12, 2008, 08:24:37 PM »

its barbara@cre8.fo that im using...  undecided
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #38 on: April 13, 2008, 03:36:54 PM »

Hmmm, I don't detect any problem...

You should have received some Info E-Mails and Activation Links for a Newsletter which I have created with the Newsletter Snippet using your address as sender and as receiver over my website without any problems.

Please try to set the textOnly switch to false:

Code:
<?php if(function_exists('newsletter_info')) {
  
newsletter_info('Newsletter','barbara@cre8.fo',false,true);  } ?>

In this case the newsletter snippet will use the WebsiteBaker function $wb->mail() without any modification...

Regards
Ralf
Logged
babsy

Offline Offline

Posts: 311


« Reply #39 on: April 14, 2008, 08:38:17 AM »

Hi... sorry, i have changed it, but still no luck... its at the homepage... www.kbi.tempdom.com.... (it´s the top box on the right side..... Newsletter = tíðindabræv".....
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #40 on: April 14, 2008, 03:56:42 PM »

 huh Hmmm, Sorry, but at the moment I have no idea...

Do you have any problems sending emails with other modules, i.e. can you send a newsletter with massmail?

Regards
Ralf
Logged
gilly

Offline Offline

Posts: 49


« Reply #41 on: April 22, 2008, 06:30:15 AM »

how do I go about changing the html of the form that this module outputs?

I want to remove the table it sits in, and apply my own classnames.

I have looked through all the newsletter module files, but cant find any that actually output any html.

Can anyone point me in the right direction?

Cheers
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #42 on: April 22, 2008, 06:32:38 PM »

Hi,

the Newsletter module strictly separate HTML from code, so you will find the templates in the subdirectory /htt. Look for submit.htt it's pure HTML. Within the template you will find placeholders, i.e. {intro} or {header_email} which will be replaced while executing the newsletter module - don't change or delete them.

I think it should be easy for you to create a template without tables...

Regards
Ralf
Logged
exxos

Offline Offline

Posts: 2


« Reply #43 on: April 24, 2008, 12:06:59 PM »

Hi There,

I'm testing this module.
It is an excellent tool and thank you for you great job you have done on it. If I have time, I will help you to develop it. (I’m Java developer but, I like spend some time with PHP too)
But, for the moment, I have some remarks and I try to find quick answers.

1- Subjectively, personal remark:

For my part, the name of this snippet should "subscriber" instead of "newsletter"
This module can be developed in the way to collaborate with all others modules that need emails. (or maybe not) wink

2 - Internationalizatio n Improvement:

To improve the support of the FR.php, I had to update the class.parser.php
Adding these lines in decodeSpecialChars and encodeSpecialChars methods
     $value = ereg_replace("é","&eacute;",$value);
    $value = ereg_replace("ê","&ecirc;",$value);
    $value = ereg_replace("è","&egrave;",$value);
    $value = ereg_replace("à","&agrave;",$value);

3- Is UTF-8 a real issue or miss configuration?

My website baker is configured to UTF-8 and I live in France, but my host provider maybe not. (It is Linux host somewhere in the world)

The problem is, that the email sent by the module shows wrong encodings character . Thunderbird is set to UTF-8 but the emails seem to not be well encoded. Maybe it could be, a misunderstood with the Templates and the FR.php?
I saw that wbmailer() tries to detect the Charset Encoding set by default for the website, but I do not why the mails that Thunderbird receive, are wrong encoding. (I'm talking about the emails for activation)
If we fix this issue, the methods for replacing extended HTML char code (see above) will be useless.

exxos
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #44 on: April 25, 2008, 03:34:37 AM »

Hello exxos,

thank you for this valuable feedback!

Quote
For my part, the name of this snippet should "subscriber" instead of "newsletter"
This module can be developed in the way to collaborate with all others modules that need emails. (or maybe not) wink

this is a charming idea, perhaps it will take this way  cool

Quote
To improve the support of the FR.php, I had to update the class.parser.php
Adding these lines in decodeSpecialChars and encodeSpecialChars methods
    $value = ereg_replace("é","&eacute;",$value);
   $value = ereg_replace("ê","&ecirc;",$value);
   $value = ereg_replace("è","&egrave;",$value);
   $value = ereg_replace("à","&agrave;",$value);

This improvement affects not only the newsletter snippet - class.parser.php will be used within all of my modules. It will be updated for all modules the next releases. Thank you!

Quote
Is UTF-8 a real issue or miss configuration?

I have never looked for this problem - the newsletter snippet simply uses the wbmailer(), but I will check it next time...

Regards
Ralf
Logged
gilly

Offline Offline

Posts: 49


« Reply #45 on: April 25, 2008, 06:39:15 AM »

Hi,

the Newsletter module strictly separate HTML from code, so you will find the templates in the subdirectory /htt. Look for submit.htt it's pure HTML. Within the template you will find placeholders, i.e. {intro} or {header_email} which will be replaced while executing the newsletter module - don't change or delete them.

I think it should be easy for you to create a template without tables...

Regards
Ralf

Hi Ralf, thanks for your help, I was able to convert it to tableless relatively easily.
Logged
exxos

Offline Offline

Posts: 2


« Reply #46 on: April 25, 2008, 10:36:46 AM »

Quote

Is UTF-8 a real issue or miss configuration?

I have never looked for this problem - the newsletter snippet simply uses the wbmailer(), but I will check it next time...

Regards
Ralf


In fact it is true as well with the way, how the snippet displays texts in the website, from his templates. If you do not use the special HTML codes (i.e. &eacute) the special char are not well displayed.

Example with the word "Intérêt" <- "é" and "ê" are not displayed correctly.

To conclud, this issue is not related to the way how you send email but with the way you deal with "string" and templates (htt)

Regards,
exxos

« Last Edit: April 25, 2008, 10:40:04 AM by exxos » Logged
babsy

Offline Offline

Posts: 311


« Reply #47 on: April 27, 2008, 04:13:00 PM »

hi again!
i have tried it on several webpages now, and its the same, no matter how i do: just wondering if i´m making something wrong, when installing....

1: i install the massmail module
2. i install the newsletter module
3. i made a page WYSIWYG where i put this code on:
if(function_exists('newsletter_info')) {
  newsletter_info('Newsletter','barbara@cre8.fo',true,false);  }

 * barbara@cre8.fo - is just my normal email, that i use every day, the page is www.tp.fo....

4. i made a new page (massmail page) under the other page, wich i send email from!
5. i made a group called "Newsletter" and i send letters from there, and i get the mails to my inbox?

but i still get this error when trying to sign up a new address:
Error: While sending the activation link to the email address barbara_bis@yahoo.com occurred an error.
Please contact the support.


and if i try the email address one more time i get this error: Error: The email address barbara_bis@yahoo.com is still waiting for activation by the transmitted activation link.

(the email is active, and i use it often, and its the same for all mail addresse??)
« Last Edit: April 27, 2008, 04:18:01 PM by babsy » Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #48 on: April 28, 2008, 03:53:09 PM »

Hello Babsy,

there is no obviously error or problem and I have no more ideas for your problem.

Perhaps you may give me temporarily access (via private Mail) to your page to check it directly?

Regards
Ralf
Logged
babsy

Offline Offline

Posts: 311


« Reply #49 on: April 28, 2008, 03:56:50 PM »

Hi Ralf...

yes, thats ok, the page is still very new and not official!
where can i get your mail!
Logged
Pages: 1 [2] 3 4 5   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!