vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Email notification of PMs have PM inside (https://vborg.vbsupport.ru/showthread.php?t=109186)

tei727 04-30-2006 01:54 AM

Quote:

Originally Posted by jimp
I was looking for the same thing, and was beginning to write a hack for it. Instead, I found the solution could be implemented with a phrase override.

Change pmreceived to:
Code:

Dear $touserinfo[username],

You have received a new private message at $vboptions[bbtitle] from $fromusername. Please click here to log in and read it:
$vboptions[bburl]/private.php

All the best,
$vboptions[bbtitle]

_______________
Subject: {$this->pmtext[title]}

{$this->pmtext[message]}

(Tested with vB 3.5.x)

I hope this helps!

Help a n00b out..Where is pmreceived? lol

Boofo 04-30-2006 02:52 AM

Do a search in phrases in the Admin CP. ;)

jimp 04-30-2006 03:08 AM

Quote:

Originally Posted by tei727
Help a n00b out..Where is pmreceived? lol

AdminCP > Languages & Phrases > Search in Phrases
Search for Text: pmreceived
Search in ... : Phrase Variable Name Only
Rukbat, majorxp, and Boofo,

My forum is internal to my company. I would rather have my employees only log in if they need to reply. :D

Quote:

Originally Posted by Boofo
*sigh* I guess I'll have to wait for the plug-in. :(

God job, though. ;)

This one can't be a plugin. It would require hacking the vB_DataManager_PM class, which is where I looked to figure out what variables to add to the pmreceived phrase. Do you want me to post a hack, so only Administrators, Moderators, and Super Moderators receive the body of the PM?

Boofo 04-30-2006 03:16 AM

Quote:

Originally Posted by jimp
This one can't be a plugin. It would require hacking the vB_DataManager_PM class, which is where I looked to figure out what variables to add to the pmreceived phrase. Do you want me to post a hack, so only Administrators, Moderators, and Super Moderators receive the body of the PM?

Yes, sir. ;)

Tralala 05-09-2006 12:19 AM

Quote:

Originally Posted by jimp
Do you want me to post a hack, so only Administrators, Moderators, and Super Moderators receive the body of the PM?

Yes, please. Pretty please? :banana:


All times are GMT. The time now is 09:04 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.01297 seconds
  • Memory Usage 1,726KB
  • 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
  • (5)bbcode_quote_printable
  • (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
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete