Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Simple Additional PM Notification Details »»
Simple Additional PM Notification
Version: 1.00, by boydy boydy is offline
Developer Last Online: Dec 2014 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 4.x.x Rating:
Released: 04-29-2011 Last Update: Never Installs: 50
Template Edits
Translations  
No support by the author.

Hi guys,

This mod/hack gives you a very simple yet much more noticeable Private Message notification. When the user has any PM's a red box will be added to the header of your website notifying the user of a new PM. It has animated text which is shown in the .gif screenshot attached below.

=|= Install =|=


Open Template - header

Add at Top -

Code:
<!-- Private Message Alert -->
<style type="text/css">
.alert {
    background-color:#F00;
    width:100%;
    height:30px;
    color:#fff;
    font-size:14px;
    display:block;
}
.alert p {
    padding:5px;
}
.alert a {
    color:#ccc;
    text-decoration:none; 
}
</style>
<vb:if condition="$bbuserinfo[pmunread]">
<div class="alert">
<p><span style="text-decoration:blink; font-weight:bold;">ATTENTION! {vb:raw bbuserinfo.username}</span> You've got {vb:raw bbuserinfo.pmunread} unread private message(s), click <a href="private.php">here</a> to view.</p></div>
</vb:if>
<!-- Private Message Alert End -->

Demo: https://vborg.vbsupport.ru/attachmen...5&d=1304172078

Simple, yet very effective, i just felt my forum needed something that stood out a bit more but didn't want anything massive.

Enjoy! And please remember to mark as installed for future updates and support!

Boydy

For alert's on all notifications go here - https://vborg.vbsupport.ru/showthread.php?t=262940

Screenshots

File Type: gif vbpm.gif (26.5 KB, 0 views)
File Type: png 20110430-143717.png (93.3 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 05-01-2011, 04:43 AM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you, installed
Reply With Quote
  #13  
Old 05-01-2011, 09:18 AM
boydy's Avatar
boydy boydy is offline
 
Join Date: Jan 2011
Location: UK
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Juggernaut View Post
If this was for all notifications, I would use it, but it's only for pm's.
Watch this space, update coming later today
Reply With Quote
  #14  
Old 05-01-2011, 12:34 PM
boydy's Avatar
boydy boydy is offline
 
Join Date: Jan 2011
Location: UK
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those after a mod/hack that displays all notifications in a similar manner i have added a new modification - https://vborg.vbsupport.ru/showthread.php?t=262940
Reply With Quote
  #15  
Old 05-01-2011, 05:54 PM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you boydy.
Reply With Quote
  #16  
Old 05-02-2011, 11:49 AM
UKCE_Hitman UKCE_Hitman is offline
 
Join Date: Jan 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great job Thanks Installed
Reply With Quote
  #17  
Old 05-02-2011, 05:38 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boydy View Post
For those after a mod/hack that displays all notifications in a similar manner i have added a new modification - https://vborg.vbsupport.ru/showthread.php?t=262940

Super,will check that now mate...top stuff
Reply With Quote
  #18  
Old 05-04-2011, 07:58 AM
steve1966 steve1966 is offline
 
Join Date: Dec 2007
Posts: 504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant thank you
Reply With Quote
  #19  
Old 05-09-2011, 01:51 PM
zonaenlinea's Avatar
zonaenlinea zonaenlinea is offline
 
Join Date: Dec 2009
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #20  
Old 05-10-2011, 11:30 PM
midgetgrimm midgetgrimm is offline
 
Join Date: Apr 2011
Location: Florida, USA
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goxy63 View Post
Great, thank you

When you read new message notification is still on, this would be perfect if notification would dissapear when you open new message
Anyways great mod, installed, nominated, rated
This for me as well, it stays on, also, Is there any way to adjust the size of the box, when I edit the 'width' parameter, it only subtracts from the right, and I have tried to center it, but nothing I do seems to work. Any thoughts on this? Also great mod and marked as well, nice work mate:up:


***I answered my own question**** Very simple, justput a <center></center> around your <vb></vb> ******
Still wish it would go away after your in your message area
Reply With Quote
  #21  
Old 05-11-2011, 12:03 AM
JasonP38's Avatar
JasonP38 JasonP38 is offline
 
Join Date: Oct 2010
Location: Newfoundland
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed, thanks.
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 06:14 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.06809 seconds
  • Memory Usage 2,327KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete