[ABD] newpost2mail: Send new posts as email to admin

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post 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
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
Kerrith
Registered User
Posts: 493
Joined: Mon Mar 28, 2005 10:16 am
Location: Pahoa, Hawaii

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

Post 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
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post by henmedia »

Strange, never heard of any problems like that. But let's wait until we hear about your testing environment.

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
Kerrith
Registered User
Posts: 493
Joined: Mon Mar 28, 2005 10:16 am
Location: Pahoa, Hawaii

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

Post 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
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post 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
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

newpost2mail beta 12 released

Post 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
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
Rafael
Registered User
Posts: 5
Joined: Thu Nov 29, 2007 1:34 pm
Location: Madrid y Lugo (Spain)

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

Post 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.
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
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post 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
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
grover66
Registered User
Posts: 36
Joined: Mon Mar 19, 2007 1:48 pm

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

Post by grover66 »

I tested this mod out, version 11 and it works perfectly. Very useful mod, thanks
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post 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
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
Gizmokid2005
Registered User
Posts: 33
Joined: Mon Oct 08, 2007 11:42 pm
Location: 192.168.10.100

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

Post 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
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post by henmedia »

Looks like newpost2mail.config.php cannot be read. Is it still there and does it belong to the version installed?

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
Gizmokid2005
Registered User
Posts: 33
Joined: Mon Oct 08, 2007 11:42 pm
Location: 192.168.10.100

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

Post 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.
Gizmokid2005
Registered User
Posts: 33
Joined: Mon Oct 08, 2007 11:42 pm
Location: 192.168.10.100

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

Post 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.
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany

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

Post 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
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]

Return to “[3.0.x] Abandoned MODs”