2019-06-13, 12:25 PM
(This post was last modified: 2019-06-16, 11:51 AM by makpaolo. Edited 2 times in total.)
Hi there. I am having a problem where only one usergroup will show in member profile, even if member is in 2+ groups. Seems like only DISPLAY group will only show, and nothing else.
How to tackle this problem?
Member_profile:
How to tackle this problem?
Member_profile:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>
</head>
<body>
{$header}
<div class="profile-btns mobile-show" style="margin-bottom: 15px;"><a href="private.php?action=send&uid={$memprofile['uid']}" class="button">Message</a></div>
<div class="profile-bg trow1">
<div class="profile-bg-cover" style="background: url(https://i.imgur.com/d9tdDI4.jpg)"></div>
<div class="profile-bg-cover-inner d-flex align-items-center">
<div class="mobile-hide profile-buttons"><a href="private.php?action=send&uid={$memprofile['uid']}" class="button">Message</a></div>
<div class="d-flex justify-content-center fullwidth" style="padding: 1rem;">
<div class="text-center">
{$avatar}<br>
<div class="text-center grey" style="margin-top: 1rem;">
<span class="x-largetext"><strong>{$formattedname}</strong></span><br>
<span class="smalltext text-white"><strong>{$usertitle}</strong><br>
<span style="-webkit-filter: hue-rotate(deg); filter: hue-rotate(deg);"></span>
</span>
</div>
</div>
</div>
</div>
</div></br>
<div class="d-flex mobile-noflex">
<div class="whole">
<table border="0" cellspacing="0" cellpadding="5" class="tborder profile-icons">
<tbody>
<tr>
<td colspan="4" class="thead"><strong>Statistics</strong></td>
</tr>
<tr class="d-flex text-center">
<td class="trow1 flex-one">
<a href="search.php?action=finduserthreads&uid={$uid}" class="x-largetext" title="View Threads">{$memprofile['threadnum']}</a><br>Threads
</td>
<td class="trow1 flex-one">
<a href="search.php?action=finduser&uid={$uid}" class="x-largetext" title="View Posts">{$memprofile['postnum']}</a><br>Posts
</td>
<td class="trow1 flex-one">
<a href="{$mybb->settings['bburl']}/misc.php?action=post_likes_received_by_user&user_id={$memprofile['uid']}" class="x-largetext" title="View Likes">{$likesReceived}</a><br>Likes
</td>
<td class="trow1 flex-one">
<a href="{$mybb->settings['bburl']}/newpoints.php" class="x-largetext" title="View BX">{$newpoints_profile}</a><br>BX
</td>
</tr>
</tbody>
</table><br>
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tbody><tr>
<td colspan="2" class="thead"><strong>Information</strong></td>
</tr>
<tr>
<td class="trow1" colspan="2">{$online_status}</td>
</tr>
<tr>
<td class="trow1" colspan="2">UID:<span class="right">{$memprofile['uid']}</span></td>
</tr>
<tr>
<td class="trow1" colspan="2">Registration Date:<span class="right">{$memregdate}</span></td>
</tr>
<tr>
<td class="trow1" colspan="2">Last Visit:<span class="right"><span title="05-30-2019, 04:45 PM">{$memlastvisitdate}</span></span></td>
</tr>{$reputation}
<tr>
<td class="trow1" colspan="2">Online Time:<span class="right">{$timeonline}</span></td>
</tr>
{$referrals}{$warning_level}
</tbody></table>
<br>
</div>
<div class="sidebar">
{$profilefields}
<table border="0" cellspacing="0" cellpadding="5" class="tborder tfixed" style="margin-top: 20px;"><tbody>
<tr>
<td class="thead"><strong>Awards</strong></td>
</tr>
<tr>
<td class="trow1">{$memprofile['ougc_awards']}</td>
</tr>
</tbody></table>
<br>
<table border="0" cellspacing="0" cellpadding="5" class="tborder profile-icons"><tbody>
<tr>
<td class="thead"><strong>Usergroups</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages">{$groupimage}</td>
</tr>
</tbody></table>
</div>
</div>
{$footer}
</body>
</html>