Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Happy Holidays Greeting in Members PM's Details »»
Happy Holidays Greeting in Members PM's
Version: 1.00, by Kalina Kalina is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 12-12-2006 Last Update: Never Installs: 19
Template Edits
 
No support by the author.

I put this little modification in for my members and they really liked it, so I thought I would share.

What this does is place a graphic of your choosing in your members private messages and it says "Happy Holidays, Username!"

It will appear in messages they receive, see screenshot below. Of course you can change the greeting and image to anything.

Depending on which postbit you use, here's instructions for both.

In your postbit template, find this code:

PHP Code:
<div style="margin-top: 10px" align="$stylevar[right]"
Beneath it, paste the following:

PHP Code:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if> 
SAVE!

In your postbit_legacy template, find this code:

PHP Code:
<td class="alt1" align="$stylevar[right]style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 1px solid #f8f5e9">
    </if> 
Beneath it, paste the following code:

PHP Code:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if> 
SAVE!

Be sure to upload your graphic to the smilies folder, I got my Santa smiley from this site.

You can of course change the greeting and colors in the code above to anything you like.

This is my first time sharing so if I've not covered anything, please let me know.

Show Your Support

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

Comments
  #2  
Old 12-13-2006, 06:19 AM
Kalina's Avatar
Kalina Kalina is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you use it, please click installed. Thanks!
Reply With Quote
  #3  
Old 12-13-2006, 07:03 AM
Cornie Cornie is offline
 
Join Date: Mar 2006
Location: Berlin
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, is install
Reply With Quote
  #4  
Old 12-13-2006, 07:50 AM
Feckie (Roger)'s Avatar
Feckie (Roger) Feckie (Roger) is offline
 
Join Date: May 2005
Location: Dublin Eire
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Touch

installed
Reply With Quote
  #5  
Old 12-13-2006, 09:28 AM
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
Posts: 741
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lovely idea but "happy holidays" is so naff happy christmas is the only thing !

CHRISTMAS !

nice little touch tho
Reply With Quote
  #6  
Old 12-13-2006, 03:06 PM
Darat Darat is offline
 
Join Date: Aug 2004
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A neat little mod - I'm going to use it to insert a small advert for some forum t-shirts we've just started selling!
Reply With Quote
  #7  
Old 12-13-2006, 03:39 PM
iran.gs iran.gs is offline
 
Join Date: Jul 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Job Installed
Reply With Quote
  #8  
Old 12-13-2006, 08:12 PM
Kalina's Avatar
Kalina Kalina is offline
 
Join Date: Mar 2005
Location: Canada
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by basilrath View Post
lovely idea but "happy holidays" is so naff happy christmas is the only thing !

CHRISTMAS !

nice little touch tho
Not to me, I don't feel right saying Christmas well before the actual date. Right near Christmas I will change mine to "Merry Christmas"

Glad you all liked it.
Reply With Quote
  #9  
Old 12-14-2006, 02:03 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea, will use it on christmas, thanks.
Reply With Quote
  #10  
Old 12-15-2006, 07:42 PM
thelittleguy thelittleguy is offline
 
Join Date: Dec 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it keeps showing up as a rex X in a box
Reply With Quote
Reply


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:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04332 seconds
  • Memory Usage 2,306KB
  • 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
  • (4)bbcode_php
  • (1)bbcode_quote
  • (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