vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add flashing envelope PM notification (https://vborg.vbsupport.ru/showthread.php?t=103202)

aky 06-09-2006 08:51 AM

is there a way to put it beside Private Messages: Unread 0, Total 5.

Eq4bits 06-09-2006 12:56 PM

yes there is... In the template (NAVBAR, i believe it is) make your code for the 'welcome' section as follows (adjusting the url in green below to path you would use:
Code:

<div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <br /><if condition="$bbuserinfo['pmunread']">
                                <a href="http://www.****.com/forums/private.php?"><img border="0" src="http://www.****.comt/forums/images/newpm.gif" width="22" height="10"></a>
                                </if>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                </div>


cyberbeggar 06-09-2006 02:10 PM

Thanks mate!

SHalliday 06-11-2006 10:18 AM

simple and sweet. nice hack. clicks install!

Nuguru 08-14-2006 08:26 AM

Quote:

Originally Posted by TitanJeff
:)

I understand that. But in my forum, it sometimes doesn't show up before the PM is read. It may be glitch of some sort. I am viewing on FireFox for Mac.

And I may have another hack that messes with it.

Hello Everyone,

I totally am with you on this issue. Same here, I am using Mozilla Firefox and rarely does the blinking envelope show up. It works great in I.E. but firefox is a problem.

Has anyone been able to come up with a fix?

Thank You,

Nuguru :)

ericgtr 08-27-2006 02:54 AM

Does it put in a space, as if the image is there when it doesn't display? I am wondering if it has to do with the image itself.

FReeSTER 08-28-2006 04:58 PM

Quote:

Originally Posted by firstrebel
Nice hack. I placed the code in a different place:

Find:
which is just below the code in the install instructions.
Add after it:

Note the extra <br /> before the new code.

*clicks install*

Bob

Excelent!!!!!!!!!!!! ;)

burntire 08-28-2006 08:05 PM

Works great on 3.6.0:) :)

HappyPike 09-17-2006 05:53 AM

It's nice. Thanks. :)

DrewzR/T 11-05-2006 05:31 PM

works on 3.6.2


All times are GMT. The time now is 11:13 AM.

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.01151 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete