vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hack Request: Full-text e-mail notifications (https://vborg.vbsupport.ru/showthread.php?t=26703)

jminiman 08-28-2001 01:03 PM

Hi all,

This isn't nearly as complicated as the full e-mail discussion system proposed in another thread, since I don't care about forum interaction via POP3.

For just one of my forums, I would like to send to those who I have manually selected to receive notification of new THREADS not just notification of a new thread but the entire thread starter itself. Would a hack for this be easy to make?

Thanks for your help!

Steve Machol 08-28-2001 03:49 PM

You could just create a specific style for that forum and add $message to the email_notify template.

jminiman 08-28-2001 06:09 PM

I see how to edit the normal e-mail style that people who subscribe to a thread receive, but if they don't subscribe and I manually add their e-mail addresses to the admin control panel (Forums--Edit), they get a message in this format:

Hello,

XXXX has just posted in the XXXXXX forum of pocketnow.com Discussion under the title of XXXXXXXXXXXXXXXXXXXXXXXXXXXX.

This thread is located at [link here]

--

Where is this template located?

Steve Machol 08-28-2001 06:47 PM

That would be the email_moderator template.

jminiman 08-28-2001 06:52 PM

Is it possible to change the Subject of that e-mail sent?

Steve Machol 08-28-2001 07:03 PM

In what way? If you want a standard subject title that's used all the time, just edit the template to say whatever you like. If you're looking for a dynamic change, then it really depends on what you want.

jminiman 08-28-2001 07:08 PM

Perhaps I'm being too vague. In the e-mail that is sent to all manually selected individuals, they get an e-mail with:

Source
Subject
Body

I can edit the Body through email_moderators, but Subject cannot be edited from where I see. If the Subject makes no sense or unimportant, the e-mail will be deleted. I need to make the subject meaningful.

Steve Machol 08-28-2001 07:14 PM

I think you'd have to modify the appropriate .php file. I'm not sure which one - you'd have to search for the appropriate phrase ('New Post/Thread Notification'?)

Depending on what you want it to say, this could be an easy change or a very difficult one.

jminiman 08-29-2001 07:24 PM

I searched the PHP files in /forums directory, but found nothing. Could you please point me to the correct file?

Thanks for your patience.

Steve Machol 08-29-2001 07:33 PM

[QUOTE]Originally posted by jminiman
I searched the PHP files in /forums directory, but found nothing. Could you please point me to the correct file?

Thanks for your patience.


All times are GMT. The time now is 12:36 PM.

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.00962 seconds
  • Memory Usage 1,725KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete