vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   PM Notification without Full Message - How can I do that? (https://vborg.vbsupport.ru/showthread.php?t=318135)

Vegas Dude 04-06-2015 06:47 PM

PM Notification without Full Message - How can I do that?
 
Currently when PM's arrive to a member's inbox when requesting email notification, it reveals the full message. However, I'd like it to appear as below:

Dear XXXX,

You have received a new private message at XXXX Forum from XXXX, entitled "Deadline in about six hours!!".
To read, respond to, or delete the message, you must log in here:
http://www.XXXX.com/forums/private.php

Cheers!
XXXX Forum

------------

Anyone know how I can do that please? :)

Fields 04-07-2015 06:20 AM

Sure, search for the phrase 'pmreceived' and set this as translation

Quote:

Dear $touserinfo[username],

You have received a new private message at $vboptions[bbtitle] Forum from $fromusername, entitled "$plaintext_title".
To read, respond to, or delete the message, you must log in here:
$vboptions[bburl]/private.php

Cheers!
$vboptions[bbtitle] Forum
or change it to fit your needs ;)

Vegas Dude 04-07-2015 02:03 PM

Quote:

Originally Posted by Fields (Post 2542499)
Sure, search for the phrase 'pmreceived' and set this as translation



or change it to fit your needs ;)


Hi Fields,

Thanks for that. However, that template doesn't exist when I search - is that even possible?

I'm on VB 4.2.2 Patch Level 4

Thanks

Vegas Dude

kh99 04-07-2015 02:08 PM

It's a phrase, so go to Languages & Phrases > Search in Phrases. Click the "Phrase Variable Name Only" radio button to search for the phrase name. You'll find two, one's the email subject and the other's the body, but it will be obvious which one you want to edit. Then enter whatever you want in the 'Translation' box at the bottom (you'd probably want to copy and paste the existing phrase to start with).

Vegas Dude 04-07-2015 02:53 PM

Superb. :)


All times are GMT. The time now is 01:12 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.01177 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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