MyBB Community Forums

Full Version: The Flick Zone
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I recently made a movie website, feel free to check it out Smile

Free Online Movies
You've done what is -- to me -- one of the greatest sins a forum administrator can do.

You've created far too many forums.
Welcome back, %1$s. You last visited: %2$s
Private Messages (New %1$s, Unread %2$s, Total %3$s)
Current time: 07-08-2008, 04:20 AM

well, that doesn't look right
I tried to keep it at a minimum but as the site is very new it looks virtually empty.

Quote:Welcome back, %1$s. You last visited: %2$s
Private Messages (New %1$s, Unread %2$s, Total %3$s)
Current time: 07-08-2008, 04:20 AM

Im not sure why this happens but it parses properly when you login. Its a template error but I have no idea how to fix it.
Can you add here your header, header_welcomeblock_guest and header_welcomeblock_member templates to fix your problem? Smile
Ok sure, if you think you can help.

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

<!-- 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 -->

</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="{$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="images/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 />

Nothing in header_welcomeblock_guest

header_welcomeblock_member
<a href="usercp.php" id="usercp" onclick="return openMenu(this)" class="popup_button">User CP<img src="images/popup_down.gif" border="0" /></a>

<!-- user cp tools menu -->
<div class="menupop" id="usercp-popup" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="tcat">Quick Links</td></tr>
<tr><td class="menu_row" ><a href="search.php?action=getnew"><font color="black">View New Posts</a></td></tr></font>
<tr><td class="menu_row"><a href="misc.php?action=markread"><font color="black">Mark All Forums Read</a></td></tr></font>
<tr><td class="menu_row"><a href="misc.php?action=buddypopup"><font color="black">Body/Ignore List</a></td></tr></font>

<tr><td class="tcat"><a href="usercp.php">User CP</a></td></tr>
<tr><td class="menu_row"><a href="usercp.php?action=editsig"><font color="black">Change Signature</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=avatar"><font color="black">Change Avatar</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=profile"><font color="black">Edit Profile</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=options"><font color="black">Edit Options</a></td></tr></font>

<tr><td class="tcat">Miscellaneous</td></tr>
<tr><td class="menu_row"> <a href="private.php"><font color="black">Private Messages</a></td></tr></font>
<tr><td class="menu_row"><a href="usercp.php?action=subscriptions"><font color="black">Subscribed Threads</a></td></tr></font>
<tr><td class="menu_row"><a href="member.php?action=profile&amp;uid={$mybb->user['uid']}"><font color="black">View Profile</a></td></tr></font>

</table>
</div>
These codes are confusing. There is no <if> in MyBB as I know.

But I have an another way to fix it Smile

Download MyBulletin theme and setup it. After that replace all header templates from yours. Maybe some little errors will raise but we can fix them easily Smile
I would prefer not to install another theme becuase it would remove all of the things I have edited in the template editor.
Nice site you have there, you should try sub forums..and i like the theme yours or ?
Nah not mine. Someone else made it if that is what you are asking.

EDIT: The theme that is.
Ya thats what Im asking you have a link to it ?
Pages: 1 2