[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.
Locked
User avatar
NanotechScorpio
Registered User
Posts: 105
Joined: Sun Feb 21, 2010 1:49 pm
Location: Lumber Room somewhere in the Wonderland
Contact:

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

Post by NanotechScorpio »

henmedia wrote:Sorry, but this is something completely different and there are no plans for that.

Stefan
Someone who created some awesome thing should know it's possible and easy. Sorry, my mistake.
"I love rum, it makes me soo easy" .')
My site is here: http://www.pykoff.xtreemhost.com
Hence all my topics are locked, cause someone else sites aren't brave to add "Powered by" as I did, my site is down till I restore my precious database.
User avatar
NanotechScorpio
Registered User
Posts: 105
Joined: Sun Feb 21, 2010 1:49 pm
Location: Lumber Room somewhere in the Wonderland
Contact:

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

Post by NanotechScorpio »

henmedia wrote:No, there's no log. Anything must have changed :)

Stefan
How is the pogress about post2email for phpBB3.0.x ?

How much would it cost for my future commercial uses? Is it possible to donate the project too?
"I love rum, it makes me soo easy" .')
My site is here: http://www.pykoff.xtreemhost.com
Hence all my topics are locked, cause someone else sites aren't brave to add "Powered by" as I did, my site is down till I restore my precious database.
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany
Contact:

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

Post by henmedia »

NanotechScorpio wrote:How is the pogress about post2email for phpBB3.0.x ?
What exactly do you mean? Afaik everything is running fine so far.

NanotechScorpio wrote:How much would it cost for my future commercial uses? Is it possible to donate the project too?
There are no extra costs but donations are always welcome, see me signature for details.

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
User avatar
NanotechScorpio
Registered User
Posts: 105
Joined: Sun Feb 21, 2010 1:49 pm
Location: Lumber Room somewhere in the Wonderland
Contact:

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

Post by NanotechScorpio »

henmedia wrote:
NanotechScorpio wrote:How is the pogress about post2email for phpBB3.0.x ?
What exactly do you mean? Afaik everything is running fine so far.

Stefan
So the MOD is able to post messages like emails to the phpBB3.0.x site when I'm away from my laptop and I can type it as email on my phone?

You kiddin' .')
"I love rum, it makes me soo easy" .')
My site is here: http://www.pykoff.xtreemhost.com
Hence all my topics are locked, cause someone else sites aren't brave to add "Powered by" as I did, my site is down till I restore my precious database.
amoun
Registered User
Posts: 251
Joined: Mon Sep 29, 2003 1:15 pm
Location: Cornwall, UK SX45036904
Contact:

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

Post by amoun »

NanotechScorpio wrote:
henmedia wrote:
NanotechScorpio wrote:How is the pogress about post2email for phpBB3.0.x ?
What exactly do you mean? Afaik everything is running fine so far.

Stefan
So the MOD is able to post messages like emails to the phpBB3.0.x site when I'm away from my laptop and I can type it as email on my phone?

You kiddin' .')
? Are you kiddin' scorpio ?

The mod isn't for being able to send messages to the forum but to get notifications by email of changes to the forum.

For what you want have a look at b2evolution. It's an open source blog which you can update by phone etc. maybe you could adapt the code.
facts invariably distort the truth
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany
Contact:

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

Post by henmedia »

Thanks amoun, I already tried to explain this some posts above, but some people simply do not want to understand or accept certain things. And: No, I'm not kidding, EOD.

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
User avatar
Shakensoul
Registered User
Posts: 77
Joined: Fri Mar 20, 2009 9:37 am
Location: India
Contact:

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

Post by Shakensoul »

This is a great MOD. Thanks to the author. :)

A few basic questions.

I want to send the email notifications to all users.

Code: Select all

 // You can send mails to groups defined in your phpBB3 installation by changing the
  // follwing line:
  //
  // $n2m_MAILTO_GROUP[] = "";
  // to
  // $n2m_MAILTO_GROUP[] = "your_group_here";
  //
  // Now newpost2mail will send an email to every user which is member of this group.
  //
  // It may be a good idea to create a group called "n2m_recipients" or similar in your
  // phpBB3 installation, so you can manage the recipients by just adding the users who
  // should receive emails to this group.
  //
  // If you want to send to multiple groups, simply repeat this line for each group:
  //
  // $n2m_MAILTO_GROUP[] = "your_1st_group_here";
  // $n2m_MAILTO_GROUP[] = "your_2nd_group_here";
  // $n2m_MAILTO_GROUP[] = "your_3rd_group_here";

  $n2m_MAILTO_GROUP[] = "";
