vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Private Messages Enhancements - Simple PM Notification (https://vborg.vbsupport.ru/showthread.php?t=222208)

theFM 08-31-2009 10:00 PM

Simple PM Notification
 
1 Attachment(s)
IF YOU ARE INSTALLING THIS , PLEASE CLICK INSTALL , FOR FUTURE UPDATES AND SUPPORT

https://vborg.vbsupport.ru/vborg_mis...hreadid=222208

What does it do : -

It's very simple, this is a image that will show up when you have a unread pm.

Steps for doing it : -

On The Navbar Template Add It At The End of the Template

just put in style="background: #FFFFFF" with the suitable colors you want to add
so now the new code will be like


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="background: #FFFFFF; text-decoration:bold;">You got $bbuserinfo[pmunread] Private Message<if condition="$bbuserinfo[pmunread] >= 2">s</if>! Click To Read Them!</div></a></td>
        </tr>
</table>
<br />
</if>
<!-- / PM Notification -->

ScreenShot : -

https://vborg.vbsupport.ru/attachmen...2&d=1198043415

Other versions of Product : -

The Version of vb 3.7.0 Beta is : -
https://vborg.vbsupport.ru/showthread.php?t=165543

Ice-Maiden 09-01-2009 07:59 PM

Is there anyway to change the colour of the notfication under the navbar please?

I have a dark grey skin on my site and this doesnt show up very well even though it works like a charm :) just wondered if there was anyway of me adding a different colour to it so its more noticeable for members!

Thanks!

theFM 09-12-2009 04:31 PM

just put in style="background: #FFFFFF" with the suitable colors you want to add
so now the new code will be like

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="background: #FFFFFF; text-decoration:bold;">You got $bbuserinfo[pmunread] Private Messages<if condition="$bbuserinfo[pmunread] >= 2">s</if>! Click To Read Them!</div></a></td>
        </tr>
</table>
<br />
</if>
<!-- / PM Notification -->


Ohiocustoms 09-15-2009 08:26 PM

Works nicely. Need to remove the s from Private Messages though.

theFM 09-22-2009 02:25 PM

Edited Thanks for telling me

theFM 11-04-2009 06:08 AM

All Problem Solved In this Updated : -

1. Added Background Option
2. Removed Private Messages "s" for the Code

Should Be Working Now Nicely !!

yamahapaul 11-04-2009 04:52 PM

anyone got a screen shot so I can see what this looks like please?

venom2124 03-08-2010 02:38 PM

Any idea if this will work with vB4.0

Polo 08-10-2010 10:53 PM

Nice little edit, loved it. Thank you!

ricardoNJ 06-12-2012 07:41 PM

I made this modification....if you let me... :p
PHP Code:

<!-- PM Notification -->
<if 
condition="$bbuserinfo[pmunread]">

<
td class="thead"><a href="private.php"><div style="background: #be0101; text-decoration:bold;"><span style="color:orange"><center><blink>Usted tiene $bbuserinfo[pmunreadMensaje Privado<if condition="$bbuserinfo[pmunread] >= 2">s</if>! </blink></div></center></a></td>
        </
tr>
</
table>
<
br />
</if>
<!-- / 
PM Notification --> 

I don't like this 'classic /table' of vb
It will be better......or not?

pta: <blink> only works with Mozilla!!


All times are GMT. The time now is 01:55 AM.

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.01069 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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