MyBB Community Forums

Full Version: User CP problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Now I don't know if anyone else has had this issue or not And I've looked around all I can and haven't really seen anything that could help it could be the theme but I seen to be having an issue with the User CP. the problem being this:

[Image: 1bUiC]

But as you can see I've tried to add content and usually when I replace it with the default template the user cp comes up twice.

This is the template for the user cp:

<html>
<head>
<title>{$lang->user_cp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td class="thead" colspan="{$colspan}">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>{$lang->brief_summary}</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$avatar}
<td class="trow1" width="50%"><strong>{$lang->username}</strong></td>
<td class="trow1" width="50%">{$username}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->primary_usergroup}</strong></td>
<td class="trow2" width="50%">{$usergroup}</td>
<td class="trow2" width="50%">{$reputation}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->registration_date}</strong></td>
<td class="trow1" width="50%">{$regdate}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->postnum}</strong></td>
<td class="trow2" width="50%"><a href="search.php?action=finduser&amp;uid={$mybb->user['uid']}">{$mybb->user['postnum']}</a> {$lang->posts_day}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->email}</strong></td>
<td class="trow1" width="50%">{$mybb->user['email']}</td>
</tr>
{$referral_info}
{$latest_threads}
</table>
{$latest_warnings}
{$referral_info}

</td>
</tr>
</table>
{$footer}
</body>
</html>

If anyone could help it would be much appreciated this issue is kind of bugging me and I have no idea what it is.

Also if it helps at all I'm using the Blackevo4 theme.
You have the referral info in twice, outside the table.

Try this:

<html>
<head>
<title>{$lang->user_cp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td class="thead" colspan="{$colspan}">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>{$lang->brief_summary}</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$avatar}
<td class="trow1" width="50%"><strong>{$lang->username}</strong></td>
<td class="trow1" width="50%">{$username}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->primary_usergroup}</strong></td>
<td class="trow2" width="50%">{$usergroup}</td>
<td class="trow2" width="50%">{$reputation}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->registration_date}</strong></td>
<td class="trow1" width="50%">{$regdate}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->postnum}</strong></td>
<td class="trow2" width="50%"><a href="search.php?action=finduser&amp;uid={$mybb->user['uid']}">{$mybb->user['postnum']}</a> {$lang->posts_day}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->email}</strong></td>
<td class="trow1" width="50%">{$mybb->user['email']}</td>
</tr>
{$referral_info}
{$latest_threads}
{$latest_warnings}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>
(2012-10-06, 10:29 AM)Leefish Wrote: [ -> ]You have the referral info in twice, outside the table.

Try this:

<html>
<head>
<title>{$lang->user_cp}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" class="tborder2">
<tr>
<td class="thead" colspan="{$colspan}">
<div class="theadleft"></div>
<div class="theadright"></div>
<div class="theadmain"><strong>{$lang->brief_summary}</strong></div>
</td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
{$avatar}
<td class="trow1" width="50%"><strong>{$lang->username}</strong></td>
<td class="trow1" width="50%">{$username}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->primary_usergroup}</strong></td>
<td class="trow2" width="50%">{$usergroup}</td>
<td class="trow2" width="50%">{$reputation}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->registration_date}</strong></td>
<td class="trow1" width="50%">{$regdate}</td>
</tr>
<tr>
<td class="trow2" width="50%"><strong>{$lang->postnum}</strong></td>
<td class="trow2" width="50%"><a href="search.php?action=finduser&amp;uid={$mybb->user['uid']}">{$mybb->user['postnum']}</a> {$lang->posts_day}</td>
</tr>
<tr>
<td class="trow1" width="50%"><strong>{$lang->email}</strong></td>
<td class="trow1" width="50%">{$mybb->user['email']}</td>
</tr>
{$referral_info}
{$latest_threads}
{$latest_warnings}
</table>
</td>
</tr>
</table>
{$footer}
</body>
</html>
I added that code and I got this:

[Image: 1bULN]

But what I really want it to look like is this just the smae one that matches the theme.:

[Image: 1bUMg]

Sorry if there was any confusion :s
Please provide a site url and an admin login so I can take a look. Please PM the information.
Hi,

The MyBB group offers support under the conditions of our Support Eligibility policy. It is apparent that one or more of your forums do not meet the conditions of our policy and therefore you are ineligible for support. This could be because of adult, piracy or hacking related content or because your forum does not display the minimum “Powered by MyBB” notice.

If you have any questions regarding this policy please post in the Private Inquiries forum.

Regards,
The MyBB group.