Page 6 of 25

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Fri Jan 25, 2008 5:17 pm
by henmedia
pacop2 wrote:Thank you for your mod. I was using "Notify Moderators" mod, but your's is very much simple to install (this is important to me, in ordern to install new versions of phpbb with the minimum work), and very very useful.

Keep it simple and useful, and thank you.
No fear - it'll stay that simple to install. I personally hate MODs which touch several files in my phpBB installation, because it's hard to update to a newer version of phpBB if updates or fixes are available.

As this is always in my mind and I know that many users think the same this is the reason why n2m is so easy to install. We just touch one file of phpBB3 and insert one line there, that's it.

Stefan

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Fri Jan 25, 2008 9:07 pm
by Kerrith
henmedia wrote:The first thing to check is if phpBB3 can send emails in general. Try to contact a user by email using your phpBB3 installation and see if it works.

Also check your spam folder and/or antispam settings ... who knows :)

Stefan
I am able to send a member an email and there are no accumulated spams. I check this daily.

I'm installing test board to see if I can get it to work. Will let you know the results.

Thanks,

Kerry
v 11beta
Vista
phpBB3.0

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Sat Jan 26, 2008 12:02 am
by henmedia
Strange, never heard of any problems like that. But let's wait until we hear about your testing environment.

Stefan

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Sat Jan 26, 2008 12:23 am
by Kerrith
New test of phpBB 3.0 install results:

I can receive a test email to the admin (me) but as admin I don't get any email notifications about new posts from either Admin or from a new test registrant.

At the test registrant's email address I did receive a "Welcome to yourdomain.com forums" email when I registered (because I had not set authorization no authetication was required).

Shouldn't I, as admin, receive an email notifcation for a new registant's first test new post? I used to get them with phpBB2.0xx.

Kerry
phpBB 3.0 new clean install (No mods -- new data base --- no conversion).

URL = http://www.comcom121.org/frogs/index.php

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Sat Jan 26, 2008 1:03 am
by henmedia
Kerrith wrote:I can receive a test email to the admin (me) but as admin I don't get any email notifications about new posts from either Admin or from a new test registrant.
You mean with n2m installed still no mails from n2m? Did you try a clean (not edited) newpost2mail.config.php as it comes from the zip archive?
At the test registrant's email address I did receive a "Welcome to yourdomain.com forums" email when I registered (because I had not set authorization no authetication was required).
Ok, this means that phpBB3s email setup is fine so far.
Shouldn't I, as admin, receive an email notifcation for a new registant's first test new post? I used to get them with phpBB2.0xx.
No.

If you want, you can mail me your ftp account data for your test board and I'll take look. Just an offer ...

Stefan

newpost2mail beta 12 released

Posted: Sat Jan 26, 2008 1:59 pm
by henmedia
New version beta 12 released:
If you have no problems with images there's no need to update.

Download: http://henmedia.de

Stefan

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Sat Jan 26, 2008 9:04 pm
by Rafael
Your mod it is extraordinary and the way that is progressing is very good. Congratulations!

We have a phpbb3 forum with three groups: A, B, C. We have 8 forums. Each group share some forums and others are specific for a group.
Is it possible to configure newpost2mail to send a notification to the administrator and to all the members of a group when a new post or reply is sent to a specific forum? For example if forum 3 is for people of groups A and B and somebody send a post to that forum, members of A and B will receive a notification but not members of C.
Is it possible to do that with newpost2mail? How I have to modify the code to do it?
Obviously people can subscribe to the forum, to the post, etc. but most of the members are not experimented users. And even when they subscribe to a forum, then they have to go to that forum. If they don't go to the forum they will not receive any additional emails. I had a consult and all people prefer to receive a notification, visit or not visit the forum. The way that your newpost2mail send the messages is perfect for us, for administrator and for users too...

Thank you.

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Sun Jan 27, 2008 12:47 am
by henmedia
Hola,

n2m is meant to be an admin tool. Subscriptions for normal users are not planned, cause this will make n2m much more complicated to install and to program, as we have to touch the users control panel for this so that they can subsrcibe to n2m notifications.

n2m was first programmed as a MOD for my personal use as I wanted to monitor my board in a simple and effective way. As I thought that this could be interesting for the community (and I knew some of you were asking for such a feature) I decided to publish it and to build in a few more features that might be useful. Plus some configuration options and a little documentation how things go and what can be done with it.

This is the first MOD I ever programmed and it took me some time to discover how some things work inside phpBB3. Unfortunatly the little documentation for developers didn't help me in most cases, so there was a lot of trial and error and walking through the scripts of phpBB3 to find out how to get certain things to work.

So at this time the features you are asking for are not going to be added by myself, I'm sorry.

Stefan

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Sun Jan 27, 2008 1:52 am
by grover66
I tested this mod out, version 11 and it works perfectly. Very useful mod, thanks

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Mon Jan 28, 2008 8:28 am
by henmedia
New version beta 13 released:
  • Fixed bug showing signatures only for edited posts. Only newpost2mail.php has been updated for that.
Download: http://henmedia.de

Stefan

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Mon Jan 28, 2008 4:09 pm
by Gizmokid2005
I just installed this in my forum that I manage at work, but I get the following text at the top of the "post submission" page and the email does not send:
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 64: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 249: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 261: array_unique() [function.array-unique]: The argument should be an array
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 269: Invalid argument supplied for foreach()
This is a vanilla install of both phpbb3 and N2m

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Mon Jan 28, 2008 4:43 pm
by henmedia
Looks like newpost2mail.config.php cannot be read. Is it still there and does it belong to the version installed?

Stefan

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Mon Jan 28, 2008 4:51 pm
by Gizmokid2005
Yes. I just unpacked the zip right to the root of the forum. I will download again and re-upload and see if that works.

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Mon Jan 28, 2008 4:54 pm
by Gizmokid2005
Gizmokid2005 wrote:Yes. I just unpacked the zip right to the root of the forum. I will download again and re-upload and see if that works.
Fresh unpack and upload:
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 64: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 249: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 261: array_unique() [function.array-unique]: The argument should be an array
[phpBB Debug] PHP Notice: in file /newpost2mail.php on line 269: Invalid argument supplied for foreach()
Same thing :?:


***EDIT***

I'm not sure if it makes a difference, but I'm using an SMTP server for mail instead of just leaving the default settings.

Re: [BETA] newpost2mail: Send new posts as email to admin

Posted: Mon Jan 28, 2008 6:18 pm
by henmedia
I've no idea. Using SMTP makes no difference. The errors your are getting mean that the configuration variables from newpost2mail.config.php cannot be read.

I just downloaded beta 13 and installed it on my board with no errors.

Anyone else having these problems?

Stefan