PDA

View Full Version : Hivemail new & unread e-mails in breadcrumb


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.

kall
01-20-2005, 02:26 AM
I think this has already been released at vbulletintemplates.com ..

Yup. http://www.vbulletintemplates.com/mods/showthread.php?t=7021&highlight=hivemail

(Also, this is not a hack...not even a mini mod really).

fiber1
01-20-2005, 02:29 AM
Sorry about that a admin may delete this then.

Dooooah need to go to Vbtemplates more often!

Dan
01-20-2005, 02:30 AM
and anyways this is not a hack but a template mod.....

sabret00the
01-20-2005, 08:24 AM
i made this same add-on kinda (template mod) for vBMS