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)

RyanDe680 01-19-2007 02:21 AM

Here you go:

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>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>                       
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>       
       
        <if condition="$show['member']">
       
                <td class="alt2" valign="top" nowrap="nowrap">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>

<!-- / Flashing envelope modification starts here -->

<if condition="$bbuserinfo['pmunread']">
        <a href="http://www.lexfstyle.com/forum/private.php?"><img border="0" src="http://www.lexfstyle.com/forum/images/pm/newpm.gif" width="22"

height="10"></a>
        </if>

<!-- / Flashing envelope modification ends here -->
<br />

                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <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>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
                </div>
                </td>
               
        <else />


burntire 01-19-2007 02:25 AM

Looks right.

burntire 01-19-2007 02:32 AM

paste this


Code:

                       
<!-- / Flashing envelope modification starts here -->

<if condition="$bbuserinfo['pmunread']">
        <a href="http://www.lexfstyle.com/forum/private.php?"><img border="0" src="http://www.lexfstyle.com/forum/images/pm/newpm.gif" width="22" height="10"></a>
        </if>

<!-- / Flashing envelope modification ends here -->


RyanDe680 01-19-2007 02:40 AM

That worked, thanks again!

I have to PM you a question as well.

Thanks.

Snake 01-21-2007 12:22 PM

Thank you. Works fine on 3.6. :)

aceofspades 01-24-2007 07:51 PM

This may be a strange question, but could you tell me what code i should use if i want to have a different image there instead of the flashing envelope when i dont have any new pm's.

I.e

Quote:

<if condition="$bbuserinfo['pmread']">
<a href="http://www.yoursite.com/board/private.php?"><img border="0" src="http://www.yoursite.com/images/oldpm.gif" width="22" height="10"></a>
</if>

seb1981 01-25-2007 12:20 PM

Work fine with vBulletin version 3.6.4 thanks ;-)
Sorry for my english i'm french :p

modtang 02-01-2007 10:17 AM

Quote:

Originally Posted by aceofspades (Post 1166618)
This may be a strange question, but could you tell me what code i should use if i want to have a different image there instead of the flashing envelope when i dont have any new pm's.

I just did something similar for a board I help admin.

Find:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
Replace with:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>&nbsp;&nbsp;<if condition="$bbuserinfo['pmunread']">
        <a href="private.php"><img border="0" src="images/pn_inboxnew.gif" width="16" height="11"></a>
        <else />
        <a href="private.php"><img border="0" src="images/pn_inbox.gif" width="16" height="11"></a>
</if><br />

I've attached the images I'm using too, as well as a screenshot. :)

Bree 03-12-2007 08:05 AM

CMPS v2.2.1 and vBulletin 3.6.5 - I used this on the welcome block on portal (Which is what my forum uses) Took me a minute to figure out where to put the code (since it's different from the forum's welcome block) but I got it and it works perfectly... If that doesn't get their attention (or mine *blush*) I don't know what will =0) Thanks a Bunch! Always -Bree

DieselMinded 05-07-2007 05:43 PM

Works Fine Most of the issues are with the Blinking image and cookies ... If yours is not showing up try changing the name of the image and editing the script to point to it

DM

DieselMinded 05-07-2007 10:05 PM

As a matter of fact after so long even the image on here quit showing to me

TotalTorque.net 05-08-2007 09:14 PM

A few more newpm.gif options if anyone wants them...

See below, for a Blue scheme, Green scheme and simple White scheme.

richTV 05-09-2007 04:31 AM

very nice.

works fine with Kartel Style vB 3.6.5

:)

richTV 05-09-2007 05:33 PM

Quote:

Originally Posted by DiesellMinded (Post 1243285)
As a matter of fact after so long even the image on here quit showing to me

yeah, i noticed it too the one he shared i guess has a limited continuous loop in place thus it only flashes for about 5-10mins [never really checked on the actual time]

here is one that will flash continuously until the # unread PM's ≠ 0

tnx again to ericgtr. :)

btw, the red in it fits in quite nicely on a Kartel style backround.

Fireproof 05-10-2007 01:23 AM

