WordPress Email Notification Plugin v2.3.0
The Word Press Email Notification Plugin has been updated to version 2.3.0.
Updates to this version:
- Added notification of future posts so that they only get sent at some point in time after they are published
- Added an option to set default send option
- Moved the admin panel under the “Manage” tab
If you see anything that looks like a bug or the documentation needs corrected, please let me know.
October 14th, 2005 at 2:58 am
Hi, thanks for providing this plugin, exactly what I needed! Anyway, I noticed that if I post via email (I use postie to do that) no notifications are sent. Regular posts via the admin interface seem to trigger notifications just fine, not sure what the problem might be. Can anyone confirm this?
October 15th, 2005 at 8:27 am
Hello there,
I just installed the plugin and everything seems fine. But somehow it won’t work.
I already changed the index.php as noted in the install.txt because the /maillist directory is in my wordpress directory, this solved the Problem with some errors when I tried to access the Email Notification settings. But still I don’t receive any mails. The confirmations and such are sent just fine, but I get no notifications. And btw, the Email Notification settings don’t show up in the Options BUT under Manage.
Any Ideas?
October 15th, 2005 at 8:58 am
How are you posting to your blog?
Is notify set to “Yes”, post status set to “Publish” and are your posts NOT future dated?
Since your maillist directry is in your WordPress, this should work in the index.php file…
include (ABSPATH.”/maillist/wpemn_config.php”);
As noted above, “Moved the admin panel under the “Manage” Tab”.
October 15th, 2005 at 3:53 pm
I have (probably) the same problem as Vincent. I’ve installed the plugin, everything seems to work fine – the confirmation messages are sent, even the “Email List Subscribers” function works fine. The only problem is that I’m not receiving the notifications.
I’m publishing posts in a regular way from the admin area, Notify Subscribers is set to yes and I’m not changing the date. Also the line is in the header file of my template.
Thanks for your help.
October 17th, 2005 at 10:38 am
Hi -
Let me preface this comment by saying I am (unfortunately) a new user of wordpress & it’s plugins, so instructions are not always clear to me. So I apologize in advance for any stupid questions.
Everything “appears” to be in the right place now…. but….
When I go to “Manage”, then to “Email Notification”, I’m getting a db connect error – copied here:
Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in /hsphere/local/home/pavlik/kilvap.com/wp/wp-content/plugins/wp-email-notification/index.php on line 44
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /hsphere/local/home/pavlik/kilvap.com/wp/wp-content/plugins/wp-email-notification/index.php on line 45
I’ve doublechecked my /maillist/wpemn_config.php file and all of my DB settings appear to be fine. Also, the database is up and running (verified by successfully running “install.php”.
Likewise, I’m not getting any email when I users sign up for post notifications. Any help is greatly appreciated – Thanks!
October 17th, 2005 at 2:16 pm
After going back and reading previous comments from previous plugin releases, I went ahead and installed this plugin using the same DB that I installed my WordPress site with.
The Warning messages are still displayed on the “Manage > Email Notification” page, but at least I have the functionality now! I tested out everything and it all seems to work. Now if I could get the errors to go away…
Great plugin – should come in very handy!
October 17th, 2005 at 2:32 pm
Make sure that the index.php file is including the wpemn_config.php file…most likely the path needs updated and then everything will work.
October 18th, 2005 at 1:20 pm
Brian, could you confirm the behaviour I described in my first post above or is it just me again, messing things up as usual?
Nora
October 18th, 2005 at 1:43 pm
Hopefully someone else might know the answer to that one…I’ve never tinkered with posting via e-mail.
My hunch is that the plugin is either not being triggered due to the same reason there are some issues posting with clients like Ecto OR certain variables aren’t set.
October 19th, 2005 at 11:43 pm
I’m having the same problem as a lot of people. I upgraded from 2.2. I followed the instructions to the letter. I removed all of my subscribers except my email address. I then tested the upgrade. every function works except the actual notification of a new post. I post from the admin page. I don’t change the setting and it is set to notify by default. It worked fine in 2.2 but now with 2.3 it doesn’t. I can send an email from the “manage” area and the subscribe emails work. Just not the post. The comment emails even work. I suspect it has something to do with the “future post” feature but I don’t know.
Can anyone explain what the future post feature actually is for? I suspect that it is a trigger so that you can write a post with a future date and then it will send the post notification after that date. Someone tell me if I’m wrong!
October 20th, 2005 at 7:56 am
Many people “future date” posts. Since future dated posts don’t show up until that date/time has past, notifications shouldn’t be sent until the post is “live” on the site.
October 20th, 2005 at 12:34 pm
I’m having trouble with your plugin. I followed the instructions that came with the plugin, and I added the extra line in the header. I also changed line 19 for line 22, and I subscribed a user to test the plugin.
I encountered 2 problems:
PROBLEM ONE: ERROR IN HEADER
I have the following errors in the header of my page
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxxx/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.php on line 369
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/xxxx/public_html/wp-content/plugins/wp-email-notification/email_notification_2.3.php on line 372
Both of these errors dissappear if I take out the extra line in the header
PROBLEM TWO: INCOMPLETE WRITE POST/PAGE
When I try to create or edit an existing post/page I get an incomplete version of it. I don’t get to see anything below the Save/Post buttons. If I disable the plugin it then renders the page completely
has anyone experienced this?
October 20th, 2005 at 12:40 pm
Problem one…from what I’ve seen in the past, it sounds like the DB connection info is either not being set or is incorrect.
Problem two…I’ve not seen that one. Do you have any other post releated plugins installed?
October 20th, 2005 at 3:30 pm
Brian was very helpful with the problem I was having since my upgrade to v2.3.
Problem: Posts were made from within the admin area and immediatly published. The email notifications were not being sent. All other “on-demand” email functions worked properly.
Solution: The problem I was having was related the the new “future-post” feature and the fact that I live in the Central time zone and my WP blog is hosted on the West Coast. Every post I made seemed to be a future post because I am 2 hours ahead of my server. My WordPress settings say -5GMT but my server is physically located at -7GMT. A change had to be made to the plugin file to accomodate this difference.
around line #135 and #360, you will find:
$curr_date = date(“YmdHi”);
had to be changed to:
$curr_date = date(“YmdHi”, time() + 7200);
where 7200 is the number of seconds (60 (seconds) * 60 (minutes) * 2 (hours)) difference between the two times. Of course, if you are in the same time zone as your server, you won’t have this problem and won’t have to edit these lines.
I hope I explained this easy enough! Email me if you have any questions!
October 20th, 2005 at 11:22 pm
Thank you, I solved the problem!!
Maybe I didn’t pay attention to what I was doing but now that I think of it I should have noticed it earlier. I assumed that when you use the install script it asks for your database because you can set one up just for WP Email Notification. i did this. I set a special database and well, obviously the required WP tables weren’t there!
This is why I had error number one, it was looking for a table and it didn’t find one. Error number two I believe was caused because the plugin needs to get the post information and also didn’t find the table. It gave no errors, but once I solved error number one it also dissappeared.
I’d like to make a suggestion for the plugin. Is it possible to include the installer inside the script so that when you install it and go to Manage>Email Notifications it asks you to install the plugin if necessary? It’s obvious that it needs to reside in WP’s database so this way you can ensure that this problems don’t happen to someone else…
October 21st, 2005 at 8:00 am
Anyone got problem with Email Notification 2.3.0 and Chenpress 3.0 ?
When I activate the Email Notification plugin Chenpress disaspears from the edit box.
/Andreas
October 21st, 2005 at 1:19 pm
Created post,
saved it (as a draft),
future dated it,
saved again,
Opened again later, but published with, notify as “yes” and edit timestamp checked (set about 28 hours ahead).
The mail went straight out to list, when I thought it would only come later.
It is not present on the blog page, as expected.
Any ideas?
October 23rd, 2005 at 6:31 pm
Another weird thing.
Today, I published, future dated by 5 minutes and I still have no email half and hour later.
Just me?
v2.2 worked fine for me.
October 23rd, 2005 at 6:49 pm
Did you put the function call in your header file.
And was your site visited within that 1/2 hour? For it to work your page has to be hit in order to trigger the notification.
October 23rd, 2005 at 6:57 pm
The comment referring to the time issue by David Peterson solved my issues with emails being sent at strange times. I am 12 hours ahead of my server which makes an even bigger difference.
October 23rd, 2005 at 6:58 pm
Thank you Brian for kindly looking into my problem here, great plugin too.
October 31st, 2005 at 12:21 pm
I’m having the same problem as a lot of people here. Everything is working correctly but no posts are being sent. I’m also in the same time zone as my server, so that’s not the issue. I even checked the server time with a php script and all is well.
Now there’s this about “put the function call in your header file” and I’m not sure what that’s all about. Am I missing something?
October 31st, 2005 at 12:22 pm
I can’t get it to send out the emails either. Everything else works fine and dandy. Server time is even the same as wordpress time too. Am I missing something?
October 31st, 2005 at 12:30 pm
The function is required is you’re future dating posts.
October 31st, 2005 at 12:31 pm
Can you send e-mails from the admin area?
October 31st, 2005 at 3:44 pm
Because of the WPG2 plug-in and it’s use of the theme header, I put that line of the code in the sidebar template. This isn’t going to cause me any problems is it?
October 31st, 2005 at 4:08 pm
It should be fine…it just won’t run when pages that don’t include the sidebar are hit.
November 3rd, 2005 at 12:52 pm
I was having similar problems with notifications not being sent. I changed the:
// Send the notification
add_action(‘publish_post’, ‘email_notification_send’,5);
line in email_notification_2.3.php to
// Send the notification
add_action(‘publish_post’, ‘email_notification_send’);
and that seemed to fix the problem.
November 3rd, 2005 at 1:10 pm
I have the following problem : the plugin doesn’t work complaining that
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\paul\web\4p\wp-content\plugins\wp-email-notification\email_notification_2.3.php on line 370
I think I have identified the problem : since I have two blog in the same MySQL database, I used two different table_prefix (‘wp_’ and ’4p_’). This plugin create tables with the prefix ‘wp_’ (which is bad) but try to access tables with the prefix ’4p_’ (the prefix of the blog on which I want to use the plugin) (this is right).
I think the install script must be corrected.
November 3rd, 2005 at 1:24 pm
You are correct that it hard codes the table prefix “wp_”.
In the next major release this is scheduled to be changed, but in the meantime your option is to change “wp_” to the prefix of your blog.
November 4th, 2005 at 7:22 am
I tried installing your plugin today. Installation works, tables have been created and config table is filled with data. Activation fine but then I click on Email Notification and keep getting this:
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/olivicas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /home/olivicas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/olivicas/public_html/wp-content/plugins/wp-email-notification/index.php on line 19
Any ideas???
November 4th, 2005 at 7:50 am
Matthew, you need to go into the index.php file and make sure the path to wpemn_config.php is correct for your server setup.
November 9th, 2005 at 8:56 am
Hi,
First thanks for this plug-in, i’ll be use in the new wessite of my job, but i find a problem width the table_prefix, and i see a few comments about the similar problem.
I changed the ‘wp_’ for $table_prefix, and its look well.
I changed in the install.php, upgraded.php, and all in the maillist folder files.
I hope that this comments serves to you to the next upgrade.
Thanks and sorry width my english.
November 10th, 2005 at 9:12 am
I have a silly question… In the install.txt file, instruction #7 reads “Put form code in template…”
What template? Does this mean the email_template.html?
I don’t understand why the instructions couldn’t have just named the exact template… this is confusing. Please help!
Thanks,
kopper
November 10th, 2005 at 9:15 am
Hi, I have a silly question… I am installing this plugin and following along with the instructions in the install.txt file, but instruction line #7 says to “Put form code in template…” but it does not specify WHAT template to put it in! Does it mean to put the code in the email_template.html file? If so, why couldn’t it have just named that specific template? This is confusing! Please help.
Thanks,
kopper
November 10th, 2005 at 1:03 pm
Please disregard the above message, I figured out it needed to be installed in one of the php files for my blog, so I added it to the sidebar.php file and it looks good so far. I activated the plugin and edited the “Update Settings” area the way I want it. Next, I added a couple of test email addresses and then checked the admin area to make sure they were listed there and are subscribed, and they are, so everything appears to be installed properly, except I can’t get it to send out email notifications of new posts. The only way I can get it to work is if I go into the admin area> Manage > Email Notification > Email List Subscribers… That works. But the automatic emailing of the subscribers when there’s a new post isn’t working at all, and I have the default setting for “Notify Subscribers” on the “Create New Post” page set at “Yes.”
Is there something I’m not doing right? Why would it work from the admin area but not the automatic email when a new post is created?
Thanks,
kopper
November 10th, 2005 at 1:09 pm
I’m also getting some kind of weird error/warning message in Firefox whenever I try to post a message here! Something about something not being set properly in the comments.php file…
November 10th, 2005 at 3:19 pm
It needs to go into the one of your theme files. Most likely you’ll want to put it into your sidebar file.
November 10th, 2005 at 4:11 pm
Have at last got this working correctly.
Is there any relatively easy way to get this plugin to use the site template for the various messages it displays on blank pages? (like subscription confirmations etc).
Thanks…
November 11th, 2005 at 4:59 am
I followed all the instructions, and the plugin seems to work, but the administration area looks as below:
Warning: main(/maillist/wpemn_config.php): failed to open stream: No such file or directory in /web/htdocs/www.cronache-egovernment.it/home/wp-content/plugins/wp-email-notification/index.php on line 19
Warning: main(): Failed opening ‘/maillist/wpemn_config.php’ for inclusion (include_path=’.:/php/lib/php/’) in /web/htdocs/www.cronache-egovernment.it/home/wp-content/plugins/wp-email-notification/index.php on line 19
Import Addresses :: Export Addresses :: Remove Addresses :: Email List Subscribers :: Update Settings
Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in /web/htdocs/www.cronache-egovernment.it/home/wp-content/plugins/wp-email-notification/index.php on line 44
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /web/htdocs/www.cronache-egovernment.it/home/wp-content/plugins/wp-email-notification/index.php on line 45
why?
November 11th, 2005 at 10:02 am
You need to go into the index.php file and make sure the path to wpemn_config.php is correct for your server setup.
November 12th, 2005 at 7:37 pm
I have installed the pluging today and everything seems to work just fine albeit there where some initial issues with delay in dispatching the mails. I have traced down the problem to a time setup in the blog apparently still on daylight saving time.
Hopefully it should work without delaying mails now.
There appear to be some problems however, when posting from ecto.
Could you, or some body else, please confirm whether or not this plugin works with ecto?
BTW Nice addition to WP, the missing bit has finally come into place on my website.
Thank you for the good work Brian.
November 12th, 2005 at 7:48 pm
Sorry, I forgot to ask this in my previous comment.
Is there a way to get the WP email notification to send me a list of the subscribers?
I have checked into the several options available in WP but can’t find this feature.
Thanks
November 12th, 2005 at 9:33 pm
I’ve not tested it, but I’ve been told that there are still issues with posting with Ecto.
November 12th, 2005 at 9:35 pm
Under the Manage > Email Notification, click on “Export Addresses”.
“Remove Addresses” will allow you to clean up your DB as well.
November 13th, 2005 at 2:00 am
Great plugin. Managed a last to get it installed without odd errors. I noted that for some reason installing it as described produced all the many common errors people have stated here, then after much mucking around it has started working but (as far as I can tell) the settings I have ended up with are the ones in the instructions which are exactly as I first started out with– odd).
I have two questions…
1. Can anyone suggest a relatively simply way to get the pages the plugin producers (sub confirmation etc) to use the site template? I am not too keen on this white page with a look and feel completely different from the site)
2. It does not send out notifications as far as I can tell. I can send messages from the admin area though. They come through immediately. Any idea why this might be?
Thanks a lot…
Jonathan
November 13th, 2005 at 4:56 am
OK I found the administration services Tab and everything seems under controll now.
Thank you for that.
Let me take this opportunity to quote directly from my own weblog:
I hope this hint could be of any help to somebody trying to obtain the same.
Cheers
Pieter
November 13th, 2005 at 8:33 am
1. At the moment I’d suggest adding a header and a footer to the maillist/index.php file. In a future release I’m going to pull the plugin into WP and that won’t be an issue. (Right now this was written in a manner which it could be used without WP.)
2. It’s probably a conflict with another plugin or some other WP process. See Bob Wallace’s fix above and see if that fixes it for you.
November 13th, 2005 at 8:07 pm
Thanks! This is precisely the problem I had. (I created a 2nd database). I think your suggestion is an excellent one to avoid confusion. Failing that, a sentence in the install.txt would have saved me an hour.
November 13th, 2005 at 10:13 pm
everything seemed to be working correctly so i did a test subscribe and that seemed to be ok but email never came so i did another test signup and that seemed fine but again no email was snet.
I went to look at my list of subscribers and I get this error listed:
“Could not successfully run query (SELECT * FROM wp_email_list) from DB: No Database Selected”
When installing the plugin, everthing seemed fine. I’m baffled. In my config under the maillist folder the database settings are fine.
Please help.
November 14th, 2005 at 8:45 am
On part 1, do you know if your host allows the use of mail()? In the admin panel, see if you can e-mail list subscribers (you’ll need to import your address first).
On part 2 of your question, if your DB information is correct, most likely you either have the tables in a DB that isn’t the same as your WP DB or the path to the config file needs to be updated.
November 15th, 2005 at 11:31 pm
Does this plugin allow me to email the entries as completely HTML? Several plugins only support partial html tags. I want to send a newsletter type email that is fully formatted. Thanks!
November 16th, 2005 at 9:17 am
I’m not sure what you’re referring to, but the built in templating system is completely HTML.
November 17th, 2005 at 6:32 am
I am using XAMPP to set up a new site offline. I had a problem with the line
index.php -> line 23 -> “include (“$DOCUMENT_ROOT/maillist/wpemn_config.php”);”
In the plugin update-monitor.php I saw another way to type this, I changed it and now it works!
I suggest to change it in the next release:
include (ABSPATH . “/maillist/wpemn_config.php”);
November 17th, 2005 at 8:47 am
That is in there as an option, but only works if your maillist directory resides in your WP root. (Some people use this outside of WP.) But in a future release this will be integrated into WP more fully.
November 17th, 2005 at 11:39 am
Brian: I’ve been using the plugin for a while now, and upgraded with no problems. It’s a great plugin and I appreciate your work on it. I do have a question though (or a feature suggestion).
If I send a full post in the nice HTML format (or not HTML), there’s really no reason for people to visit the site. I know I can not send the full post, but that only sends the title and link. What I’d love to be able to do is send the title, link and excerpt. That then helps drive traffice to the site.
Anyway to do this currently?
Thanks,
John
November 17th, 2005 at 5:28 pm
It seems that there is a bug. When the ticket is saved, recorded for later publishing. It doesnt work. The email isn’t sent. In my case, you should publish right away the document. If you save it before and record without publishing, the document doesn’t get notified to users.
November 18th, 2005 at 6:08 am
Brian, I dont understand your reply.
All I was saying is: With the existing code the plugin returs errors. With this line modivied it does not but works fine!
November 18th, 2005 at 7:08 am
Hello Brian,
I have set up wp blog at http://www.vidyanidhi.org.in/blog and while signing-in I am getting the following msgs
Notice: Undefined index: action in C:\root\site\wordpress\maillist\index.php on line 18
Notice: Undefined index: id in C:\root\site\wordpress\maillist\index.php on line 19
Notice: Undefined index: addr in C:\root\wordpress\maillist\index.php on line 20
and while confirming the subscription I get these mgs
Notice: Undefined index: id in C:\Web_App\site\wordpress\maillist\index.php on line 19
Notice: Undefined index: email in C:\Web_App\site\wordpress\maillist\index.php on line 28.
Furthermore, no email notifications for comments are being sent to other domain address es except for email addresses which belong to the same domain (eg: my@vidyanidhi.org.in) but when I start a new posting emails are sent to all of them including addys which are not from the said domain. Plz help me.
Thank you,
Kiran
November 18th, 2005 at 9:07 am
In the file you have two options, with the second one being commented out.
November 18th, 2005 at 9:16 am
Is notify set to “Yes” when you go from Draft to Publish?
November 18th, 2005 at 9:18 am
This was written for and tested on *nix servers running Apache, PHP & MySQL.
If anyone has any Windows tips on setting this up, please chime in.
November 18th, 2005 at 10:56 am
I was wondering if it was possible to let someone just subscribe and then return to the homepage showing them any text that they have subscribed in a pop-up box or rather not show anyting and just return to the main homepage.
November 18th, 2005 at 11:08 am
You could add the functionality but it’s not there by default.
November 18th, 2005 at 11:26 am
I have pretty much given up the idea of installing this script… I have followed everytihng to the T and though its says finished.. the install is riddled with error, which are as follows:
nstalling
You have successfully written data to wpemn_config.php
Warning: mysql_connect(): Unknown MySQL Server Host ‘ mysql31.secureserver.net’ (0) in /home/content/i/n/j/injinuity/html/maillist/install.php on line 210
…
November 18th, 2005 at 11:48 am
If what you quoted is what you entered, it looks like you have an added space in front of your server host.
And if this doesn’t work for you, there’s always the Subscribe2 WordPress plugin which is similar in functionality.
November 18th, 2005 at 12:01 pm
hahah you were absolutely right.. there was a small blank space before my sql server host.. lord how dumb of me.. thanks a lot brian.
November 18th, 2005 at 12:22 pm
Did eveything.. finally everything is work.. only error left is a display on the top of my page.. an error.. which says
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/i/n/j/injinuity/html/wp-content/plugins/wp-email-notification/email_notification_2.3.php on line 369
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/i/n/j/injinuity/html/wp-content/plugins/wp-email-notification/email_notification_2.3.php on line 372
November 18th, 2005 at 3:35 pm
Do you have any other DB related plugin installed? It sounds like there might be a query naming conflit.
November 18th, 2005 at 4:09 pm
only wordpress database backup by scott merril ( http://www.skippy.net/plugins/ ) and Short stats..
November 18th, 2005 at 4:15 pm
To narrow it down, deactivate those plugins and see if the issue is still there.
November 18th, 2005 at 4:39 pm
deactivating all the plugins is also not resolving the issuue…
putting the line in the header file is creating the error.. when you say header template.. do you mean the emai ltemplate or the header.php.. FYI I have added the line to the header.php
after removing that line, there is no error but after you signup an error is shown.
No Database Selected
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/i/n/j/injinuity/html/maillist/index.php on line 38
No Database Selected
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/i/n/j/injinuity/html/maillist/index.php on line 60
No Database SelectedThanks for subscribing.
November 18th, 2005 at 4:41 pm
when I said line I meant the line of code in header.php
November 19th, 2005 at 6:11 am
Hi,
This plugin works great in my blog. It is definitely the best of its type out there.
It would be really helpful if it was integrated with the site theme. I would also like to translate it to another language (actually, Hebrew, right-to-left).
Do you plan to integrate themes and translation into this plugin? Currently I just hacked the source, but its nothing I can donate back.
Thanks for great work!
November 20th, 2005 at 12:36 pm
Hi! I seem to have a strange problem… this is what happens:
- save blog entry 1, send notification YES —> No notifcation is send when I publish
- save blog entry 2, send notification YES —> Notification of blog entry 1 is send
and so on.
Can I somehow reset the mailer? What could be the problem?
Many thanks in advance, Michiel
November 21st, 2005 at 12:38 am
Plz somebody help me with the email notification plugin on windows machine.
Kiran
November 21st, 2005 at 12:42 pm
Down the road “localization” options will be added, so feel free to send any Hebrew changes my way.
November 21st, 2005 at 12:43 pm
So every post notifies about the previous post?
November 21st, 2005 at 12:46 pm
Yes, header.php You could also try side_bar.php or footer.php to see if those work.
Also, make sure the php open and close tags are correct.
November 21st, 2005 at 12:50 pm
This can be done by changing a few lines to grab the excerpt instead of the post.
November 21st, 2005 at 3:00 pm
Great work! How do I add my WP header and footer to maillist/index.php?
Thanks! Fabrice
November 21st, 2005 at 3:16 pm
Right now your best bet would be to take a copy of your parsed design (view source) and place the code at the top and bottom of the index.php page.
November 22nd, 2005 at 10:47 am
Hi! I’m back. I am now getting complaints from people who have signed up for my blog that they are getting duplicate email notifications when a new entry is posted. This hadn’t happened to me, however (in other words, I was only getting one email notification sent to my email address). But then I posted an entry last night, and everyone (including myself) got 4 (four) copies of the same notification! All I did was go in and post a new entry… I did not edit it several times or anything. I have it set to send the email out as the default, but I have no idea why it would send multiple notifications. Is this a bug? Anyone know how I can fix it? Otherwise it works great.
Thanks,
kopper
http://www.garagepunk.com
November 22nd, 2005 at 10:51 am
In the Database, check to see if your posts are being placed in your future table and if so, see if the notification flag is being set to ‘n’.
November 22nd, 2005 at 2:23 pm
Wow, I’m sorry, you’re going to have to give me some more specific info on where exactly I need to check for this. I have no idea where to look… or what it is I’m supposed to look for…
November 22nd, 2005 at 2:45 pm
Is this the table you were talking about? And if so, can you tell from this screen shot if my settings are correct?
http://www.garagepunk.com/wp-content/blogimages/wp_email_list_future.gif
November 22nd, 2005 at 2:54 pm
That’s the one…it looks like you have six entries.
Click on “Browse” and see if “notificaton_sent” is set to “y” or “n”. If “n” and it has been sent, the update isn’t being triggered.
To attempt to fix that, open up email_notification_2.3.php
Move this…
# Update notification_sent to ‘y’
$update_future = “UPDATE $wpdb->email_list_future “;
$update_future .= “SET “;
$update_future .= “notification_sent = ‘y’ “;
$update_future .= “WHERE post_ID = ‘$send_post_ID’”;
$update_future_result = mysql_query($update_future);
Right below this…
# Grab the post…
while ($post_row = mysql_fetch_assoc($select_post_result)) {
That’s a short-term solution.
November 22nd, 2005 at 3:44 pm
OK, I clicked on “Browse” and “notification_sent” is indeed set to “y” for each of the six posts. So I’m guessing that the update is indeed being triggered and thus, this isn’t the solution, right? What next?
Thanks for your help…
November 22nd, 2005 at 3:47 pm
There’s a good chance that was the issue…most likely the script didn’t fully execute the first few times because people were quick to click.
That’s definitely something for me to look into for future versions.
November 22nd, 2005 at 4:34 pm
Could it have something to do with the fact that I had to implement the “future date” fix that David Petersen posted above? (I, too, am in the Central Time zone and my server is located on the West Coast, so his solution worked for me, too, in fixing my first problem that emails were not being sent out.) Could this fix be interfering with this triggering mechanism?
I did not click the link in my email at all last night, but I still received four copies of it. So I wouldn’t have been “too quick to click”…
November 23rd, 2005 at 10:08 am
Not to be contrarian, but is there a way to (go back to) emailing future posts?
Mine is an event blog and we maintain the calendar by setting future posts with a specific category. No future posts = no event announcements. A work-around would be to post the event normally and only after the emails have gone out reset it as a future post, but then we’ll be getting those announceements again as the event starts (leading to the obvious “why remind us _now_?!” complaints).
Is there a block of no-future-post code I can comment out?
November 23rd, 2005 at 10:58 am
Hi, thanks for the wonderfull plugin, it works perfectly on my site.
Two questions:
1. how can I make the text window where subscribers can put their emailaddress bigger?
2. how can I configure the possibility to unsubscribe?
Thanks
November 23rd, 2005 at 1:22 pm
You could remove this block…
if ($date_diff < 0){And the open and close else statement below it.
November 23rd, 2005 at 1:25 pm
1. Make the size of the input larger.
2. At the moment people are sent a link with each notification. In the future there will be radio buttons to do this as well.
November 23rd, 2005 at 1:33 pm
That shouldn’t cause any issues. There are three things I can think ok that would cause that.
1. Someone isn’t on the site long enough for the entire script to execute. Since the flag is set after the e-mails are sent it may never be getting to it.
2. Multiple people are hitting the site before the script has fully executed.
3. The server / DB is timing out. In your case, how many subscribers do you have?
Moving the DB update to the top would probably stop this, but may result in everyone not getting the notification.
A better option would be to have a page that only you know about and run the script from there. But with that you’d have to either manually go to the page or set up a cron job.
There are definitely some things to consider in this regards for a future release.
November 23rd, 2005 at 3:49 pm
Is there any chance to get this plugin working with the XMLRPC? I use MarsEdit to post entries on my weblog but posting sent via the XMLRPC are not recognized by the plugin. Would be great if you can help me with this.
November 23rd, 2005 at 4:15 pm
The first two don’t make much sense to me and don’t sound like they would be the cause. My site gets a lot of traffic, but not *that* much. It only took a few seconds after posting the update for the emails (two this time) to show up in my email, so I can’t imagine the site getting hits in those few seconds while the script is executing.
There are well over 200 people subscribed to receive the email updates.
Hope this helps. Until this is resolved I will have to deactivate the plugin, so please keep me posted because I really like the plugin… just wish the multiple emails could be avoided.
Cheers,
kopper
November 23rd, 2005 at 8:43 pm
I tried installing this plugin but install.php can’t open and write to wpemn_config.php, even though the settings are set to rw. The files are in the same folder. Any ideas?
thanks
Mike
November 24th, 2005 at 8:05 am
That is correct! I have no idea how this happened or how to get rid of it.
November 25th, 2005 at 3:23 am
I was using 2.2 and it worked perfect. I upgraded to 2.3, followed the instructions and it doesnt’ work at all. If you try and subscribe you never get the confirmation email. No emails to the existing subscribers and no email sent when trying to send one to the subscriber list.
Any suggestions? I even tried to delete everything afterwords (except the actual database, which i didn’t know how to do), and reinstall it fresh and still had no luck, same with changing the code as someone did in an above post (removing the ,5 in that one line), all to no avail.
November 25th, 2005 at 8:34 am
Do you get any errors or does it just not seem to be working?
Also, what’s your server setup and which version of WP are you using?
November 25th, 2005 at 11:55 am
I don’t get any errors at all that I can find. It just doesnt’ seem to work at all and the version prior 2.2, worked like a charm.
As for the setup: WP 1.5.2, Linux server, php verison 4.4.0, mysql 4.0.25standard, perl 5.84
December 1st, 2005 at 11:05 am
When I set the options to “Not” send out full message, it still does. Any ideas?
December 2nd, 2005 at 4:14 am
Hi,
Can anyone help me on this?
In the index.php it says ” include (“maillist/wpemn_config.php”); ”
My maillist directory is in the root. So should I add the fullURL there such that it appears as include (“http://www.myurl.com/maillist/wpemn_config.php”);
and am getting the following error.
Export Email Addresses
Could not successfully run query (SELECT * FROM wp_email_list WHERE gets_mail = 1) from DB: No Database Selected
Can anyone please kindly help me?
Thanks in advance.
regards
Krishna
December 2nd, 2005 at 10:40 am
Or…. could this have something to do with FireFox/Safari versus IE?
Seems that with IE the e-mails do get out…
December 2nd, 2005 at 10:54 am
Since the mailing happens server side, I don’t know why your browser would make a difference.
What is your server set up, which version of WP & which version of the plugin?
Also, do you have any other plugins installed that might be conflicting?
December 2nd, 2005 at 6:43 pm
Krishna, I’m getting the same error: Could not successfully run query (SELECT * FROM wp_email_list) from DB: No Database Selected
I’ve read most comments; there is (I think) a solution but I couldn’t figure it out to save my life. Help!
December 2nd, 2005 at 9:44 pm
Are the e-mail notification tables in the same database as WordPress?
Are you getting any other errors?
December 3rd, 2005 at 12:19 am
Hi,
I am having a problem with a time delay in email notifications. We are running email notification 2.3.0, WordPress 1.5.2. Notify set to “Yes”, post status set to “Publish” and are posts are not future dated. But there is a time lag of anywhere from 3 hours to 2 days from the time the post is made, until the email notification comes.
Any ideas why this might be happening?
Many thanks!
December 3rd, 2005 at 5:06 am
No Brian, It is in the root only. am confused about the line 19 thing. and no other errors except. If it gets solved then I can go ahead to check whether the post are being sent or not.
I guess Kate also faces the same problem. Can you help us out? Thank so much and waiting for your reply.
regards
Krishna
December 3rd, 2005 at 6:01 am
Hi Brian/Kate,
I solved one problem.
Kate: Follow this.
I installed the maillist inside the wordpress and had the link in index.php as
include (ABSPATH.”maillist/wpemn_config.php”);
and everything looked fine and even mails sent from inside email notification under Manage is working fine.
Brian:
THe problem now is: if i post an article, it is not being sent automatically to the subscribers. I followed the above thread and still its not working. am in India, Chennai. so anything to do with timing? if so how to go about it?
Thanks in Advance
regards
Krishna
December 3rd, 2005 at 8:56 am
Go into your database and take a look and see if they’re being placed in the future dated table. It sounds like it may be the time zone issue other people are having above.
December 3rd, 2005 at 8:59 am
Go into your database and take a look and see if they’re being placed in the future dated table. It sounds like it may be the time zone issue other people are having above.
Also, your site must be visited for the future notification check to be triggered, so that probably accounts for the time lag and why some people opt to configure a cron job.
December 3rd, 2005 at 9:00 am
Go into your database and take a look and see if they’re being placed in the future dated table.
December 3rd, 2005 at 12:14 pm
I got it last night, kids. Thanks!
December 3rd, 2005 at 6:25 pm
I am getting the same types of error messages. This happened after I upgraded from WP to 1.5.2.
All errors are referring to “DB: No Database Selected”
December 3rd, 2005 at 6:31 pm
Bug Found which is causing DB errors after upgrading to wp 1.5.2:
Line 19 of index.php currently reads:
include (“$DOCUMENT_ROOT/maillist/wpemn_config.php”);
But Should read:
include ($_SERVER['DOCUMENT_ROOT'] . “/maillist/wpemn_config.php”);
December 3rd, 2005 at 6:32 pm
Bug fix for this is posted in a comment below. (I think)
December 3rd, 2005 at 8:25 pm
Sorry, I am new to all this. I have access to MySQL. Where do I look to see what’s being placed in the future dated table?
Many thanks,
Quakerkat (I’m another Kate, but did not want to cause confusion!)
December 3rd, 2005 at 10:42 pm
Brian… sorry i have no idea how to check tables in SQL in my site control panel. let me check on and learn hwo to do that and get back to you. thanks Brian. Is it possible to remove this future stuff thatz causing confusing in the next version?
… like once the post is posted…immediately the mail is triggered…
regards
Krishna
December 3rd, 2005 at 10:52 pm
Brian, I logged into my database… you have mentioned “if they’re being placed in the future dated table”… how to know that? if they are being placed there, how to rectify it? or should i delete the file wp_email_list_future.php?
December 5th, 2005 at 7:09 am
Hi Brian,
Its me again, I have moved by wp blog from windows base to linux, everything seems to be working perfectly except for the email notifications. When I make posting on my blog all users are notified of the same but when I comment on a posting only the admin gets the notification but not the other registered mailing ids. I do not think it can be with regarding the mailing ids cos they seem to be getting the posting mail. Can you please help as to how I can get this issue sorted out.
Thank you in advance,
Kiran
December 7th, 2005 at 2:57 pm
Hi – great plugin! Does exactly what I needed, but… seems to sometimes substitute quote characters for question marks in the email of my post. Is that a known issue? Where do I start trying to troubleshoot it?
December 7th, 2005 at 3:45 pm
Are you pasting your content in from Word or some similar application?