[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
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 » Thu May 27, 2010 4:46 pm

this is what I have. I added the include line after the $redirect_url line


$redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message);
include($phpbb_root_path . 'newpost2mail.php');

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 » Thu Jun 03, 2010 5:25 am

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
I am coming back with a small question. Is it possible to change the code to allow the board to send emails after the post is submitted, submit post and then process the emails ?

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 » Thu Jun 03, 2010 6:59 am

n2m is executed after the post is submitted (this is the line above "$redirect_url = submit_post(...").

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

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 » Fri Jul 09, 2010 5:21 pm

Any more help on this? I still cant get it to work.

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 » Thu Aug 19, 2010 6:10 am

One more question? In the email body, is it possible to display only defined characters of the post and not the entire post ? Something similar to a read more in the email body ? ;)

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

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

Post by heredia21 » Thu Aug 19, 2010 6:31 am

Works great
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

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 » Thu Aug 19, 2010 7:30 am

Shakensoul wrote:One more question? In the email body, is it possible to display only defined characters of the post and not the entire post ? Something similar to a read more in the email body ? ;)
No, and there are no plans for this, sorry.

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

mtb
Registered User
Posts: 5
Joined: Thu Aug 12, 2010 11:24 pm

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

Post by mtb » Thu Aug 19, 2010 7:09 pm

Whenever I edit my posting.php file by adding
include($phpbb_root_path . 'newpost2mail.php');

after

$redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message, ($update_message || $update_subject) ? true : false);

I always get the an "ACCESS DENIED" error after making a post

Any ideas why this could be.

THANKS

Carlos Jesus
Registered User
Posts: 1
Joined: Mon Sep 20, 2010 6:41 pm

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

Post by Carlos Jesus » Mon Sep 20, 2010 6:47 pm

Hi, i want occult email user and ip host in the notifications received in email.
What part of the code we have to change?

regards,
Carlos

SuurSuomalainen
Registered User
Posts: 10
Joined: Mon Oct 11, 2010 4:13 pm

A raw html/css-like code instead of normal formatted e-mails

Post by SuurSuomalainen » Mon Oct 11, 2010 6:21 pm

Hallo Stefan,

I'm trying to begin using your mod on the latest 3.0.7, but having the same problem: an e-mail comes as raw html/css-like code and even without a "From:" field. Searching over this forum for more than one hour didn't help :(
WizardOfZo wrote:I tried each of the things you mentioned and it still has the HTML all messed up.
To get it to work, I replace functions_messenger.php from 3.0.5 with the old one from 3.0.4 and that seems to be OK for now.
Hopefully 3.0.6 is coming soon and really does repair the problem

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

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

Post by heredia21 » Sun Oct 17, 2010 5:35 pm

How can we send emails to a certain user?
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

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 » Mon Oct 18, 2010 6:48 am

Please see the first two sections in newpost2mail.config.php, it's all explained there ...

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

SuurSuomalainen
Registered User
Posts: 10
Joined: Mon Oct 11, 2010 4:13 pm

Re: [BETA] newpost2mail: raw html-like output problem

Post by SuurSuomalainen » Mon Oct 18, 2010 7:04 pm

Please, help us to deal somehow with that raw htmlcode-like emails sent by newpost2mail beta 19 if used with the current phpbb 3.0.7. We do really need it...

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 » Tue Oct 19, 2010 7:40 am

One thing you could try is to switch from SMTP to PHP Mail Function in phpBB settings, maybe this might solve the problem for you.

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

SuurSuomalainen
Registered User
Posts: 10
Joined: Mon Oct 11, 2010 4:13 pm

Re: [BETA] newpost2mail: Russian/Cyrillic characters output

Post by SuurSuomalainen » Wed Oct 20, 2010 12:41 pm

Thank you very much! That problem is solved by turning off the SMTP option.
But then I've got another one. I have translated newpost2mail to Russian, but inside newpost2mail's messages russian characters in fields' names look distorted, like "Äåéñòâèÿ" instead of "Действия", althought fields values like names of forums written in Russian, are displayed correctly in the same message.

Locked

Return to “[3.0.x] Abandoned MODs”