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.
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.
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).
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 ...
Fixed bug not showing images if your board URL wasn't the domains root (i.e. http://yourboard.com/phpBB instead of http://yourboard.com). Only newpost2mail.php has been updated for that.
If you have no problems with images there's no need to update.
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.
Rafael Cansinos
Ilustración 10 Servicios Gráficos | Preimpresión, Edición e Internet
28021 Madrid Telf: 34. 915 400 555 rafael at cansinos.com
Visit our Foundation: Fundación-Archivo Rafael Cansinos Assens
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.
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()
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.
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.