vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Hivemail Email Notification in vbulletin NavBar (https://vborg.vbsupport.ru/showthread.php?t=89735)

Smelly Fed 09-03-2004 10:00 PM

Hivemail Email Notification in vbulletin NavBar
 
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:
Code:

$bbuserinfo[pmunread]</strong><else />$bbuserinfo[pmunread]</if>, $vbphrase[total] $bbuserinfo[pmtotal].</if>
After it, add the following code:
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. :)


All times are GMT. The time now is 09:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01613 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete