MyBB Community Forums

Full Version: Bad PM layout
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I have done a lot changes to header and welcomeblock templates but suddenly when I got one PM today,i got to know PM's bad layout,can I get any guide to fix it to normal please? I am using The Cure theme,heres the screenshot:
[Image: badlayout.png]

Hope anyone can help thanks Undecided
Revert the header_welcomeblock_member template to the default.
Man but as I said I made a lot of changes and also removed search bar and all,anything which you know can be done to keep same changes but change its place of appearence ? Thanks !
You would need to revert the template back to default, then make the necessary edits again.
Or post the welcomeblock template here and see if one of us can see the problem.
ok heres my welcomeblock_member template,NOTE I HAVE REMOVED SEARCH BAR

<div class="mainwrap">
<div class="top_bar">
	<ul>
		<li><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="top_bar_lout"><span>{$lang->welcome_logout}</span></a></li>
		{$admincplink}
		{$modcplink}
		<li><a href="{$mybb->settings['bburl']}/usercp.php" class="top_bar_ucp"><span>{$lang->welcome_usercp}</span></a></li>
	</ul>
</div>
<div class="header_main"><div class="header_left"><div class="header_right">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
			<div class="header_side"><div id="panel">
<div style="background: transparent url({$mybb->user['avatar']}) 0 0 no-repeat;width:68px;height:68px;float:left"></div>
				<div class="panel_wrap">
					{$lang->welcome_back}
			        </div>
			</div></div>
			<div class="clear"></div>
		</div></div></div>
		<div id="navbar">
			<ul id="nav">
<li><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/home.gif"><a href="{$mybb->settings['bburl']}"> HOME</a></li>
<li><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/buy.gif"><a href="http://www.reach2starz.com/store.php"> R2S SHOP</a></li>
<li><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/points.gif"><a href="http://www.reach2starz.com/buy.php"> BUY [R2S]C@SH</a></li>
<li><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/vip.gif"><a href="http://www.reach2starz.com/donate.php?action=help"> BECOME VIP</a></li>
                               </ul>
                        </div>
			<div class="clear"></div>
		</div>
	</div>
</div>
<div id="container"><div class="container_wrap">
	<div class="mainwrap">
		<div class="subnav">	
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a> | <a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a> | <a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
		</div>
Just ran it through the w3c validator:
Quote: Line 30, Column 10: end tag for element "DIV" which is not open
</div>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occurred in a script section of your document, you should probably read this FAQ entry.

Line 31, Column 6: end tag for element "DIV" which is not open
</div>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

If this error occurred in a script section of your document, you should probably read this FAQ entry.
You don't need to revert to default, though that may be easier. You'd just need to fix the code up a bit. Though, I'd change to default then slowly put it back up there again.
so what am supposed to do? Confused
how did you mess that up? Smile
Pages: 1 2