FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

New plugin: Simple Newsletter

Feed 24 posts, 9 voices

Avatar
12 posts

Hi,
Simple Newsletter plugin available: newsletter.frogcms.hu
I didn’t have much time for testing, if you have any problems you can post them here, or on twitter

 
Avatar
109 posts

A screenshot would be nice please.

 
Avatar
343 posts

I was looking for a screenshot as well.

 
Avatar
12 posts

Okay, the subscribers page:

 
Avatar
343 posts

Looks interesting. A newsletter plugin was a high requested plugin for Frog.

 
Avatar
11 posts

Good stuff, thx.

 
Avatar
10 posts

This looks very interesting, and ideal for a site I’m just building. However, have tried installing and getting a lot of errors coming through in the admin section now. Running 0.95, but get lots of errors like this:

Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in …/user/htdocs/frog/plugins/newsletter/index.php on line 22

…all across the admin section and lots more if I open the newsletter tab. Any ideas?

 
Avatar
12 posts

hi mate,
sorry but I forgot the hardcoded version of the hostname in the files and your hostname is not localhost, that caused the problem. if you download the plugin again and install it it should be fine. if not just let me know.

 
Avatar
10 posts

Thanks for the update – seems to run absolutely fine now.

Everything seems OK in the backend, and the form shows on a page – but I’ve tried sending a quick test and nothing has sent. Do I need to edit details in the PHPmailer file, or should this be automatic? Just as likely to be my host (or just me missing something very obvious!) but thought I’d start with the easy to fix stuff…Thanks in advance!

 
Avatar
12 posts

hi,
did you get any errormessage?

 
Avatar
10 posts

Hi – sorry, taken ages to get back to this!

I don’t get any error messages…all runs through ok, and get a final confirmation screen saying email sent etc…but nothing arrives. No idea of telling whether it is just the email not sending at all, or being blocked as spam somewhere along the line?

 
Avatar
12 posts

hi,

are the outgoing emails allowed on your hosting?

 
Avatar
11 posts

Hi, I got some problems with Simple Newsletter. After adding detail and submit I get this error : http://snipt.org/nkH

Thanks for the help!

 
Avatar
12 posts

hi
somehow the config file has not created at you. the easiest way to fix this if you are creating a file in the following folder : frog\plugins\newsletter and called it to config.php .after this put this into it :

<?php 
$db_name = "frog";  //replace "frog" to your database name
$db_host = "localhost";  //your host
$db_user = "root";  //your database username
$db_pass = "root";  //your database password

?> 

but you need to replace the configuration data in the code above to your one.
hope this helps

 
Avatar
2 posts

Hi,
Is it possible to enable wysiwig edittor in email writing form?
It would be very usefull feature…

 
Avatar
7 posts

Plugin install was simple and it works great! One issue, when I click on the unsubscribe link in the email newsletter I get this error:
Fatal error: Call to undefined function __() in /home/user/public_html/frog/plugins/newsletter/unsubscribe.php on line 8

Any ideas?
One other question, can HTML be used when creating a newsletter?
Thanks for your help!

 
Avatar
7 posts

Hi,
I turned on debugger and found a few errors. Any ideas why these are happening?
On the subscriber page, this error shows up:
Notice: Undefined variable: output in /home/user/public_html/frograil3/frog/plugins/newsletter/db.class.php on line 26
On the letter management tab, this error occurs:
Notice: Undefined index: LANG in /home/user/public_html/frograil3/frog/plugins/newsletter/db.class.php on line 99
On the send newsletter page, when send is clicked, this error occurs:
Notice: Undefined variable: output in /home/user/public_html/frograil3/frog/plugins/newsletter/db.class.php on line 113
On the page with the subscriber box, this error occurs:
Notice: Undefined index: success in /home/user/public_html/frograil3/frog/plugins/newsletter/index.php on line 27

Any help would be greatly appreciated!

 
Avatar
12 posts

@manoak
I will think about the best way to implement a wysiwig editor

@cj2
I fixed the error at the unsubscribe page.
You can use html in the newsletter.
The debugger showed you just notices not errors but I fixed those things and there will be no notices

 
Avatar
7 posts

Thanks!

Are the fixes in the zip file that can be downloaded from your site? Do your changes fix the subscribe box? When I click on “subscribe” without entering valid data, it will not refresh to the success message after a valid name and email address are entered.
Thanks for your help!
Cj

 
Avatar
6 posts

I have to notices:

One in public:


Notice: Undefined index: success in /frog/plugins/newsletter/index.php on line 27

And the second one in admin:


Notice: Undefined variable: output in /frog/plugins/newsletter/db.class.php on line 26
 
Avatar
7 posts

Hi Negru,

I was able to fix the notice in the index.php line 27 by changing the code to this:

if(isset($_GET['success']) && $_GET['success'] == "1"){ 

My concern is with the submit box. If I click submit without entering any information, it produces the error text. If after that first click, I enter valid information, it does not produce the “you have subscribed” message. In order to make it work, I added this code after line 11 in the unsubscribe.php file:

header("location:".$_SERVER['HTTP_REFERER'].""); 

This suppresses the error text altogether, however, since the error checking only looks for valid data in the name and email field, I don’t think it is needed.

Do you have the same bug with the subscribe box?
I’m okay with the notices that show up in the admin sections.

Cj2

 
Avatar
2 posts

what does Leiratkozottak mean? sorry.

 
Avatar
7 posts

what does Leiratkozottak mean? sorry.

I believe it means: “unsubscribed users”

Regards,
Cj

 
Avatar
2 posts

ahh thank you!

 
Avatar
11 posts

@HSLaszlo

hi
somehow the config file has not created at you. the easiest way to fix this if you are creating a file in the following folder : frog\plugins\newsletter and called it to config.php .after this put this into it :

ok, may skills arent that good how do I do that ?