I tried this code

$n2m_MAILTO_GROUP[] = "Registered Users"

but I think it did not recognize the variable due to space. As per the instructions, I created a group "n2m_recipients" and included all members in this group.

This code is working

$n2m_MAILTO_GROUP[] = "n2m_recipients"

But I was wondering if I can include the Registered Users group in the code.
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany
Contact:

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

Post by henmedia »

I looked into the phpBB3 database, where n2m also looks up for groups.

The group called "Registered Users" is actually named "REGISTERED" in the database, so please try it with this name and see if it works.

I also find the following groups defined in the database:

GUESTS
REGISTERED
REGISTERED_COPPA
GLOBAL_MODERATORS
ADMINISTRATORS
BOTS
NEWLY_REGISTERED

Please tell us, if this fits your needs.

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
User avatar
Shakensoul
Registered User
Posts: 77
Joined: Fri Mar 20, 2009 9:37 am
Location: India
Contact:

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

Post by Shakensoul »

Using REGISTERED does not seem to be working.

Does the mod send email to the board admin by default ? Because when I used

$n2m_MAILTO_GROUP[] = "REGISTERED"

the dummy account did not receive the email but the admin did.

Also once I changed the group back to "n2m_recipients" group and tried a test post, I received 2 email notifications, one for the previous post which was not sent out when I had changed the group to REGISTERED. :?:
User avatar
NanotechScorpio
Registered User
Posts: 105
Joined: Sun Feb 21, 2010 1:49 pm
Location: Lumber Room somewhere in the Wonderland
Contact:

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

Post by NanotechScorpio »

amoun wrote:
NanotechScorpio wrote:
henmedia wrote:
NanotechScorpio wrote:How is the pogress about post2email for phpBB3.0.x ?
What exactly do you mean? Afaik everything is running fine so far.

Stefan
So the MOD is able to post messages like emails to the phpBB3.0.x site when I'm away from my laptop and I can type it as email on my phone?

You kiddin' .')
? Are you kiddin' scorpio ?

The mod isn't for being able to send messages to the forum but to get notifications by email of changes to the forum.

For what you want have a look at b2evolution. It's an open source blog which you can update by phone etc. maybe you could adapt the code.
I'll try to start from the very beginning and install b2evo maybe, cause I'm not good in playin' with code.
"I love rum, it makes me soo easy" .')
My site is here: http://www.pykoff.xtreemhost.com
Hence all my topics are locked, cause someone else sites aren't brave to add "Powered by" as I did, my site is down till I restore my precious database.
User avatar
Shakensoul
Registered User
Posts: 77
Joined: Fri Mar 20, 2009 9:37 am
Location: India
Contact:

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

Post by Shakensoul »

After implementing the mod, I have noticed that after you click on submit after posting a reply or topic, there is a slight delay of 5-10 secs when nothing seems to be happening, and often users tend to click on the submit button again resulting in double post.

Is there anything we can do ?
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany
Contact:

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

Post by henmedia »

This lag depends on how long your server needs to send the mails and of course the more receipients, the longer it takes.

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
User avatar
Shakensoul
Registered User
Posts: 77
Joined: Fri Mar 20, 2009 9:37 am
Location: India
Contact:

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

Post by Shakensoul »

henmedia wrote:This lag depends on how long your server needs to send the mails and of course the more receipients, the longer it takes.

Stefan
Thanks. That clears my doubt perfectly.
chuckD
Registered User
Posts: 13
Joined: Sun Jan 06, 2008 5:12 am

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

Post by chuckD »

I cant seem to get this to work. I am not recieving the posts in the emails. I am running a different theme other than ProSilver and I am running phpbb 3.0.4. Could either of these be my problem?

Thanks in advance.
henmedia
Registered User
Posts: 140
Joined: Wed Dec 19, 2007 9:31 am
Location: Germany
Contact:

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

Post by henmedia »

A different Theme doesn't matter and it should run with every v3.x Version so far. Did you double check your changes to posting.php?

Stefan
Get the latest version of newpost2mail for phpBB3 at http://henmedia.de | [donate USD] [donate EUR]
Locked

Return to “[3.0.x] Abandoned MODs”