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.

tackebong 09-30-2007 12:01 PM

very useful! ^^

msudawgs64 10-05-2007 03:53 AM

nice, simple and yet to the point. Nice job.

MSheraz86 10-28-2007 11:08 PM

Looks very good!!

Thanks!

ctfortner 12-07-2007 12:53 PM

this is great, worked like a champ on 3.68. i love the fact it stays there until the message is read, very useful thanks

Tom_S 12-09-2007 06:08 PM

Nice and simple. Great addition. Thanks ;)

HybridIllusions 12-12-2007 10:52 AM

If anyone needs help, I'm the new support of this mod. The original is on an old license that I cannot gain access to edit the thread.

Not that support is really needed, but still. Thanks for compliments, glad it could help :) It really helps the community I originally made it for.

If you have any feature requests, please add them in your reply.

Jase2 12-18-2007 07:53 PM

Thanks for sharing mate - much appreciated. These simple little modifications always seem to be the best. :P

would you be able to take a look at this - https://vborg.vbsupport.ru/showthread.php?t=97702

And modify it if needed as it doesn't seem to work on my site (version 3.6.8) and I could do with that as I own a computer forumz site.

Regards Jason :)

ajm4481 12-18-2007 11:36 PM

excellent mod...simple to install and a simple interface.

Ahsin1 01-26-2008 01:57 PM

when i search this <!-- / nav buttons bar --> in Navbar or Header It Say Not Found what to do now ???

SidelineSports 01-30-2008 01:17 AM

Very nice!
Installed!
Thank you!

HybridIllusions 03-31-2008 08:23 PM

Sorry for the delay everyone! Working on a new version as well as two more things for 3.7!!
Quote:

Originally Posted by Jase2 (Post 1403915)
Thanks for sharing mate - much appreciated. These simple little modifications always seem to be the best. :P

would you be able to take a look at this - https://vborg.vbsupport.ru/showthread.php?t=97702

And modify it if needed as it doesn't seem to work on my site (version 3.6.8) and I could do with that as I own a computer forumz site.

Regards Jason :)

Being that is another person's mod, I cannot directly give support. What I'd assume is that the conditionals is the issues, but for something more specific, you'll have to ask in that thread and hope for an answer. Sorry!
Quote:

Originally Posted by ajm4481 (Post 1404076)
excellent mod...simple to install and a simple interface.

Thank you, simple is what I was aiming for! :)
Quote:

Originally Posted by Ahsin1 (Post 1429318)
when i search this <!-- / nav buttons bar --> in Navbar or Header It Say Not Found what to do now ???

If you still need help, the answer would be to just add the code at the bottom of navbar
Quote:

Originally Posted by SidelineSports (Post 1432162)
Very nice!
Installed!
Thank you!

Thank you :)

bayareamommas 03-31-2008 11:07 PM

thanks very cool

hardgeneration 10-13-2009 10:36 AM

very usefull thnx,but i have a question,if i want to make red laters,how i can do it?


All times are GMT. The time now is 07:14 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.01314 seconds
  • Memory Usage 1,758KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete