vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Include Private Message text in notification email (https://vborg.vbsupport.ru/showthread.php?t=89468)

ghroob 07-09-2004 10:00 PM

Include Private Message text in notification email
 
Hello
1- In Admin Cp go to: Search in Phrases
2- Search for: Please click here to log in and read it:
3 - find $vboptions[bburl]/private.php
4 - insert below:
HTML Code:

Massage:
*****************************
$message
*****************************

5 - Save it.

If you like to view title in Email subject:
1 - Search in Phrases for: New Private Message at $vboptions[bbtitle]
2 - Edit Only $vbphrase[pmreceived] Find there:
HTML Code:

New Private Message at $vboptions[bbtitle].
3 - Replace with:
HTML Code:

New Private Message at $vboptions[bbtitle]: $title
4 - Save it.

Done!
Enjoy :)

alkahf

tnguy3n 07-10-2004 02:24 PM

this mod is cool. members ain't need to login to the board to read their PMs. :)

monstergamer 07-14-2004 01:31 PM

thanx :D

MrToasty 07-16-2004 07:06 PM

What are the names of the templates in question? I can't find them with "Search in Phrases" for the life of me! I'm on 3.03...

edit: figured it out ;)

allhandl 07-22-2004 03:11 AM

Is it possible to make this specific to certain usergroups? Like an admin but not registered.

I tried to add this into the phrase with no luck

<if condition="$bbuserinfo['userid']!=6">Message:
*****************************
$message
*****************************</if>

thanks in advanced

tnguy3n 07-22-2004 04:43 AM

how about making it

<if condition="$bbuserinfo['userid'] ==6">Message:
*****************************
$message
*****************************</if>

to show to only admin group.

allhandl 07-23-2004 02:11 AM

i actually tried that as well an what happens is an email is sent with nothing. Not even the top title information. Same goes for the ! code I used.

Something tells me it can be used in a phrase, sound right?

we_scooter 08-01-2004 11:37 PM

woow

thats KooL
Emad .. Jazak ALLAH 5eer master

bonnmac 08-02-2004 06:15 PM

lol 1 small correction on the main post:
HTML:
Massage:
*****************************
$message
*****************************
the first part above the *** reads Massage got a few of the member excited thinking they were getting massages he he simple typo

kash2k 07-23-2005 08:31 PM

Shame no-one figured out the Admin only part :(

Only used the title part of the mod, so users still have to log-in, but much better. Thanks for this one

*** Edit *** - Added the whole lot now. Much better, Thanks again ;)

K


All times are GMT. The time now is 03:47 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.01050 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
  • (3)bbcode_html_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
  • (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