Log in

View Full Version : Hivemail Email Notification in vbulletin NavBar


Smelly Fed
09-03-2004, 10:00 PM
This modification is for those of you that are running vbulletin 3.0.3 and have Hivemail 1.3 integrated.

I simply wanted email notification on my homepage so I made this modification. Special thanks Jason aka Trackpads on vb.org for helping me code this a little cleaner.

In vbulletin template "navbar" Search for:

$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>


After it, add the following code:

<!-- HIVEMAIL ADD -->
<if condition="$show['hivemaillink']">
<if condition="!$bbuserinfo['hiveuserid']">
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=mailsignup">$vbphrase[hivemail_get_account]</a></td>
<else />
<td class="alt2" nowrap="nowrap"><a class="smallfont" href="$vboptions[hive_url]">$vbphrase[hivemail_goto_account]</a>
<if condition="$bbuserinfo['hivecheck']"><span class="smallfont"><br />$bbuserinfo[hivemsgs_newcount] $vbphrase[hivemail_new_messages]<br />$bbuserinfo[hivemsgs_unreadcount] $vbphrase[hivemail_unread_messages]</span></if></td>
</if>
</if>
<!-- END HIVEMAIL ADD -->

I'll help if I can, but honestly I'm not much of a coder. Good luck with it.

Paul Calloway
www.authentic-campaigner.com

trackpads
09-08-2004, 11:33 AM
Very nice! I am using it!

PixelFx
10-20-2004, 03:32 AM
very nice thank you :) now if there was a way for hivemail to take on the layout of my vb style, I'd be happy ...

Gutspiller
08-02-2005, 03:45 PM
So this hack won't work unless it uses the registration system of your forums?

Tony G
08-03-2005, 05:12 AM
Thanks for sharing your mod. If you don't mind, could you place the instructions in a .txt file and attach it here? Makes it easier for people to refer to your mod if they have to in the future. :)