pcalloway
09-03-2004, 01:18 PM
Am running vb3.0.3 and hivemail 1.3 and they are integrated. Am trying to get my email notification to show up on my Navbar - it's not appearing correctly and am hoping someone here might point me in the right direction.
I found this text in the navbar template:
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a>: $vbphrase[unread] <if condition="$bbuserinfo['pmunread']"><strong>$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>
And after it, I added:
<!-- HIVEMAIL ADD -->
<if condition="$show['hivemaillink']">
<if condition="!$bbuserinfo['hiveuserid']">
<td class="$navclass[hivemail]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=mailsignup">$vbphrase[hivemail_get_account]</a></td>
<else />
<td class="$navclass[hivemail]" 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 -->
It appears but oddly on my forum navbar (isn't taking the alt2 background):
http://www.authentic-campaigner.com/images/hive1.jpg
But appears just fine in my instant messaging screen (alt2 like I want:)
http://www.authentic-campaigner.com/images/hive2.jpg
I'm not much of a coder, what am I missing? Appreciate any help. I'd be happy to release this as a hack if it's anything folks might want.
Paul Calloway
www.authentic-campaigner.com (http://www.authentic-campaigner.com)
I found this text in the navbar template:
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><a href="$vboptions[bburl]/private.php?$session[sessionurl]">$vbphrase[private_messages]</a>: $vbphrase[unread] <if condition="$bbuserinfo['pmunread']"><strong>$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>
And after it, I added:
<!-- HIVEMAIL ADD -->
<if condition="$show['hivemaillink']">
<if condition="!$bbuserinfo['hiveuserid']">
<td class="$navclass[hivemail]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=mailsignup">$vbphrase[hivemail_get_account]</a></td>
<else />
<td class="$navclass[hivemail]" 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 -->
It appears but oddly on my forum navbar (isn't taking the alt2 background):
http://www.authentic-campaigner.com/images/hive1.jpg
But appears just fine in my instant messaging screen (alt2 like I want:)
http://www.authentic-campaigner.com/images/hive2.jpg
I'm not much of a coder, what am I missing? Appreciate any help. I'd be happy to release this as a hack if it's anything folks might want.
Paul Calloway
www.authentic-campaigner.com (http://www.authentic-campaigner.com)