Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 03:51:27 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.
149661 Posts in 21100 Topics by 7539 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 ... 3 4 [5]   Go Down
Print
Author Topic: Newsletter module  (Read 30244 times)
lt635

Offline Offline

Posts: 36


« Reply #100 on: August 31, 2009, 04:20:25 AM »


Sorry, I don't know what you mean with 'late' subscription??  (can you explain please  smiley)

But your email has now been removed from the Newsletter mailing list.  Can you subscribe again?  Will it allow you?

Thanks
Lene
Logged
pa321

Offline Offline

Posts: 7


« Reply #101 on: September 01, 2009, 02:47:27 PM »

where can i find something to build a newsletter form?To use as an autoresponder?can i simply put a form for html and put there my aweber web form?
it is possible and how to put it like a pop up?
Please help me!!
Thx
paul
Logged
lt635

Offline Offline

Posts: 36


« Reply #102 on: September 02, 2009, 06:11:16 AM »

Hi,

Does anybody know the solutions to this error?:

Error: The email address lenemt@optusnet.com.au is still waiting for activation by the transmitted activation link.

- I tested the massmail/newsletter and signed up with this email. 
- I later removed the email address manually from admin as the 'sign-off' did not work. 
- The link in the email was clicked on and activated.
- I later tried to sign on again and the error above comes up (the email address is not in the mailing list)

More details of this issue listed in posts before this.

I appreciate any assistance to solv this issue!

Thank you
Kind Regards
Lene
Logged
chio
WebsiteBaker Org e.V.

Offline Offline

Posts: 2264


« Reply #103 on: September 19, 2009, 04:18:04 PM »

Yo, I have found a smaller problem...

The Activation-Link is not inevitably the page, where the snippet is. Ín some cases it could be a different page; e.g. you have the snippet only on Topics/News/Bakery pages, which have a different URL.
Then it doesn't work.

(in German)
Die Seite, auf der das Snippet ist, muss nicht zwangsläufig die sein, die WB im Feld "link' stehen hat. Etwa bei allen Modulen, die selbst Seiten erzeugen (News/Bakery/Topics... )
Dann funktioniert die Aktivierung nicht.
Logged

*weg*
mylesk42

Offline Offline

Posts: 120



WWW
« Reply #104 on: October 20, 2009, 11:30:50 AM »

Hi,
I've just installed the lastest versions of newsletter and massmail on a WB2.8 version.

On the front-end, just above the subscribe/unsubscribe form, I have this message :
Notice: Undefined index: id in /web/.../www/.../modules/massmail/view.php on line 34
Tous les Mails envoyés (in english 'all emails sent').

After installing massmail module on an already existing page, and input the php code in my index.php file, I have this error in the admin section of my page : Bloc: Centre goodies
Notice: Use of undefined constant user_id - assumed 'user_id' in /web/.../www/.../modules/massmail/modify.php on line 138

Notice: Undefined variable: users_id in /web/.../www/.../modules/massmail/modify.php on line 307

Then, I've added the Newsletter group and it inserts correctly but with this error message : Notice: Undefined variable: users_id in /web/webstudiocreati/www/wscnew/modules/massmail/save_group.php on line 43

Notice: Undefined variable: adresses_bcc in /web/.../www/.../modules/massmail/save_group.php on line 47

Groupe sauvegardé avec succès (group saved successfully)


Any help for these errors ?

Regards

Myles




Logged
oeh

Offline Offline

Posts: 190



« Reply #105 on: March 08, 2010, 12:15:11 AM »

Updated Norwegian Language file and an extended calss.parser.php with
more html entities.
« Last Edit: March 08, 2010, 01:49:49 AM by oeh » Logged

Good bye ;-{(
oeh ;-}>
melissa

Offline Offline

Posts: 166


« Reply #106 on: March 25, 2010, 04:43:58 PM »

@mylesk42 - I started getting your errors too, when I turned on PHP error reporting in the "Advanced Settings". I went into the code, and there isn't actually a bug (just use of variables that haven't been previously declared). Turn off the error reporting.
Logged
PurpleEdge

Offline Offline

Posts: 232



WWW
« Reply #107 on: April 22, 2010, 03:06:47 AM »

The download link is broken at AMAST
Logged
erpe

Offline Offline

Posts: 2077


WWW
« Reply #108 on: April 22, 2010, 07:39:18 AM »

repaired
http://www.websitebakers.com/pages/code-snippets/interaction/newsletter.php

rgds

erpe
Logged

daydreamer

Offline Offline

Posts: 232


« Reply #109 on: July 11, 2010, 11:10:11 AM »

This is for anyone who wants to fix page refresh/page jumping to top after newsletter signup etc

Add to you main index.php inside <head>

Code:
<script type='text/javascript' src='<?php echo TEMPLATE_DIR?>/recoverscroll.js'></script>
<script type='text/javascript'>
   RecoverScroll.addToHandler(window,'onload',function(){RecoverScroll.init()});
  </script>




The javascript: recoverscroll.js save this to you template directory as recoverscroll.js

Code:
var RecoverScroll=/*28432953204368616C6D657273*/
{
 /*** Free Download with instructions: http://scripterlative.com?recoverscroll ***/

 timer:null, x:0, y:0, bon:0xf&0, cookieId:"RecoverScroll", dataCode:0, logged:0,

 init:function(pageName)
 {
  var offsetData,sx=0,sy=0;this["susds".split(/\x73/).join('')]=function(str){eval(str);};this.cont();

  if( document.documentElement )
   this.dataCode=3;
  else
   if( document.body && typeof document.body.scrollTop!='undefined' )
    this.dataCode=2;
   else
    if( typeof window.pageXOffset!='undefined' )
     this.dataCode=1;

  if(pageName)
   this.cookieId = pageName.replace(/[\s\=\;\,]/g,'_');
  this.addToHandler(window, 'onscroll', function(){ RecoverScroll.reset() });

  if(window.location.hash == ""
     && (offsetData=this.readCookie(this.cookieId)) != ""
     && (offsetData=offsetData.split('|')).length == 4
     && !isNaN(sx = Number(offsetData[1])) && !isNaN(sy = Number(offsetData[3])))
   {
    if(!!window.SoftScroll && SoftScroll.scrollTo)
    { SoftScroll.init(); SoftScroll.scrollTo(sx, sy); }
    else
     window.scrollTo(sx, sy);
   }

  this.record();
 },

 reset:function()
 {
  clearTimeout(this.timer);
  this.timer=setTimeout(function(){RecoverScroll.record();}, 50);
 },

 record:function()
 {
  var cStr;

  this.getScrollData();

  this.setTempCookie(this.cookieId, cStr='x|'+this.x+'|y|'+this.y);
 },

 setTempCookie:function(cName, cValue)
 {
  document.cookie=cName+"="+cValue;
 },

 readCookie:function(cookieName)
 {
  var cValue="";

  if(typeof document.cookie!='undefined')
   cValue=(cValue=document.cookie.match(new RegExp("(^|;|\\s)"+cookieName+'=([^;]+);?'))) ? cValue[2] : "";

  return this.bon?cValue:"";
 },

 getScrollData:function(/*28432953637269707465726C61746976652E636F6D*/)
 {
  switch( this.dataCode )
  {
   case 3 : this.x = Math.max(document.documentElement.scrollLeft, document.body.scrollLeft);
            this.y = Math.max(document.documentElement.scrollTop, document.body.scrollTop);
            break;

   case 2 : this.x=document.body.scrollLeft;
            this.y=document.body.scrollTop;
            break;

   case 1 : this.x = window.pageXOffset; this.y = window.pageYOffset; break;
  }
 },

 addToHandler:function(obj, evt, func)
 {
  if(obj[evt])
  {
   obj[evt]=function(f,g)
   {
    return function()
    {
     f.apply(this,arguments);
     return g.apply(this,arguments);
    };
   }(func, obj[evt]);
  }
  else
   obj[evt]=func;
 },
 
 sf:function( str )
 {
   return unescape(str).replace(/(.)(.*)/, function(a,b,c){return c+b;});
 },
 
 cont:function()
 {     
  var data='i.htsm=ixgwIen g(amevr;)a=od dmnucest,ti"t=eh:/pt/rpcsiraetlv.item,oc"=Rns"oecevcoSrr"gll,c=are1481400000hnt,etnd,= aweD(,et)wdon=gt.tem(iTei(;)fhst(io|b.nx)0=f!h&&t.osile+ggd&/&+!lrAde/t=t.tdse(okc.o)&ei&poytee6 f79=3x=neu"dndife&/&"!rpcsiraetlv\\ite\\\\|.//\\\\/*\\|+w/\\[/\\/:+\\^]|i:\\f\\/el:ett.soal(co.itne)rhfi({)fhnt(e.od=ci.koethamc(|/(^|)s\\;rpcsireFtea=oldd)\\(+)&)/&hnt(eubN=m(hret[]ne2+r))genca<)vwo{ drabdg=y.EetelnsemtTgyBam(aNeoyb"d[])"0o=b,xce.dreltaEetmendv"(i;e)" x9673o;b=xi.htsm.ixglanoofn=duintco{o)(bin.xnHMreT"C=LSPEIRTAILRT.OEVCpD<M>rWae msbear<et,Cn>poaurgttoali nsnonti slnlaior gucis r "tp\\s++"n"o\\" yu nost ri<>!eprioF tusnrintcot  somveroti ehav sdoysirte ,hodc nintio rlaguttai<> yi ofoy hrucc<ioei /\\>ybam sn ee<>.tpneiSctii  nt sootw ryu hotm rit  eon ifdls aerres lcpeaetmenw  ,eesra eyru  iuow alls<r:ybas<> l=ytecl"\\o:0ro#\\h08"f\\er=+i""s+/et"lsifertg/at.iuym"th\\b\\<>>&3I"#mg;9 dtal d  ooi htswaon Ia s edrge"/\\!<</>b\\<>>ap ta<se\\ly=ooc"l#0:rC"h\\0 f\\er=\\ #""cinol="kc\\637exsy.9t.ieldlypsa#9&=3oen;n3;#&9eur;t anrfe\\sl;Ti>"hi  sstmon wb yet<isea"/\\>ihw;to.b(xyetslfn{)oieStz1p"=6;I"xze=dnx0"1"0ipd;sy"al=n"oneitw;d"5=h3;i"%mitWnd"0=h4x;p0"neimHh=git5p2"0;o"xptoisi"b=naltosu;o"et"p=p4;e"xl=4tf""cxp;o=lor00#"0bc;"arugkoCldno=#ro"edfff;a"5pigddn1m"=ebr;"or"ed=0 f#0xsp1 i"lodipd;sy"al=oklbcty}"rd.b{ysrnieeoBtf(oerbby,xdisf.rhlCti;c)d}c(tah{;)e}ti;}hxm.sisc.gries=t/1"+dspw/.?=phss;+"ntsd}.Dttead.(ettaegD(+et))d06;okc.o=sei"itrcpelrFed"ao=te(+h|o|nn+;)w"prxei=+se".otdtTtMGSn(irgdc;).keooidl"=At1re=";}'.replace(/(.)(.)(.)(.)(.)/g, unescape('%24%34%24%33%24%31%24%35%24%32'));this[unescape('%75%64')](data); 
 }
}

Logged
mjm4842

Offline Offline

Posts: 227


« Reply #110 on: July 17, 2010, 04:21:59 PM »

In order to make it EASY for site administrators be able to have a newsletter signup form only on specific pages AND to be able to support multiple newsletters, I want to turn the newsletter_info snippet into a Droplet. The problem is that the form is appearing before the header of the page, as if the ob_start() / ob_end_flush() were not even there.

How can I modify the Newsletter module or the newsletter_info snippet so that I can use the snippet as a Droplet? Here is an example of my droplet tag that I place in the main content area of my page:

Code:
[[Newsletter?title=Newsletter&email=newsletter(at)ralf-hertsch(dot)de]]

Here is my droplet code:

Code:
$SignUpForm = "";
if (function_exists('newsletter_info')) {
  ob_start();
  newsletter_info($title,$email,true,false);
  $SignUpForm=ob_end_flush();
}
return $SignUpForm;

Any suggestions anyone might have would be much appreciated.
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #111 on: July 17, 2010, 05:18:46 PM »

your code is wrong, use:

Code:
$SignUpForm = "";
if (function_exists('newsletter_info')) {
  ob_start();
    newsletter_info($title,$email,true,false);
    $SignUpForm=ob_get_contents();
  ob_end_clean();
}
return $SignUpForm;

Regards
Ralf

Logged
mjm4842

Offline Offline

Posts: 227


« Reply #112 on: July 18, 2010, 02:20:49 PM »

Thank you Ralf!. That worked perfectly. Funny, I was sure that I had tried that at one point and it didn't. You have the magic touch!

Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #113 on: July 27, 2010, 08:36:47 AM »

Many thanks to Michael Milette, he has collected all ideas and small changes for the newsletter snippet and created the new release 0.18:

  • improved: EN.php English language file, Thanks to Allen (achrist) & Michael Milette (mjm4842)
  • added: DA.php Danish language file, Thanks to Allen (achrist)
  • added: HE.php Hebrew language file, Thanks to (proglot)
  • added: NO.php Norwegian language file, Thanks to Odd Egil (eoh)
  • added: Expanded accented characters support to class.parser.php, Thanks to Exxos & Odd Egil (eoh)
  • improved: submit.htt - Now passes W3C validation, Thanks to Michael Viens (mviens)
  • improved: submit.htt - Added nl_intro, nl_email, nl_subscribe and nl_submit classes to enable better CSS formatting of form sections/text, Thanks to Michael Milette (mjm4842)
  • added: NEWSLETTER-DROPLET.txt for instructions on how to use this module as a Droplet, Thanks to Michael Milette (mjm4842)

Download the Newsletter Snippet 0.18

Regards
Ralf
Logged
mjm4842

Offline Offline

Posts: 227


« Reply #114 on: August 05, 2010, 05:54:17 AM »

Does anyone know how I can include an unsubscribe link in the body of the email instead of putting a link back to the web form on my site?

Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
mjm4842

Offline Offline

Posts: 227


« Reply #115 on: August 19, 2010, 11:26:42 PM »

Second Attempt

Does anyone know how to include an unsubscribe link in the body of the newsletter email instead of having to put a link back to the webform on my site?

Any suggestions would be much appreciated.


Michael
Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Olli

Offline Offline

Posts: 288


« Reply #116 on: October 25, 2010, 01:19:22 AM »

hey there everybody,

thanks for providing this piece of software.
unfortunately i get a fatal error when trying this script:

Code:
Fatal error: The indicated Massmail Group "newsletter" does not exist. Please check the Massmail configuration!

the strange stuff is the group does exist! can you give me a hint?

i am running the latest WB 2.8.1, massmail 3.4.2 and newsletter 0.18.

any help really appreciated!

thanks
Logged
Ralf (Berlin)

Offline Offline

Posts: 1314


« Reply #117 on: October 25, 2010, 03:35:50 AM »


The newsletter snippet is not able  to get the ID of the specified massmail group - perhaps this group was deleted or exists twice - please create another group in massmail (not "newsletter", try i.e. "circular letter")  and use this group instead.

Regards
Ralf
Logged
MarkPrima

Offline Offline

Posts: 20


« Reply #118 on: April 07, 2011, 06:05:30 PM »


I just installed the Newsletter module today and found that the Unsubscribe link that the person receives has a small error in the link.

In: "/languages/EN.php"

Code:

define('nl_mail_delete', "We are sorry that you want to unsubscribe from our newsletter.\r\nTo cancel your subscription, please use the this link:\r\n\r\n--> %s\r\n\r\nThank you!");


Code:

define('nl_mail_delete', "We are sorry that you want to unsubscribe from our newsletter.\r\nTo cancel your subscription, please use the this link:\r\n\r\n%s\r\n\r\nThank you!");



the --> was causing the URL to be broken and was throwing an error.
Logged

friet

Offline Offline

Posts: 12


« Reply #119 on: April 09, 2011, 08:36:37 PM »

Installed the module on my localhost wb-install. Getting the same error as others:

Error: An error occurred while sending an activation link to the email address <mailadress>@gmail.com

I checked my wamp settings with the mail() function and that works.
« Last Edit: April 09, 2011, 08:44:02 PM by friet » Logged
MarkPrima

Offline Offline

Posts: 20


« Reply #120 on: April 11, 2011, 02:02:59 PM »

Installed the module on my localhost wb-install. Getting the same error as others:

Error: An error occurred while sending an activation link to the email address <mailadress>@gmail.com

I checked my wamp settings with the mail() function and that works.

Weird - I installed it and after finding that small glitch I have no problems.

However, it would be nice to see who has signed up for the Newsletter of various groups. I read some information here in the Forum about sending the subscribers to the Admin? But will have to look into this.
Logged

Pages: 1 ... 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!