The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to remove total pm from notification box
Hello all. I need as much space as possible to the left of the notification box (not sure if that's what it's called), for a banner inside the navbar. How do I remove the "total" private messages statistic from the notification box leaving only Private messages: unread 0. Like in the attached pic. Thanks.
|
#2
|
|||
|
|||
click private message link you will see inbox and sent items pick them all scroll down and delete them
|
#3
|
|||
|
|||
Thanks. But I'm asking which code to remove or edit, to permanently stop displaying the statistic "total" private messages. Not how to delete messages.
|
#4
|
||||
|
||||
edit the navbar template, it will be this code (or you can edit the phrase)
HTML Code:
<if condition="$show['pmstats']"> <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div> </if> |
#5
|
|||
|
|||
Thanks.
If I remove this section of code Code:
$vbphrase[total_x_nav_compiled] Code:
2="" Private messages: unread 0, . Is that a reasonable way of doing it? And if so how can I remove the coma and space between the unread messages number and the period. |
#6
|
||||
|
||||
There's more code to be removed. Search above the section you deleted.
It's there. |
#7
|
|||
|
|||
I can't figure this out. Here's the code in the navbar template, where I'm pretty sure the editing needs to be done. Can someone please highlight in red what I need to remove.
Code:
<if condition="$show['member']"> <td class="alt2" nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br /> <!-- <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> --> <if condition="$show['notifications']"> <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div> <if condition="$show['popups']"> <script type="text/javascript"> vBmenu.register("notifications"); </script> <else /> <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications"); </script> </if> <else /><if condition="$show['pmstats']"> <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div> </if></if> |
#8
|
||||
|
||||
You need to edit the vB PHRASE
|
#9
|
|||
|
|||
Got it.
Edit phrase private_messages_nav from Code:
<a href="private.php{3}">Private Messages</a>: {1}, {2}. Code:
<a href="private.php{3}">Private Messages</a>: {1}. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|