MyBB Community Forums

Full Version: [Release] Black Rose
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
where i have made RED part i want to get rid of that space
Ok final edit... I don't seem to have that part at all.... not when viewed in Firefox at any rate...
here is my header code

<script language="Javascript" type="text/javascript">
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var newpm_prompt = "{$lang->newpm_prompt}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
</script>
<a name="top"></a>
<div id="container">
<div id="header">
<div class="logo" style="background:#fff url('$theme[imgdir]/logobg.gif');"><left><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" border="0" /></a></center></div>
<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$theme[tablespace]" cellspacing="$theme[borderwidth]" border="0" width="100%" align="center">
<tr>
<td class="trow1" width="100%">

<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">

<td>&nbsp;</td>
<td width="100%"><navigation></td>
</tr>
</table>

</td>


<if condition=$mybb->user['uid']> 0 <then>

<td class="trow2" valign="top" nowrap="nowrap">
<div class="smalltext">
$lang->welcome_back<br />
<a href="private.php">$lang->welcome_pms</a> $lang->welcome_pms_usage<BR />
$lang->welcome_current_time
</div>
</td>

<else />

<td class="trow2" nowrap="nowrap" style="padding:0px">



</td>

</if>

</tr>
</table>


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

<table cellpadding="5" cellspacing="0" width="100%">
<tr>
<td class="tcat">{$welcomeblock}</b></a></td>

<td class="tcat" align="center"><a href=http://www.torrentsworld.org><b>Back to Tracker</b></a></td>
<td class="tcat" align="center"><a href="{$mybb->settings['bburl']}/index.php"><b>Index</b></a></td>


<td class="tcat" align="center">
<a href="{$mybb->settings['bburl']}/search.php" id="search" onclick="return openMenu(this)" class="popup_button">Search<img src="image/popup_down.gif" border="0" /></a></td>

<td class="tcat" align="center"><a href="{$mybb->settings['bburl']}/memberlist.php"><b>Member List</b></a></td>
<td class="tcat" align="center"><a href="{$mybb->settings['bburl']}/calendar.php"><b>{$lang->toplinks_calendar}</b></a></td>
<td class="tcat" align="center"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><b>{$lang->toplinks_help}</b></a></td>
$admincplink

<if condition=$mybb->user['uid']> 0 <then>
<td class="tcat" align="center"> <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;uid={$mybb->user['uid']}" onclick="return log_out()"><b>$lang->welcome_logout</b></a></td><else /></if>
</tr></table>





<hr class="hidden" />
</div>
<hr class="hidden" />
<div id="content">
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}


<!-- header quick search form -->
<div class="menupop" id="search-popup" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="tcat">Search</td>
</tr>
<tr>
<td class="row">

<form method="post" action="$settings[bburl]/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" name="keywords" value="" />
$gobutton
</td>
</tr>
<tr>
<td class="menu_row"><a href="search.php">Advanced Search</a></td>
</tr>
</table>
</div></form>

<!-- / header quick search form -->
<br />


You appear to be be missing the section called 'login form'

After
<td class="trow2" nowrap="nowrap" style="padding:0px">
I have
<!-- login form -->
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smalltext">$lang->username</td>
<td><input type="text" name="username" size="10" title="$lang->username" value="$lang->username" onfocus="this.value=''" /></td>
<td class="smalltext" colspan="2" nowrap="nowrap">

<label for="remember">
<input type="checkbox" name="remember" id="remember" value="yes" checked="checked" />Remember?</label>

</td>
</tr>
<tr>
<td class="smalltext">$lang->password</td>

<td><input type="password" name="password" size="10" title="$lang->password" value="$lang->password" onfocus="this.value=''" /></td>


<td><input type="submit" class="smalltext" style="font-weight:normal" value="OK" /></td>

</tr>
</table>
</form>

<!-- / login form -->

On a separate issue: I've made a change to the 'header' background value where:
<div class="logo" style="background:#fff url('$theme[imgdir]/logobg.gif');">
has become
<div class="logo" style="background:#000 url('$theme[imgdir]/logobg.gif');">

due to this white background found when viewing the site in IE.
[Image: 38098823pu6.th.png]
i removed login form by my self but now i added it that space is still there Sad
Is it possible to havea link to your site at all? Smile Thanks ^^ Even by PM.
lol i think you didn't noticed in that code i posted Toungue

hxxt://www.torrentsworld.org

here i think Snowy is using same theme he got the space is well

http://community.mybboard.net/showthread...7#pid85367
I registered on your forums ... seems you have this extra line in the source code

<if condition=Array['uid']> 0 <then>

I also have this line in my header file but it doesn't show up in my source... maybe its worth checking the edits again or something?
i can't find these lines in header code

<if condition=Array['uid']> 0 <then>
It shows up as a 0 in that 'space' (if you highlight the area you'll see the 0) but in the code its above

<td class="trow2" valign="top" nowrap="nowrap">
Pages: 1 2 3 4 5 6 7 8 9