[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
fogpuppy
Registered User
Posts: 13
Joined: Mon Dec 15, 2008 5:21 pm

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

Post by fogpuppy » Tue Apr 28, 2009 11:00 pm

I was wondering. It does not look all that hard to integrate it such that it would only send the post to people subscribed for topic/forum notification. The code for that seems to be in the user_notification function functions_posting.php. So it seems like we could use the code in there that get all the users subscribed to a topic and then add them to the list of emails as well. Does this make sense or am I smoking something?

And just out of curiosity is there some reason this mod did not use the functions in the the above to facilitate sending the email and or the functions in function_messenger? A quick glance would seem to indicate that there is quite a bit of duplication.

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 Apr 28, 2009 11:19 pm

n2m is meant to be an admin tool. It sends out email addresses, IPs and hostnames, links to administrative functions. All these things should never be sent out to normal users.
Sure it would be possible with some (maybe much) work and investigations to make this an user notification tool ... but that was (and is) not my goal, sorry. All I wanted is a q'n'd solution for admins, easy and fast to install and to configure ... and that's what we have here.
Please nobody expect any development by me regarding user notifications - but feel free to modify the code to fit your needs. Thanks for your understanding :-)

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

fogpuppy
Registered User
Posts: 13
Joined: Mon Dec 15, 2008 5:21 pm

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

Post by fogpuppy » Wed Apr 29, 2009 3:30 pm

Stefan,

I totally understand and respect you keeping to your original goal. Can I simply use what seems useful out of your code in my own efforts. What license is your code under or do you just consider it public code?

Kent

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 » Wed Apr 29, 2009 4:37 pm

Feel free to use and enhance the code to fit your needs. There's no special license ...

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

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

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

Post by zake black » Wed Apr 29, 2009 6:51 pm

Great mod thanks very easy to install aswell.. good work

Edit: had a thought on the way home, how easy would it be to set it up so that it emails details of new sign ups? Thanks

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 » Wed Apr 29, 2009 10:43 pm

zake black wrote:how easy would it be to set it up so that it emails details of new sign ups? Thanks
This is something completely different and can't be done with n2m.

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

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

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

Post by zake black » Thu Apr 30, 2009 7:06 am

henmedia wrote:
zake black wrote:how easy would it be to set it up so that it emails details of new sign ups? Thanks
This is something completely different and can't be done with n2m.

Stefan
No problem was just a thought so i thought i would ask. great mod though thanks

User avatar
caeos
Registered User
Posts: 52
Joined: Fri Nov 12, 2004 4:36 am
Location: Uk
Contact:

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

Post by caeos » Thu Apr 30, 2009 11:36 am

zake black wrote:Great mod thanks very easy to install aswell.. good work

Edit: had a thought on the way home, how easy would it be to set it up so that it emails details of new sign ups? Thanks
there are already several mods that do that..

User avatar
zake black
Registered User
Posts: 694
Joined: Fri Jan 23, 2009 8:34 am
Location: Milton Keynes (UK)
Contact:

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

Post by zake black » Thu Apr 30, 2009 11:40 am

caeos wrote:
zake black wrote:Great mod thanks very easy to install aswell.. good work

Edit: had a thought on the way home, how easy would it be to set it up so that it emails details of new sign ups? Thanks
there are already several mods that do that..
Oooh really? any links? i will search also myself but dont recall seeing any

edit: found here

User avatar
caeos
Registered User
Posts: 52
Joined: Fri Nov 12, 2004 4:36 am
Location: Uk
Contact:

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

Post by caeos » Sun May 03, 2009 8:12 pm

ok, i have look for how to do this and cant spot it.

i want to change this

Code: Select all

User : controller (controller@doamin.net) 
Subject : walk leader train 
Thread : walk leader train 
Forum : Training Options « Training Available 
Mode : post 
IP/Host : xx.xxx.xxx.x / .com 
Actions : [reply] [quote] [edit] [delete] [info] [pm] [email] 

please contact the council for more information  
to this

Code: Select all

User : controller (controller@doamin.net) 
Subject : walk leader train 
Thread : walk leader train 
Forum : Training Options « Training Available 

please contact the council for more information  
can i have some clues please...

ricktan150
Registered User
Posts: 97
Joined: Tue May 05, 2009 4:46 am
Location: Chicago
Contact:

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

Post by ricktan150 » Wed May 20, 2009 2:30 am

Stefan - thanks for a great mod!

However, I am having issues with the attachments (both attached and inline).

I get an error that says "Not viewed yet" at the bottom of each email.

It seems if an img url is embedded that shows up ok as part of the email.

Appreciate yours or others assistance with this. Thanks!

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 » Wed May 20, 2009 6:21 am

There is a counter for each uploaded image which tells you, how often the image was shown already. At the time n2m sends the mail, the counter is still zero. So that's the reason why phpBB3 generates this message.

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

ricktan150
Registered User
Posts: 97
Joined: Tue May 05, 2009 4:46 am
Location: Chicago
Contact:

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

Post by ricktan150 » Wed May 20, 2009 12:56 pm

Thanks Stefan. I guess my question wasn't very clear.

The thing is that the attachment doesn't appear alongside the above message "Not Viewed Yet"?

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 » Wed May 20, 2009 5:44 pm

This may be a security setting in your mail client which prevents loading external images.

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

ricktan150
Registered User
Posts: 97
Joined: Tue May 05, 2009 4:46 am
Location: Chicago
Contact:

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

Post by ricktan150 » Wed May 20, 2009 7:46 pm

I am actually using the MOD to send an email to the "admin". The "admin" email is with the hosting company. I have configured this in WIndows Live Mail.

- I checked on the Hosting company's webmail directly and it has the same issue. Attachments are not showing up
- The images embedded using [img] by users are showing up though?

I am clueless at this point? Thanks for your support!

Locked

Return to “[3.0.x] Abandoned MODs”