MyBB Community Forums

Full Version: UCP Your Latest Threads plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
umm what other way is there again?
(2011-05-31, 06:23 PM)ThePwner Wrote: [ -> ]umm what other way is there again?

Replace all usercp template code with 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="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="{$colspan}"><strong>{$lang->account_summary}</strong></td>
</tr>
<tr>
{$avatar}
<td class="trow2">
<span class="largetext">{$username}</span><br />
<strong>{$lang->postnum}</strong> <a href="search.php?action=finduser&amp;uid={$mybb->user['uid']}">{$mybb->user['posts']}</a> {$lang->posts_day}<br />
{$reputation}
<strong>{$lang->email}</strong> {$mybb->user['email']}<br />
<strong>{$lang->registration_date}</strong> {$regdate}<br />
<strong>{$lang->primary_usergroup}</strong> {$usergroup}<br />
{$referral_info}
</td>
</tr>
</table>
{$latest_subscribed}
{$latest_threads}
{$latest_warnings}
{$user_notepad}
</td>
</tr>
</table>
{$footer}
</body>
</html>

See if it works there ? (I guess it needs something else though.)
it messages it UP big time
Like I said, you can't add the latest threads thingy in 1.4.x theme. There are several other templates which are involved in making that page, so adding a variable is not going to work. You would either have to Install 1.6. theme or Request a Plugin to get latest threads in UserCP./
Pages: 1 2