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)

Tru2Chevy 11-13-2006 08:35 PM

Installed on 3.6.2, and working fine. Shows up normally in Firefox 2.0

- Justin

vppremier 01-12-2007 11:02 AM

I can't find the phrase to replace, here's the contents of my navbar template, where should I place the code?

Code:

<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>


<div style="padding-left:2px;">
            <div class="contenttopbg">
                        <div class="contenttopbg_right">
<!-- breadcrumb, login, pm info -->

                <if condition="is_array($navbits)"><a class="brcumb" href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a> $navbits[breadcrumb] &gt; <a class="brcumb1" href="$scriptpath"> $navbits[lastelement]</a>               
                <else />
                        <a class="brcumb" href="$vboptions[forumhome].php?$session[sessionurl]" accesskey="1">$vboptions[bbtitle]</a>
                </if>
<!-- / breadcrumb, login, pm info -->
                        <div style="padding-top:12px;"></div>
                        </div>
            </div>
</div>
$spacer_open

$_phpinclude_output


 <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
<if condition="$show['forumdesc']">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
        </tr>
        </table>
        <br />
</if>

<if condition="$show['popups']">
<!-- PAGENAV POPUP -->

        <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                                <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                                <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
                        </form>
                        </td>
                </tr>
                </table>
        </div>

<!-- / PAGENAV POPUP -->
</if>


ICY ICE 01-14-2007 04:11 PM

very cool, thanks for the mod

RyanDe680 01-19-2007 12:10 AM

I tried this on 3.6.4 and it doesnt work on either IE or Firefox... :(

burntire 01-19-2007 12:12 AM

Quote:

Originally Posted by RyanDe680 (Post 1162574)
I tried this on 3.6.4 and it doesnt work on either IE or Firefox... :(


I am running 3.6.4 with no problems

RyanDe680 01-19-2007 12:24 AM

Quote:

Originally Posted by burntire (Post 1162575)
I am running 3.6.4 with no problems

I have the invisible box for the image on IE, but no image.

On firefox, I have nothing. Time to start over...

burntire 01-19-2007 12:29 AM

Quote:

Originally Posted by RyanDe680 (Post 1162578)
I have the invisible box for the image on IE, but no image.

On firefox, I have nothing. Time to start over...

Do you have the correct url path to the image?

Is the image on your server?

RyanDe680 01-19-2007 12:45 AM

Quote:

Originally Posted by burntire (Post 1162579)
Do you have the correct url path to the image?

Is the image on your server?

I put the image on my server... I can open it just fine and it works just as it does here...

RyanDe680 01-19-2007 12:48 AM

Here is what I have right now:

http://www.lexfstyle.com/misc/Ryan/pm_example.jpg

burntire 01-19-2007 12:50 AM

Post up your template code and I will take a look.


All times are GMT. The time now is 04:16 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.01367 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)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