vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Simple Unread PM Notification (https://vborg.vbsupport.ru/showthread.php?t=158527)

Otikeu 09-22-2007 10:00 PM

Simple Unread PM Notification
 
Simple Unread PM Notification
Tested with vBulletin 3.0.x, 3.5.x, 3.6.x

Very easy modification. Although it isn't as fancy as some, this template modification is meant for those that just want a simple and attractive notification that is... well... noticeable. It should be able to easily integrate into your design as well as easy to install.

I have a User CP Modification coming in the next month or so, which is of course more complex than this modification.

Release (final 1.0.0):
+ Displays only if the Member has a Unread PM
+ Tell the Member how many pms are unread.
+ Provides link to private.php for fast access.
+ Is displayed (if active) on virtually every forum page.

Instructions/Installation: Very Easy

In the Style Manager, open the template "navbar" and find the following code:
Code:

<!-- / nav buttons bar -->

<br />


Add this code directly below:
Code:

<if condition="$bbuserinfo[pmunread]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" align="center">
<tr>
                        <td class="thead"><a href="private.php"><div style="text-decoration:none;">You currently have $bbuserinfo[pmunread] Unread Private Message(s)! Click Here!</div></a></td>
                </tr>
</table>
<br />
</if>

------------------------------------
And then Save, as you're done! Enjoy the the simple notifier!

yoyoyoyo 09-23-2007 11:34 AM

cool - thanks for sharing.

muratksk 09-23-2007 07:57 PM

thanks saved :D

Otikeu 09-23-2007 07:58 PM

thank you both for the compliments and installs :D

Wheezy 09-24-2007 12:08 AM

This is great. Thanks for sharing :)

Nathan2006 09-25-2007 05:32 AM

Thank you Otikeu

This is great because the box stays there until the message/s have been read :D

Install

Otikeu 09-25-2007 06:02 AM

Glad you both enjoy it :)

Outrack 09-27-2007 11:34 AM

Installed. Thanks for this, was just what I was looking for!

Stratto 09-28-2007 03:20 PM

Nifty, I often don't notice I have pms. Thanks.

Otikeu 09-29-2007 12:28 AM

Quote:

Originally Posted by Stratto (Post 1348987)
Nifty, I often don't notice I have pms. Thanks.

Exactly why I made it for PSBeyond.com 's forums. It was requested for something to help notice PMs, and something liek this does help :)

I posted it here as it is useful for anyone wanting some that is very simple and not requring of additional backend coding.

Enjoy! Also, to anyone who hasn't, make sure you click install for I might be adding a new version sometime soon.


All times are GMT. The time now is 04:27 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.01164 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete