Simple Notification

KrazyFire

New Member
Simple Unread PM/etc Notification[/SIZE]
Tested with vBulletin 3.0.x, 3.5.x, 3.6.x, 3.7.x[/align]

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): Marked as New
+ Displays only if the Member has a Unread PM
+ Tell the Member how many pms are unread.
+ Adds "s" if more than one PM is unread.
+ Provides link to private.php for fast access.
+ Is displayed (if active) on virtually every forum page.

Upcoming Features: Marked as New
+ Display New Friend Requests
+ Display New Visitor Messages

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:
<!-- PM Notification -->
<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<if condition="$bbuserinfo[pmunread] >= 2">s</if>! Click Here!</div></a></td>
        </tr>
</table>
<br />
</if>
<!-- / PM Notification -->
------------------------------------
And then Save, as you're done! Enjoy the the simple notifier!
 

bcaksk

New Member
thank you, i setuped, good hack but this hack will be better with the Upcoming Features ( + Display New Friend Requests + Display New Visitor Messages )
 

Hoxxy

New Member
if you mean have it so its the same width as the board add:

Code:
width="100%"
to the code

Code:
<!-- PM Notification -->
<if condition="$bbuserinfo[pmunread]">
<table[color=Red] width="100%" [/color]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<if condition="$bbuserinfo[pmunread] >= 2">s</if>! Click Here!</div></a></td>
        </tr>
</table>
<br />
</if>
<!-- / PM Notification -->
 

Coolman

New Member
This hack only for English language, if your board have more than one language installed, the "s" looks funny when there are more than 2 PM's comming...need to modify for that..:) better using phrase for different languages...
 
Top