PDA

View Full Version : Forum Subscription / Email Notification


Denix
07-10-2001, 08:22 AM
I want a hack where the entire contents of a post can be sent to a user if they are subscribed to a thread, rather than just an email containing a link to the new post. Preferably with a preference to allow them to switch this feature on or off. (Normal mode, email full text mode, toggle)

I'd also like to see the same thing available when subscribed to a forum. (I know that currently messages aren't even sent out, but this would be good also) So that effectively the forum can be turned into a mailing list.

Hmm... And if replies could go back to the forum and be threaded... :) Okay, maybe now I am dreaming. ;)

Denix
07-27-2001, 07:24 AM
^bump^

is this even remotely feasable, does anyone know? - I have *some* knowledge of PHP, and I could look at it myself given a couple of pointers on where to start.

Anyone?

tubedogg
07-27-2001, 07:32 AM
I believe if you look in the Releases forum someone already did this...not quite like you want it but it wouldn't be hard to modify from what's already there.

Denix
07-27-2001, 07:51 AM
Thanks,

If you're referring to the 'community mailer' hack, you're right it dosen't quite do what I want, but there's enough code there to look at and figure out how it works.

I'll have a play and if I get anything working I'll release it. :)

tubedogg
07-27-2001, 07:56 AM
No no...that has nothing to do with it. There's actually a hack regarding emailing for forum subscriptions...at least I think there is. It might be in the 1.x releases forum but it worked with 2.0 IIRC.

JamesUS
07-27-2001, 08:02 AM
There is also a hack around somewhere that sends a snippet of the message text (the first n characters) which could be easily modified to suit you.

Steve Machol
07-27-2001, 03:14 PM
To add the entire contents of a post to the email notification message, just add this to the 'email_notify' template:


Here's the content of this message:

$messageIf you have more than one Template set, this will need to be done to all of them for this to work consistently.