Template Help

Termy

New Member
Hi guys, I am in need of help again. Using the "chatter" template I would like to put an image in between the logo and the login box. The header template that is being used is below if it helps, lol.

Code:
<a name="top"></a>



<div class="topspacer"></div>
<div id="header1">
<div class="header1_button">
    <a href="$vboptions[homeurl]">
    <img alt="$vboptions[bbtitle]" title="$vboptions[bbtitle]" height="57" src="images/chatter/chatter_04.jpg" width="120" class="navbutton" /></a></div>
<div class="header1_spacer"></div>
<div class="header1_button"><a href="$vboptions[bburl]/faq.php">
    <img alt="Frequentley Asked Questions"  title="Frequentley Asked Questions"class="navbutton" height="57" src="images/chatter/chatter_06.jpg" width="120" /></a></div>
<div class="header1_spacer"></div>
<div class="header1_button">
    <a href="$vboptions[bburl]/calendar.php">
    <img alt="Calendar" title="Calendar" height="57" src="images/chatter/chatter_08.jpg" width="120" class="navbutton" /></a></div>
<div class="header1_spacer"></div>

<div class="header1_09"></div>

    <a href="$vboptions[bburl]/search.php">
    <img alt="$vboptions[bbtitle] - Search" class="navbutton" height="57" src="images/chatter/chatter_10.jpg" width="120" /></a>
</div><!-- /header1 -->


<div class="header_12"></div>

<div id="header2">
<div id="header2_13">
<div class="chatter_logo">
    <a href="$vboptions[bburl]">
    <img alt="$vboptions[bbtitle]" title="$vboptions[bbtitle]" height="122" src="images/chatter/chatter_logo_20.png" width="117" class="navbutton" /></a></div>
    <div class="chatter_logo_text"><a href="$vboptions[bburl]">
        <img alt="$vboptions[bbtitle]" title="$vboptions[bbtitle]" class="navbutton" height="68" src="images/chatter/chatter_logo_text_20.png" width="271" /></a></div>
</div><!-- /header2_13 -->
<div id="header2_14"></div>
<div id="header2_15"></div>
<div id="header2_16">




<div class="login">



<!-- login form -->
<if condition="$show['member']">
    <td  nowrap="nowrap">
    <div >
        <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  nowrap="nowrap" style="padding:0px">
        
        <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  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  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 ><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>
        </td>
</if>
<!-- / login form -->










</div><!-- /login -->

</div><!-- /header2_16 -->

<div id="header2_18"></div>
</div><!-- /header2 -->



<div id="header3">
<div id="header3_19"></div>
<div id="header3_20"></div>

<div class="header2_button"><a href="$vboptions[bburl]/register.php">
    <img alt="Register At $vboptions[bbtitle]" title="Register At $vboptions[bbtitle]" class="navbutton" height="93" src="images/chatter/chatter_21.jpg" width="120" /></a></div>
<div class="header2_spacer"></div>
<div class="header2_button">
    <a href="$vboptions[bburl]/memberlist.php">
    <img alt="$vboptions[bbtitle] Members List" title="$vboptions[bbtitle] Members List" height="93" src="images/chatter/chatter_23.jpg" width="120" class="navbutton" /></a></div>
<div class="header2_spacer"></div>
<div class="header2_button">
    <a href="$vboptions[bburl]/search.php?do=getdaily">
    <img alt="Todays Posts At $vboptions[bbtitle]" title="Todays Posts At $vboptions[bbtitle]" height="93" src="images/chatter/chatter_25.jpg" width="119" class="navbutton" /></a></div>
</div><!-- /header3 -->


<div id="header4">
<div id="header4_27"></div>
<div id="header4_28"></div>
<div id="header4_30"></div>
</div><!-- /header4 -->

<div id="header5">
<div id="header5_31"></div>
<div id="header5_32"></div>
<div id="header5_33"></div>
</div><!-- /header5 -->

<div id="chatter_34">

<div id="chatter_content">















<!-- content table -->
$spacer_open

$_phpinclude_output

Can someone please figure this out for me... and let me know what code and where to insert it, lol.

Many thanks in advance... Termy.
 
Bump....

I dont like to bump threads... but really need some help with this one.

Many thanks... Termy.
 
From a look at your code, I think these two div statement are available.

HTML:
<div id="header2_14"></div>
<div id="header2_15"></div>

Try:

HTML:
<div id="header2_14"><img src="http://www.vbteam.info/images/chatter/yourimage.png" width="117" height="122" alt="yourmessage" ></div>

If that doesn't work, add a new <div></div> just before the <div class="login"> statement and add your image to it.

HTH
 
From a look at your code, I think these two div statement are available.

HTML:
<div id="header2_14"></div>
<div id="header2_15"></div>

Try:

HTML:
<div id="header2_14"><img src="http://www.vbteam.info/images/chatter/yourimage.png" width="117" height="122" alt="yourmessage" ></div>

If that doesn't work, add a new <div></div> just before the <div class="login"> statement and add your image to it.

HTH
 
Thanks very much for all your help m8... neither of those actually worked on their own. I combined them and had a play and got it working fine... thanks again. :D
 
Back
Top