Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Template Modifications

Reply
 
Thread Tools
Include Private Message text in notification email Details »»
Include Private Message text in notification email
Version: 1.00, by ghroob ghroob is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-09-2004 Last Update: Never Installs: 7
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 07-10-2004, 02:24 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod is cool. members ain't need to login to the board to read their PMs.
Reply With Quote
  #3  
Old 07-14-2004, 01:31 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx
Reply With Quote
  #4  
Old 07-16-2004, 07:06 PM
MrToasty MrToasty is offline
 
Join Date: May 2004
Location: Adelaide AU
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 07-22-2004, 03:11 AM
allhandl allhandl is offline
 
Join Date: Mar 2004
Location: Delaware
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 07-22-2004, 04:43 AM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how about making it

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

to show to only admin group.
Reply With Quote
  #7  
Old 07-23-2004, 02:11 AM
allhandl allhandl is offline
 
Join Date: Mar 2004
Location: Delaware
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 08-01-2004, 11:37 PM
we_scooter we_scooter is offline
 
Join Date: Aug 2002
Location: KSA
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

woow

thats KooL
Emad .. Jazak ALLAH 5eer master
Reply With Quote
  #9  
Old 08-02-2004, 06:15 PM
bonnmac bonnmac is offline
 
Join Date: Mar 2002
Location: United States
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 07-23-2005, 08:31 PM
kash2k kash2k is offline
 
Join Date: Jun 2005
Location: The Toon
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:51 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.05957 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete