The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#122
|
|||
|
|||
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> </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 /> |
#123
|
|||
|
|||
Looks right.
|
#124
|
|||
|
|||
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 --> |
#125
|
|||
|
|||
That worked, thanks again!
I have to PM you a question as well. Thanks. |
#126
|
||||
|
||||
Thank you. Works fine on 3.6.
|
#127
|
||||
|
||||
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:
|
#128
|
|||
|
|||
Work fine with vBulletin version 3.6.4 thanks ;-)
Sorry for my english i'm french |
#129
|
|||
|
|||
Quote:
Find: Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong> <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 /> |
#130
|
||||
|
||||
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
|
#131
|
||||
|
||||
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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|