The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I currently have the style Smartblue, and am trying to install the vB[3.5.1].Invites.System. However, I am stuck at the part in the readme where it says:
In template(s) navbar FIND Code:
<if condition="$show['registerbutton']"> Code:
<if condition="$show['registerbutton'] AND !$vboptions['invites_reg_only_by_invite']"> Here is the code for navbar for Smartblue: Code:
<script type="text/javascript" language="JavaScript"> <!-- function log_out() { // You can change 30 and 0.3 to suit your 'tastes' :) bo = document.getElementsByTagName('body'); bo[0].style.filter = 'Alpha(opacity="30")'; bo[0].style.MozOpacity = '0.3'; bo[0].style.opacity = '0.3'; if (confirm('$vbphrase[sure_you_want_to_log_out]')) { return true; } else { bo[0].style.filter = 'Alpha(opacity="100")'; bo[0].style.MozOpacity = '1'; bo[0].style.opacity = '1'; 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="page" 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"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <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="page" valign="top" nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="<a style='text-decoration: none' href='member.php?u=$bbuserinfo[userid]'>$bbuserinfo[username]</a>">$vbphrase[welcome_x]</phrase></strong><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> </div> </td> <else /> <td class="alt1" nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="login.php" 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"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont">$vbphrase[username]</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" colspan="2" 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">$vbphrase[password]</td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" 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="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 --> <br /> $welcomeheaders -neverstudy |
#2
|
|||
|
|||
![]()
You are missing a lot of things in your navbar template, try to revert it (you will lose all custom changes)
![]() |
#3
|
|||
|
|||
![]()
revert? this navbar is from the style i have, if i do revert it won't it all collapse or something? and how do i do tht?
|
#4
|
|||
|
|||
![]()
That depends on your style, can you give the url of your site so we can take a look?
|
#5
|
||||
|
||||
![]()
At a guess, the code you are looking for is in the header template.
For future reference, you need to post Modification-specific questions in the Modification's release thread. |
#6
|
|||
|
|||
![]()
My forum is at http://forums.neverstudy.com
Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|