MyBB-Plugins Forums

Full Version: Profile money problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
okay I was asked about why there were two money amounts in the profile and to get it back to one. does anyone know how to get rid of the second money amount in the profile? if you want to know exactly what i mean just send me a message and I'll give you a link to show the problem.
Post the member_profile template here
umm should I just revert to original to get rid of it?
post it betweeen code tags..
here is the edit template:
Code:
<html><head><title>{$mybb->settings['bbname']} - {$lang->profile}</title>{$headerinclude}</head><body>{$header}<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td class="trow1"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%"><span class="largetext"><strong>{$formattedname}</strong></span><br /><span class="smalltext">({$usertitle})<br />{$groupimage}{$userstars}<br /><br /><strong>{$lang->registration_date}</strong> {$memregdate}<br /><strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br /><strong>{$lang->local_time}</strong> {$localtime}<br /><strong>{$lang->postbit_status}</strong> {$online_status}</span></td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table></td></tr>{$awaybit}</table><br /><table width="100%" cellspacing="0" cellpadding="0" border="0" align="center"><tr><td width="50%" valign="top"><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td></tr><tr><td class="trow1"><strong>{$lang->joined}</strong></td><td class="trow1">{$memregdate}</td></tr><tr><td class="trow2"><strong>{$lang->lastvisit}</strong></td><td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td></tr><tr><td class="trow1"><strong>{$lang->total_posts}</strong></td><td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td></tr><tr><td class="trow2"><strong>{$lang->timeonline}</strong></td><td class="trow2">{$timeonline}</td></tr>{$reputation}<tr><td class="trow2" width="50%"><strong><a href="{$mybb->settings['bburl']}/plaza.php">{$lang->money}</a>:</strong></td><td class="trow2" width="50%">{$mymoney} <small>[<a href="plaza.php?action=page&amp;p=donate&amp;uid={$uid}">{$lang->donate}</a>]</small> ({$itemsbought} {$lang->items_purchased})</td></tr>{$easyrefer}<tr><td class="trow2" width="50%"><strong><a href="{$mybb->settings['bburl']}/plaza.php">{$lang->money}</a>:</strong></td><td class="trow2" width="50%">{$mymoney} <small>[<a href="plaza.php?action=page&amp;p=donate&amp;uid={$uid}">{$lang->donate}</a>]</small> ({$itemsbought} {$lang->items_purchased})</td></tr>{$warning_level}</table><br /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><tr><td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td></tr><tr><td class="trow1"><strong>{$lang->homepage}</strong></td><td class="trow1">{$website}</td></tr>{$sendemail}<tr><td class="trow2"><strong>{$lang->pm}</strong></td><td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td></tr><tr><td class="trow1"><strong>{$lang->icq_number}</strong></td><td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td></tr><tr><td class="trow2"><strong>{$lang->aim_screenname}</strong></td><td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td></tr><tr><td class="trow1"><strong>{$lang->yahoo_id}</strong></td><td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td></tr><tr><td class="trow2"><strong>{$lang->msn}</strong></td><td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td></tr></table></td><td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td><td width="50%" valign="top">{$profilefields}{$signature}{$modoptions}</td></tr></table><!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->{$footer}</body></html>

and here is the diff report:

Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="50%" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$reputation}{$reputation}<tr>
<td class="trow2" width="50%"><strong><a href="{$mybb->settings['bburl']}/plaza.php">{$lang->money}</a>:</strong></td>
<td class="trow2" width="50%">{$mymoney} <small>[<a href="plaza.php?action=page&amp;p=donate&amp;uid={$uid}">{$lang->donate}</a>]</small> ({$itemsbought} {$lang->items_purchased})</td>
</tr>
{$easyrefer}
<tr>
<td class="trow2" width="50%"><strong><a href="{$mybb->settings['bburl']}/plaza.php">{$lang->money}</a>:</strong></td>
<td class="trow2" width="50%">{$mymoney} <small>[<a href="plaza.php?action=page&amp;p=donate&amp;uid={$uid}">{$lang->donate}</a>]</small> ({$itemsbought} {$lang->items_purchased})</td>
</tr>
{$warning_level}
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow2"><strong>{$lang->pm}</strong></td>
<td class="trow2"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->icq_number}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->msn}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="50%" valign="top">
{$profilefields}
{$signature}
{$modoptions}
</td>
</tr>
</table>
{$footer}<!-- ProfileComments -->{$comments_index}
<!-- /ProfileComments -->{$footer}
</body>
</html>
*Moved to the MyPlaza section!"
Remove one of these:
Code:
<tr>
<td class="trow2" width="50%"><strong><a href="{$mybb->settings['bburl']}/plaza.php">{$lang->money}</a>:</strong></td>
<td class="trow2" width="50%">{$mymoney} <small>[<a href="plaza.php?action=page&amp;p=donate&amp;uid={$uid}">{$lang->donate}</a>]</small> ({$itemsbought} {$lang->items_purchased})</td>
</tr>
Smile
okay thank you. it is back to showing just one now.
Okay Smile if you need something else, just ask