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

Reply
 
Thread Tools
PM Alert (SIMPLE) NO IMAGE! Details »»
PM Alert (SIMPLE) NO IMAGE!
Version: 1.00, by Ben Wilkins Ben Wilkins is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 08-18-2006 Last Update: Never Installs: 78
Template Edits
 
No support by the author.

If you want to display:

You have a pm, waiting to be read.

when a user has a new private message:

Just add this to the bottom of your header template

PHP Code:
<center>
<
font size="4" color="red" style="bold">
<if 
condition="$bbuserinfo['pmunread']">You have a private messagewaiting to be read.</if></font>
</
center
See the attachment for example



This mod works on all versions of VB

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 08-18-2006, 10:34 PM
cheech4487 cheech4487 is offline
 
Join Date: Nov 2004
Location: Bellingham, Ma.
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just so happens I was lookin for this and I will give it a try, thanx!!
Reply With Quote
  #3  
Old 08-18-2006, 11:18 PM
bobhonda bobhonda is offline
 
Join Date: Feb 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice **installed** thanks
Reply With Quote
  #4  
Old 08-18-2006, 11:41 PM
Scooterpig Scooterpig is offline
 
Join Date: Feb 2005
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Short & Sweet, love it thank you..

Ya might just wanna add a .txt file for it to attach as per rules..
Reply With Quote
  #5  
Old 08-19-2006, 12:59 AM
Selene Selene is offline
 
Join Date: Feb 2005
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack! thanks
Reply With Quote
  #6  
Old 08-19-2006, 02:08 AM
OziloZ's Avatar
OziloZ OziloZ is offline
 
Join Date: Jun 2006
Location: Turkiye
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent
Reply With Quote
  #7  
Old 08-19-2006, 03:06 AM
jdk10 jdk10 is offline
 
Join Date: Apr 2005
Location: Florida
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could this be modified to change the background color of the Welcome Sprint area on the top right?
Reply With Quote
  #8  
Old 08-19-2006, 03:35 AM
Baudman Baudman is offline
 
Join Date: Jan 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope you don't mid but I changed the code a bit so you can click it now when you see it. It will take you to your pm box.

Code:
<center>
<a href="http://www.yourdomain.com/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, waiting to be read.</if></font></a>
</center>
Change www.yourdomain.com to your sites address

Thanks this hack is great.

I should also add that you have to add /forums/ or what ever extention you have your forums in. Some people have http://www.yourdomain.com/forums/private.php for an example. if your site isn't set to direct to your forums like I have above (http://www.yourdomain.com/private.php) then change the path like this last example I gave. most people can change the green section to what ever they have.

I hope I have not confused to many poeple cause I don't normally add to things so I have no Idea how to get my point accross. lol
Reply With Quote
  #9  
Old 08-19-2006, 03:47 AM
BETIServices's Avatar
BETIServices BETIServices is offline
 
Join Date: Aug 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack, I love this hack specially with another hack that I already have it will display perfect.

The option to click is a plus !
Reply With Quote
  #10  
Old 08-19-2006, 10:16 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea. I like it.
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 05:55 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.04339 seconds
  • Memory Usage 2,287KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (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
  • (2)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