Quote:

Originally Posted by modtang (Post 1171961)
I just did something similar for a board I help admin.

Find:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
Replace with:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>&nbsp;&nbsp;<if condition="$bbuserinfo['pmunread']">
        <a href="private.php"><img border="0" src="images/pn_inboxnew.gif" width="16" height="11"></a>
        <else />
        <a href="private.php"><img border="0" src="images/pn_inbox.gif" width="16" height="11"></a>
</if><br />

I've attached the images I'm using too, as well as a screenshot. :)


VERY cool!! *Installed*

Cigarcritic 09-05-2007 04:47 PM

Quote:

Originally Posted by Fusion.nl (Post 890522)
Nice one, like it more then my blinking message pm mod. I did change a few things though, since i like my codes clean.

Code:

        <if condition="$bbuserinfo['pmunread']">
        <a href="private.php"><img border="0" src="$stylevar[imgdir_misc]/newpm.gif"></a>
        </if>


Thanks for this. I could not get it to work in Firefox but your code fixed the problem. :up:

jene 10-04-2007 03:20 PM

tnx !!!

mystic10 11-15-2007 03:31 PM

for some reason its not showing will it only show if there is a message i am slightly confused..please excuse my silly question but do answer them

Eq4bits 11-15-2007 04:16 PM

yes, it only shows if the person has an unread PM. I think you can test it by pm'ing yourself...

sensimilla 01-16-2008 08:18 AM

Quote:

Originally Posted by modtang (Post 1171961)
I just did something similar for a board I help admin.

Find:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
Replace with:
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>&nbsp;&nbsp;<if condition="$bbuserinfo['pmunread']">
        <a href="private.php"><img border="0" src="images/pn_inboxnew.gif" width="16" height="11"></a>
        <else />
        <a href="private.php"><img border="0" src="images/pn_inbox.gif" width="16" height="11"></a>
</if><br />

I've attached the images I'm using too, as well as a screenshot. :)

It should be 16 x 13 ;) Thanks alot.

DieselMinded 01-25-2008 12:34 AM

heres mine i cant remember where its from

https://vborg.vbsupport.ru/external/2008/01/19.gif

Im just going threw all my installed mods and updating them to hope for better 3.7 integration

ctfortner 02-29-2008 04:36 PM

nice, works great on 3.6.8 thanks

rnixon 03-03-2008 10:39 PM

Great flash, many thanks.

FLMom 05-02-2008 03:47 PM

Will this work on 3.7 or is there a newer version I'm not seeing? Thanks :)

FLMom 05-03-2008 03:30 PM

Never mind...I figured it out..

RobbieZ 07-27-2008 05:49 PM

I cant find the code you asked me to find..


your code
Code:

<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
my navbar template code
Code:

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="alt1" width="100%">
                <if condition="is_array($navbits)">
                        <table cellpadding="0" cellspacing="0" border="0">
                        <tr valign="bottom">
                                <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
                                <td>&nbsp;</td>
                                <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
                        </tr>
                        <tr>
                                <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$navbar_reloadurl"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
                        </tr>
                        </table>
                <else />
                        <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
                </if>
        </td>
<if condition="$show['member']">
        <td class="alt2" nowrap="nowrap">
        <div class="smallfont">
                <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
                <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

                <if condition="$show['notifications'] AND $show['popups']">
                        <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
                        <script type="text/javascript"> vBmenu.register("notifications"); </script>
                <else /><if condition="$show['pmstats']">
                        <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
                </if></if>

                <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
        </div>
        </td>
<else />
        <td class="alt2" nowrap="nowrap" style="padding:0px">
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="do" value="login" />
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
        </td>
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
        <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
        <tr align="center">
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                $template_hook[navbar_buttons_left]
                <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <if condition="$vboptions['enablememberlist']">
                        <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                </if>
                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
                        </if>
                <else />
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
                        </if>
                </if>
                $template_hook[navbar_buttons_right]
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
                </if>
                </tr>
        </table>
</div>
<!-- / nav buttons bar -->

<br />

