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
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