fiber1
01-19-2005, 10:00 PM
This will show new and unread messages for Hivemail in the breadcrumb. (navbar)
This should work for all current VB versions of 3.0.X.
The text is only visible if unread messages are in the hivemail account, so members without a hivemail account will never see the message.
Go to your NAVBAR template:
Find:
3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
Under it insert:
<!-- Hivemail -->
<if condition="$bbuserinfo[hivemsgs_unreadcount]!=0"><br /><a href="$vboptions[hive_url]">$vbphrase[z_hivemail_mail]</a>: $vbphrase[hivemail_unread_messages] $bbuserinfo[hivemsgs_unreadcount], $vbphrase[hivemail_new_messages] $bbuserinfo[hivemsgs_newcount] </if>
<!-- / Hivemail -->
After this create a new phrase by going to Languages & Phrases > Phrase Manager > Add new phrase.
Phrase name: z_hivemail_mail
Phrase Type: Global
Text: E-mail
Save and your all done!
All credit for this mod goes to hjmaier.
This should work for all current VB versions of 3.0.X.
The text is only visible if unread messages are in the hivemail account, so members without a hivemail account will never see the message.
Go to your NAVBAR template:
Find:
3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
Under it insert:
<!-- Hivemail -->
<if condition="$bbuserinfo[hivemsgs_unreadcount]!=0"><br /><a href="$vboptions[hive_url]">$vbphrase[z_hivemail_mail]</a>: $vbphrase[hivemail_unread_messages] $bbuserinfo[hivemsgs_unreadcount], $vbphrase[hivemail_new_messages] $bbuserinfo[hivemsgs_newcount] </if>
<!-- / Hivemail -->
After this create a new phrase by going to Languages & Phrases > Phrase Manager > Add new phrase.
Phrase name: z_hivemail_mail
Phrase Type: Global
Text: E-mail
Save and your all done!
All credit for this mod goes to hjmaier.