briangroce
Member
Posted 3 years ago #
My Word Press Email Notification Plugin has been updated to version 1.1.
Here’s a rundown of the changes:
- Moved configurations out of maillist/index.php to maillist/maillist-config.php
- Moved configurations out of wordpress/wp-content/plugins/email-notification-v1.1.php to wordpress/wp-content/plugins/email-notification-config.php
- Added option to specify DB host (this was previously hard coded as localhost)
- Changed DB table name from email_list to wp_email_list
- Added an option to specify table names
- Added an option to choose nice URLs
- Variables passed via the URL are now grabbed via $_GET due to possible global issues
This should clear up some of the issues people have been having. If you see something that looks like a bug, let me know.
It can be downloaded here.
Anonymous
Unregistered
Posted 3 years ago #
In the readme.txt (item 2), it states, "In order to use this you need to have mod_rewrite installed on your server and setup an .htaccess file with the rules." Is there no way to use it without mod_rewrite installed?
briangroce
Member
Posted 3 years ago #
This is only for nice urls. If you don't have mod_rewrite just set $nice_urls = 'no'; and it *should* work for you.
I would love to see someone mod this so I can exclude a catagory.
Anonymous
Unregistered
Posted 3 years ago #
All "catagories" are excluded ;-)
briangroce
Member
Posted 3 years ago #
I'm having an issue with submitting new addresses. I get this error upon submit:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where email_addr = 'jills@cinci.rr.com'' at line 1
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/lovelan/public_html/maillist/index.php on line 53
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '(email_addr,date_subscribed) values ('jills@cinci.rr.com',now()
I'm using mySQL version 4.0.20-standard and PHP 4.3.7, as well as the latest WP release.
briangroce
Member
Posted 3 years ago #
Make sure your table names are correct in the config file and make sure your server is setup to include files from the directory you're currently in.
Okay, I was looking at index.php and I noticed this line in the subscribe section:
$query = "insert into $email_tablename (email_addr,date_subscribed) values ('$addr',now())";
But $email_tablename isn't defined as a variable in the config file--$tablename is. I added
$email_tablename = 'wp_email_list';
to the config file and tried again--works fine now.
Thanks!
briangroce
Member
Posted 3 years ago #
KBFrench
Member
Posted 3 years ago #
So... how does a subscriber remove himself from the mailing list?
HardinComp
Member
Posted 3 years ago #
There's an unsubscribe link at the bottom of every notification email. I installed it on my blog and signed up myself to see what my users get.
Are there any plans to offer subscribers the option of selecting HTML or plain text or will it be left up to the administrators to choose?