<if condition="$show['notices']">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="thead">$vbphrase[notices]</td>
        </tr>
        <tr>
                <td class="alt1">$notices</td>
        </tr>
        </table>
        <br />
</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']">
<!-- NAVBAR POPUP MENUS -->

        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none" align="$stylevar[left]">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                                <form action="search.php?do=process" method="post">

                                        <input type="hidden" name="do" value="process" />
                                        <input type="hidden" name="quicksearch" value="1" />
                                        <input type="hidden" name="childforums" value="1" />
                                        <input type="hidden" name="exactname" value="1" />
                                        <input type="hidden" name="s" value="$session[sessionhash]" />
                                        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                                        <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
                                        <div style="margin-top:$stylevar[cellpadding]px">
                                                <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
                                                &nbsp;
                                                <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
                                        </div>
                                </form>
                        </td>
                </tr>
                <if condition="$vboptions[threadtagging]">
                <tr>
                        <td class="vbmenu_option"><a href="tags.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td>
                </tr>
                </if>
                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>
                $template_hook[navbar_search_menu]
                </table>
        </div>
        <!-- / header quick search form -->
        </if>

        <if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none" align="$stylevar[left]">
                <table cellpadding="4" cellspacing="1" border="0">

                <tr><td class="thead">$vbphrase[quick_links]</td></tr>
                <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td></tr>
                $template_hook[navbar_quick_links_menu_pos1]

                <tr><td class="thead">$vbphrase[networking]</td></tr>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
                <if condition="$show['quick_links_groups']">
                        <tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
                </if>
                <if condition="$show['quick_links_albums']">
                        <tr><td class="vbmenu_option"><a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
                </if>
                $template_hook[navbar_quick_links_menu_pos2]

                <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
                <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
                <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
                $template_hook[navbar_quick_links_menu_pos3]

                <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
                <if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
                <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
                <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
                <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
                $template_hook[navbar_quick_links_menu_pos4]

                </table>
        </div>
        <!-- / user cp tools menu -->

        <if condition="$notifications_total">
        <!-- notifications menu -->
        <div class="vbmenu_popup" id="notifications_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
                $notifications_menubits
                </table>
        </div>
        <!-- / notifications menu -->
        </if>

        </if>
<!-- / NAVBAR POPUP MENUS -->

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

$ad_location[ad_navbar_below]

i use 3.7.2

RobbieZ 07-28-2008 08:20 PM

its ok.. ive sussed it myself... thanks

SVTCobraLTD 07-29-2008 12:48 PM

Installed

Also put mine in another location too.

Find in FORUMHOME
Code:

<if condition="$show['pmstats']">
<phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">
<a href="private.php">Private Messages</a>

Then add the new code as listed in the .txt file downloaded. This will put it on your forum home page assuming you have a similiar setup as mine.

mmoore5553 09-10-2008 03:07 PM

i have having issues putting this in ..i can go to both my links when i change paths just no image showing at all ? my forum is just normal path

mmoore5553 09-10-2008 04:46 PM

nevermind ...wouldnt work on local machine but when i did it on the site it worked ..mine was in the header though ..but i love this ..cause i block pop-ups this is so much easier

bjkinzluvr 11-15-2008 12:39 PM

Tried to install, but it just wouldn't work on 3.7.3. Unfortunate.

mmoore5553 11-16-2008 11:19 PM

i got it working fine. ..i am running 3.7.3 ... if you want screen shot to prove i can or give you log in to my forum ....

mmoore5553 11-16-2008 11:20 PM

it is just normal template mod that is easy enough ..just depends on what theme you have to put it there..if you need help i have an msn account

mmoore5553 11-21-2008 02:32 AM

also just FYI ..check your default theme that vbulletin comes with ..if it shows up there then it is just your other theme having issue and you can move it where you dont want to cause an issue

MikesSite 03-05-2009 03:28 AM

works on 3.8

mijordan23 03-19-2009 09:55 PM

excellent :)


All times are GMT. The time now is 02:50 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.01593 seconds
  • Memory Usage 1,930KB
  • 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
  • (12)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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