WordPress Email Notification Plugin v2.1
The Word Press Email Notification Plugin has been updated to version 2.1.
Updates to this version:
- Added Option to Update Your Settings
- Changed plugin to use config settings for url, title and email fields
- Fixed HTML email formatting issues
If you see anything that looks like a bug or the documentation needs corrected, please let me know.
February 28th, 2005 at 2:03 pm
Is there a way to tell the email notification to preprocess the post with MARKDOWN before sending? It doesn’t seem to be doing it automatically even though I have MARKDOWN enabled in my plugins.
March 2nd, 2005 at 8:32 pm
I have a packaging suggestion for your next release. Currently you unzip and get the following:
unzip email_notification_v2.1.zip
Archive: email_notification_v2.1.zip
creating: wordpress/
creating: wordpress/wp-content/
creating: wordpress/wp-content/plugins/
creating: wordpress/wp-content/plugins/wp-email-notification/
inflating: wordpress/wp-content/plugins/wp-email-notification/index.php
inflating: wordpress/wp-content/plugins/wp-email-notification/block_export.php
inflating: wordpress/wp-content/plugins/wp-email-notification/block_import_form.php
inflating: wordpress/wp-content/plugins/wp-email-notification/block_import_insert.php
inflating: wordpress/wp-content/plugins/wp-email-notification/block_reports.php
inflating: wordpress/wp-content/plugins/wp-email-notification/block_send_email.php
inflating: wordpress/wp-content/plugins/wp-email-notification/email_notification_2.1.php
inflating: wordpress/wp-content/plugins/wp-email-notification/block_update_settings.php
creating: _docs/
inflating: _docs/install.txt
inflating: _docs/subscribe_example.html
inflating: _docs/readme.txt
creating: maillist/
inflating: maillist/index.php
inflating: maillist/install.php
extracting: maillist/wpemn_config.php
My blog is not installed at “wordpress”, though your packaging makes that assumption. If you were you remove the wordpress level to the dir then I could have just placed the zip inside my blog directory and then unzipped (and everything would go in the correct place). Currenty I am having to manually move a bunch as stuff to the correct location.
Thanks… back to the install for me.
Sam
March 2nd, 2005 at 9:57 pm
Another suggestion –
If there are no entries in the wp_email_list_config table the web interaface is not able to add any entries. It is only able to modify once data is present in the table.
I am still having trouble with the install. While the install script does run (without errors!) and create the wpemn_config.php file, it does so with all empty entries and did not create the database structure (even though it said it did). When I did all of that by hand I will still not able to modify any of the database information via the web interface (though I could display the config info from the web interface).
My troublshooting time for the evening is spent. I may try again, or I my try another solution.
Sam
March 2nd, 2005 at 11:08 pm
Jeff, I’ll have to look into that.
==================================
Sam,
How are you running the install script?
If you enter in your info into the form fields, it *should* insert the data into your DB (which should be the same DB WP uses).
Are you saying that everything works except for the Update Settings?
March 2nd, 2005 at 11:30 pm
i’m also having problems with the plugin. i’ve got it installed and seemingly working correctly, but anything i modify from the admin panel does not take, none of the options at all.
March 2nd, 2005 at 11:39 pm
it seems like i’m having the same problem as Sam, that it appears to work correctly, but no matter what i update, nothing takes. it doesn’t appear to touch the database.
March 2nd, 2005 at 11:50 pm
solace,
So the notification part works, but nothing in the admin panel does? If that’s the case you probably need to update line 18 of index.php in the plugin directory.
Try changing:
include (“$DOCUMENT_ROOT/maillist/wpemn_config.php”);
To:
include (ABSPATH.”/maillist/wpemn_config.php”);
And see if that does anything for you.
Also, what version of PHP are you running?
And where is the maillist folder located in relation to where WordPress resides?
March 2nd, 2005 at 11:55 pm
my blog is just the root of my website:
http://www.arcadefire.net
mailist is
http://www.arcadefire.net/maillist/
i’ll try and make that modification and see how that works.
March 2nd, 2005 at 11:57 pm
PHP 4.3.8 (cgi) (built: Jul 16 2004 08:32:27)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with the ionCube PHP Loader v2.5, Copyright (c) 2002-2004, by ionCube Ltd.
March 3rd, 2005 at 12:03 am
i manually configured the settings i wanted in wp_email_list_config for now, but still can’t use anything in the admin panel
March 3rd, 2005 at 12:07 am
I’m using PHP 4.3.10 and haven’t had any issues, but Jeff said he was having an issue with PHP 4.1+ where he had to add the line below to some WP files in order to pass variables.
import_request_variables(gp, “”);
Did it not write to the file upon install (it needs to be CHMOD 666 before running the script)? If wpemn_config.php is empty, incorrect or not included, the admin panel will not work.
March 3rd, 2005 at 12:09 am
hmm… where would i add that?
March 3rd, 2005 at 12:11 am
At the top of the install script and the top of the plugin index page.
March 3rd, 2005 at 12:12 am
here is my wpemn_config.php
# CONFIG SECTION
# Database Information
$db = ‘arcade_wordpress’;
$dbuser = ‘arcadefire’;
$dbpass = ‘password’; (not really my password
$dbhost = ‘localhost’; // localhost is default
# END CONFIG SECTION
March 3rd, 2005 at 12:15 am
As long as the values are correct and it is the same DB used for WP, it looks good to me.
March 3rd, 2005 at 12:16 am
yeah they are…
it almost seems like it’s not using the right database info in the plugin though… but wouldn’t it at least bark at me or give me an error when i tried to update via the admin panel if it wasn’t right?
March 3rd, 2005 at 12:26 am
also, how do i make it not double-space when i have it include the content in the email?
March 3rd, 2005 at 12:31 am
If it can’t find the file you should get an error stating:
“failed to open stream: No such file or directory in”
If it can’t select from the DB, it should tell you that as well.
After looking a bit closer, I believe line 10 of index.php can be removed/commented out:
include_once (dirname(dirname(dirname(dirname(__FILE__)))) . “/wp-config.php”);
As for the spacing, that’s all in the plugin. Just look for preg_replace and you’ll see quite a few lines.
I’m not sure if that would cause a conflit in some cases, but is something I’m going to clean up for v2.2.
March 3rd, 2005 at 1:28 am
that was it!!!
import_request_variables(‘GP’);
is all i needed, thanks
March 3rd, 2005 at 1:32 am
few more questions…
the emails are coming through From a blank sender, just a dash/hyphen. i’d imagine that might cause problems w/ spam filters, any idea how to fix that?
second, didn’t quite figure out what to take out to get the double-spacing to go away, tried a few things, no dice.
but i’m ecstatic i got the other part working thanks to your help
March 3rd, 2005 at 3:52 pm
Yes, that will cause some SPAM filters.
As of version 2.1 the from field should be pulled from the DB and use the info you entered.
Something like: Blog Name
If I come across a possible cause, I’ll let you know.