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
  #42  
Old 06-16-2007, 07:22 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the blinking red new PM text that was used by vb.org
Reply With Quote
  #43  
Old 06-17-2007, 11:35 AM
kollam003 kollam003 is offline
 
Join Date: May 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just too good thanks
Reply With Quote
  #44  
Old 07-21-2007, 07:21 PM
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Location: Canada, eh?
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it!
Reply With Quote
  #45  
Old 07-21-2007, 07:33 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

why not:
HTML Code:
<if condition="$bbuserinfo['pmunread']"><center>
<font size="4" color="red" style="bold">
You have a private message, waiting to be read.</font>
</center></if>
Reply With Quote
  #46  
Old 08-28-2007, 09:23 PM
mrghostno1 mrghostno1 is offline
 
Join Date: Aug 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Blink works fine with Opera 9
Reply With Quote
  #47  
Old 08-31-2007, 01:04 AM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope you dont mind me editing it a little bit, but I wanted to slightly personalize this awesome template edit. Basically I edited it into this:

Code:
<center>
<a href="http://www.mydomain.com/private.php" style="text-decoration:none"><font size="4" color="#E3170D" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message waiting to be read.</if></font></a>
</center>
Thanks for sharing! *marks as installed*

EDIT: Is there a way to correlate a number of private messages to the announcement" For example, if someone had 3 or 4 or 5 unread PMs, could the announcement read "You have 3/4/5 unread private messages" ???
Reply With Quote
  #48  
Old 09-06-2007, 04:05 PM
momo2 momo2 is offline
 
Join Date: Feb 2007
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this works so great, in fact i use this code to this style so i can still be on my forum and yet still check mail and won't lose my work

<center>
<a href="http://www.yourdomain.com/forum/private.php" target="_blank"><font size="4" color="red" style="bold">
<if condition="$bbuserinfo['pmunread']">You have a private message, <blink>Click Here.</blink></if></font></a>
</center>
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 07:54 AM.


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.04463 seconds
  • Memory Usage 2,274KB
  • Queries Executed 25 (?)
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_html
  • (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
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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