vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   which templates control PM/newpost subscription emails? (https://vborg.vbsupport.ru/showthread.php?t=81200)

whodah 05-09-2005 05:35 PM

which templates control PM/newpost subscription emails?
 
heya!

subject says it all! :)

i was hunting around but could not find which templates are used for the layout/text of subscription emails and new-PM emails.

anyone know what they are?

thanks!

ericgtr 05-09-2005 05:54 PM

Try modifyoptions :)

whodah 05-09-2005 06:04 PM

hrm.. not sure if we're on the same page?

i'm trying to modify the actual email the user gets when subscribed to a thread. u know, the one that says something like:
Code:

Hello (user),

(someone) has just replied to a thread you have subscribed to entitled - (thread title) - in the (forum) of (your forum name).

This thread is located at:
(thread link)

Here is the message that has just been posted:
***************
(message)
***************
...

thanks! :)

ericgtr 05-09-2005 06:10 PM

Ahh.. okay then it's a phrase you are looking for. In your Admin CP go to Languages & Phrases > Phrase Manager > Click the Search in Phrases button. Leave the buttons at default and type in has just replied to a thread and it will take you to where you can edit it.

Marco van Herwaarden 05-09-2005 06:22 PM

You will need to modify the Phrase 'notify'

whodah 05-09-2005 07:42 PM

perfect! ty both! :)

the one to modify the PM notification turned out to be: pmreceived

(i modified 'notify' as well)

cool, got it all worked out how we wanted.

if this is of interest to anyone, i modified pmreceived to make the PM email notification show the PM message (similar to what a subscribed thread does by default) as such (the major difference is the addition of pm[message]):

Code:

$touserinfo[username],

You have received a new private message at $vboptions[bbtitle]

From: $bbuserinfo[username]
Subject: $pm[title]
PM Inbox location: $vboptions[bburl]/private.php
Message:
***************
$pm[message]
***************

Thanks,
$vboptions[bbtitle] team



All times are GMT. The time now is 07:40 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.01137 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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