We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27628
    • 5 Posts
    I need help if someone can help me

    I downloaded one called "Easy Newsletter" from a different website
    and it looks exactly the same, but does not include the same files as this one does

    The one I have includes
    Admin.php
    Index.php
    Install.php <-- which auto installs everything to my database
    config.php

    Thats all that is in it, and I set it all up perfectly
    thing is emails are not sending, it says Email sent to the person I sent it to (myself for test) and its not in my email inbox.

    Just wondering if someone can do some 1 on 1 support with me to fix my problem

    Edit: This is where the I got the Easy Newsletter script from which includes all the files I mentioned above
    http://plohni.com/wb/content/php/Free_scripts.php
    at the bottom you will see Easy Newsletter
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      That script has nothing at all to do with MODx. I would suggest you go to the source of the script for help.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 25560
        • 16 Posts
        Is it possible to have the subscribe form appear on every page?

        I have it in my template but it only works once, then the message "Thanks for subscribing.." appears and won’t go away. I guess this is down to template caching? is this preventable?

        any insight thanks, otherwise its working perfectly.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I believe it’s a cookie, to keep the user from subscribing multiple times.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 26931
            • 2,314 Posts
            Hi everybody,

            i just upgraded a site to Evolution 1.0.1 and everything went well - i use Easy Newsletter 0.3 and it’s working great, but i still get a sytem event error when i send a newsletter...i posted this problem (not a real problem, since it’s working though...the error just bugs me smiley ) a couple of months ago and thought this is a good time to catch up on this...

            i’m using Easy Newsletter 0.3 and get one sytem event error i don’t know to get rid of. Easy Newsletter is working without problems though...so the error i get is: "Use of undefined constant IsQmail - assumed ’IsQmail’", i’m using smtp btw., does anybody know a solution to this?

            the other error i got was "Undefined variable: lang_subscriber_action" by adding "$lang_subscriber_action = "";" i solved the problem, but can somebody tell me what should be written in the brackets?
            anyone got a clue what i could do about this?

            thanks, j
              • 15152
              • 360 Posts
              I have two clients that are asking for some sort of notification when someone signs up. Does anyone know how / if this can be done?
                There are no boring projects. Only boring executions. ~ Etzkorn
                www.impress-design.com
                • 16545
                • 358 Posts
                Evo 1.0.2

                After module installation I’ve these errors in module backend interface:

                Warning: include(languages/english.php) [function.include]: failed to open stream: No such file or directory in /home/taurasblaz/domains/laisic.xx/public_html/manager/processors/execute_module.processor.php(114) : eval()'d code on line 75
                
                Warning: include(languages/english.php) [function.include]: failed to open stream: No such file or directory in /home/taurasblaz/domains/laisic.xx/public_html/manager/processors/execute_module.processor.php(114) : eval()'d code on line 75
                
                Warning: include() [function.include]: Failed opening 'languages/english.php' for inclusion (include_path='.:/usr/share/pear:/home/taurasblaz/domains/laisic.xx/public_html/manager/includes/') in /home/taurasblaz/domains/laisic.xx/public_html/manager/processors/execute_module.processor.php(114) : eval()'d code on line 75
                
                Easy Newsletter 0.3 - © 2007 SimpleShop.dk
                       | |
                
                
                Warning: include(backend.php) [function.include]: failed to open stream: No such file or directory in /home/taurasblaz/domains/laisic.xx/public_html/manager/processors/execute_module.processor.php(114) : eval()'d code on line 89
                
                Warning: include(backend.php) [function.include]: failed to open stream: No such file or directory in /home/taurasblaz/domains/laisic.xx/public_html/manager/processors/execute_module.processor.php(114) : eval()'d code on line 89
                
                Warning: include() [function.include]: Failed opening 'backend.php' for inclusion (include_path='.:/usr/share/pear:/home/taurasblaz/domains/laisic.xx/public_html/manager/includes/') in /home/taurasblaz/domains/laisic.xx/public_html/manager/processors/execute_module.processor.php(114) : eval()'d code on line 89
                  • 10913
                  • 66 Posts
                  Just installed this for a client. Looks great. Made some mods and translated to finnish. I will up the translation as soon as I’ll get it cleaned.

                  But the mod is the main reason for me to write here.

                  I changed this (language selection part):
                  if(mysql_result($result,$i,"lang_frontend") == 'english'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="english"'.$dropdown2.'>English</option>';
                  if(mysql_result($result,$i,"lang_frontend") == 'danish'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="danish"'.$dropdown2.'>Dansk</option>';
                  if(mysql_result($result,$i,"lang_frontend") == 'italian'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="italian"'.$dropdown2.'>Italiano</option>';
                  if(mysql_result($result,$i,"lang_frontend") == 'german'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="german"'.$dropdown2.'>Deutsch</option>';
                  $list .= '</select></td></tr>';
                  $list .= '<tr><td> </td><td>  '.$lang_config_lang_website_description.'</td></tr>';
                  
                  $list .= '<tr><td><strong>'.$lang_config_lang_manager.'</strong></td><td>: <select name="lang_backend">';			
                  
                  if(mysql_result($result,$i,"lang_backend") == 'english'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="english"'.$dropdown2.'>English</option>';
                  if(mysql_result($result,$i,"lang_backend") == 'danish'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="danish"'.$dropdown2.'>Dansk</option>';
                  if(mysql_result($result,$i,"lang_backend") == 'italian'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="italian"'.$dropdown2.'>Italiano</option>';
                  if(mysql_result($result,$i,"lang_backend") == 'german'){$dropdown2 = ' selected="selected"';} else {$dropdown2 = '';}
                  $list .= '<option value="german"'.$dropdown2.'>Deutsch</option>';
                  


                  to this:
                  $handle = opendir($path.'languages/');
                  while (false !== ($lang_file = readdir($handle))) {
                      if ($lang_file != "." && $lang_file != "..") {
                          $lang_file = explode(".",$lang_file);
                          $dropdown2 = mysql_result($result,$i,"lang_frontend") == $lang_file[0] ?'selected="selected"':'';
                  					
                          $list .= '<option value="'. $lang_file[0] .'" '. $dropdown2 .'>'. ucfirst($lang_file[0]).'</option>';
                      }
                  }
                  
                  $list .= '</select></td></tr>';
                  $list .= '<tr><td> </td><td>  '.$lang_config_lang_website_description.'</td></tr>';
                  
                  $list .= '<tr><td><strong>'.$lang_config_lang_manager.'</strong></td><td>: <select name="lang_backend">';			
                  rewinddir($handle);
                  while (false !== ($lang_file = readdir($handle))) {
                      if ($lang_file != "." && $lang_file != "..") {
                          $lang_file = explode(".",$lang_file);
                  					
                          $dropdown2 = mysql_result($result,$i,"lang_backend") == $lang_file[0] ?'selected="selected"':'';
                  					
                          $list .= '<option value="'. $lang_file[0] .'" '. $dropdown2 .'>'. ucfirst($lang_file[0]).'</option>';
                      }
                  }
                  closedir($handle);
                  


                  Basically it reads all lang files from the directory and prints them to the selection. So no more adding lines to code when inserting a new translation. Just thought I’d share this.
                    The sun always shines for tough guys.
                    • 16545
                    • 358 Posts
                    Glen, what version of MODx you are using?
                      • 10913
                      • 66 Posts
                      It’s 1.0.2

                      Working quite good. Only just installed this newsletter and ModX has been up for about two weeks in offline-mode. Mainly because of content creation.

                      Oh, for your problem labasus, do you have the files in the modules directory? First I did put my files to plugins directory.
                        The sun always shines for tough guys.