[BETA] New Topic/Reply Notify

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Izhaki
Registered User
Posts: 34
Joined: Wed Jan 07, 2004 3:57 am
Location: London

[BETA] New Topic/Reply Notify

Post by Izhaki »

Hi,

I've written a MOD that sends an email notification to a single address whenever a new topic or reply is posted.

Originally, I've written this MOD in order to (semi-)synchronize my forum with a mailing list.

:arrow: Download here

Code: Select all

##############################################################
## MOD Title: NewTopic/Reply notification
## MOD Author: Izhaki <****@izhaki.com> (**** Izhaki) N/A
## MOD Description: Sends an Email to a single email address whenever a new topic/reply is posted.
##                  This can be useful, for example, when you want to sync with a mailing list.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: ~1 Minutes
## Files To Edit:
##              - includes/functions_post.php
## Included Files: 
##		- language/lang_english/email/PostReplyNotify.tpl
##############################################################
Any comments\Bug reports (:?) will be highly appreciated.

Thanks, Roey.
Last edited by Izhaki on Mon Dec 05, 2005 11:08 am, edited 1 time in total.
Izhaki
Registered User
Posts: 34
Joined: Wed Jan 07, 2004 3:57 am
Location: London

Post by Izhaki »

Hmmm... did I mention that any beta-testers are (well) welcome? Cause I'm heading towards a neglectedness breakdown... :(
seteo-bloke
I've Been Banned!
Posts: 281
Joined: Tue Jan 28, 2003 1:41 pm

Post by seteo-bloke »

I'll give this a go this evening.

Thanks Izhaki. :)
seteo-bloke
I've Been Banned!
Posts: 281
Joined: Tue Jan 28, 2003 1:41 pm

Post by seteo-bloke »

Finally tested this and appears to do the job well.
Izhaki
Registered User
Posts: 34
Joined: Wed Jan 07, 2004 3:57 am
Location: London

Post by Izhaki »

Cheers man,

Seems like there's not much interest anyway, so I reckon whoever needs it will find her way to this thread.

Thanks seteo-bloke.
mchyzer
Registered User
Posts: 2
Joined: Mon Jul 19, 2004 7:14 pm

Re: [BETA] New Topic/Reply Notify

Post by mchyzer »

Izhaki wrote: Any comments\Bug reports (:?) will be highly appreciated.


This is a useful mod. I think it would be useful for users to be able to watch forums for all activity. Hopefully this will be available at some point. In any case, in the newest version of phpBB, this mod fails on reply posts (its ok for new posts). If you have "include(" on the mailer in the mod and in the php file where it goes to "include_once(" then it works fine...

Chris
sarchule
Registered User
Posts: 1
Joined: Tue Jul 20, 2004 5:35 am

Re: [BETA] New Topic/Reply Notify

Post by sarchule »

mchyzer wrote: If you have "include(" on the mailer in the mod and in the php file where it goes to "include_once(" then it works fine...


I'd really like to use this mod on the latest version. However, I don't quite follow this last sentence. Can you explain further to a PHP newbie.

Oh, and thanks Izhaki for coming up with the original mod--I do think the idea is very useful.

Steve
mchyzer
Registered User
Posts: 2
Joined: Mon Jul 19, 2004 7:14 pm

Re: [BETA] New Topic/Reply Notify

Post by mchyzer »

sarchule wrote:
mchyzer wrote: I'd really like to use this mod on the latest version. However, I don't quite follow this last sentence. Can you explain further to a PHP newbie.
Just replace the includes/functions_post.php with this file (better do it soon before phpBB upgrades this file, in which case you probably should do what the mod instructions say, and do my search and replace afterwards "include(" for "include_once(".

(replace [email protected] with your email address)

http://ait100039.isc-ait.upenn.edu/func ... st.php.txt

Chris
ayusuf
I've Been Banned!
Posts: 917
Joined: Fri Feb 06, 2004 11:00 pm
Location: Orlando,Fl
Contact:

Post by ayusuf »

its a good mod for a small forum. it was a big forum it would take up too much server load.
olol
Registered User
Posts: 8
Joined: Fri Aug 06, 2004 4:59 pm
Location: ITALY

Post by olol »

hi, when you say a small forum how many people do you mean? we're an association with 190 members, would that be ok?
instead of sending each other e-mails all the time i'd like to get members involved in the forum by enticing them to read new posts which would be notified by an e-mail list to all members, including those who aren't registered with the forum, just 40 out of 190 just now, (but no further details about post content) with a link to the forum.
we use 2.06, does this mod work on this version too?
thanks for your suggestions and for a very useful idea.
laurence
whitlock
Registered User
Posts: 17
Joined: Tue Jun 15, 2004 1:37 am

Post by whitlock »

It would be nice to have an option in the admin control panel to turn this feature on and off for the board.
repustech
Registered User
Posts: 3
Joined: Sun Aug 08, 2004 10:14 am

Post by repustech »

Great idea, this MOD would be very helpful to me. It works for a new post but it causes an error on a reply post.

The error says something like "cannot redeclare mailer".

I changed the "include" to "include_once" in the code you provided, but still had the same problem.

I am using phpbb 2.0.8

Has anyone got this MOD to work properly?

Thanx,
Jason
whitlock
Registered User
Posts: 17
Joined: Tue Jun 15, 2004 1:37 am

Post by whitlock »

It worked (for both replies and new topics) on my 2.0.10 board.
Last edited by whitlock on Sun Aug 08, 2004 8:03 pm, edited 1 time in total.
repustech
Registered User
Posts: 3
Joined: Sun Aug 08, 2004 10:14 am

Post by repustech »

For some reason it does not work with the latest version of phpbb 2.0.8

Since I didn't really need the "reply notification" I just removed that function from the MOD. It works great with just the "new topic notification".

Thanks to Izhaki for the original code, and thanks to everyone else with input and testing. :D

Take care,
Last edited by repustech on Sun Aug 08, 2004 11:55 pm, edited 1 time in total.
Jason
Zypher
Registered User
Posts: 381
Joined: Fri Mar 12, 2004 7:04 am
Location: Australia
Contact:

Post by Zypher »

This looks interesting, i might try it out.
- Zypher

~Beware of the Darkness Within!~

Fully Loaded
Post Reply

Return to “[2.0.x] MODs in Development”