vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Forum Subscription / Email Notification (https://vborg.vbsupport.ru/showthread.php?t=22421)

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:

Code:

Here's the content of this message:

$message

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


All times are GMT. The time now is 11:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01042 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete