PDA

View Full Version : coding issue need help.


BarryoBrien
09-06-2007, 11:45 AM
I am trying to move the logo into the nav bar where the login box shows up I have added the login box into a seperate table and all the other info that is apart of the nav bar login section.

I have tried to remove the code but get tables expanding out the lenth of my forums.

Also when I remove the code for the logo in the header template the forums dont show.

Can anyone help.

Deepdog009
09-06-2007, 01:37 PM
<i>BarryoBrien whats the dimensions of your logo??? {width by height???}

Is your logo presently in your header area??? { url please? }

Do U want it placed beside the login 2 the left or right or logo only without the login?</i>

BarryoBrien
09-06-2007, 07:57 PM
Its a new style im designing on my testing pc, its 200px width x 120px height it is to completly replace the login code (box) on the right hand side

Deepdog009
09-10-2007, 07:28 PM
Its a new style im designing on my testing pc, its 200px width x 120px height it is to completly replace the login code (box) on the right hand side

Sorry BarryoBrien but my job and family took me away from my girlfriend {PC} ;)

*************************************

Sure that should be no problem...

What do U want 2 replace it with???

{1} Flash Ad
{2} Logo
{3} Other code

BarryoBrien
09-11-2007, 01:02 PM
My site logo!

Deepdog009
09-11-2007, 05:31 PM
My site logo!


Ok, sure, but, um, ok... :)

I see it...

I will copy it...

Then I will fit it into the login area on test board...

I will let U know how 2 change by the end of the dia...

Cya L8ter

Deepdog009
09-11-2007, 11:52 PM
Three steps and thats it...

*** Please make a backup of your NAVBAR template before starting ***

{1} download, unzip, upload new logo... Check url so that it links 2 image...

{2} Goto Admincp and open NAVBAR template....>>>>> Find code below...

<!-- 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/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="$scriptpath"><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" valign="top" nowrap="nowrap">
<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>
<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 />

<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"><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" 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"><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="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 -->

Replace with code below...

Change URL linking Logo 2 where you upload your image...

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="0" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><img src="images2/logo.jpg" width="400" align="right"/></td></tr>

</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->

[I]I uploaded a image 2 show what it might look like on your site...

Get zip file with several images with different heights and widths...

Give it a go ;)

BarryoBrien
09-13-2007, 11:35 AM
Thanks but that deletes the breadcrum urls and I would still be left with the original logo that would need to be deleted.