MyBB Community Forums

Full Version: View Groups Plugin Styling
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all!

I have installed the plugin 'View Groups', and it works wonderfully. However, I'm having a bit of trouble styling it to look the way I want! Any help would be greatly appreciated.

I want it to look like my Memberlist, which is designed with the following code:


Memberlist_user
<fieldset style="width: 31%; float: left; height: 300px;">
	<legend align="right">{$user['userstars']}</legend>
<div style="float: left; margin-right: 5px;">{$user['avatar']}</div>
<div style="float: right; margin-right: 5px;"></div>
<div>
	<strong>{$user['profilelink']}</strong><br />
	<strong>{$lang->posts}:</strong> {$user['postnum']}<br />
	<strong>{$lang->threads}:</strong> {$user['threadnum']}<br />
	<br />
	<br />
<strong>{$lang->joined}:</strong> {$user['regdate']}<br />
<strong>{$lang->lastvisit}:</strong> {$user['lastvisit']}<br />
</div>
	
<div><br /> | <a href="member.php?action=emailuser&amp;uid={$user['uid']}">Email</a> | <a href="private.php?action=send&amp;uid={$user['uid']}">PM</a> | <a href="search.php?action=finduser&amp;uid={$user['uid']}">Posts</a> | <a href="misc.php?action=threadlog&uid={$user['uid']}">Thread Log</a> |</div> 
	<div>| {$user['attached_accounts']} |</div>
	<br />
	</fieldset>
So far I've managed the following,
<fieldset style="width: 31%; float: left; height: 300px;">
	<legend align="right">{$user['userstars']}</legend>
<div style="float: left; margin-right: 5px;">{$user['avatar']}</div>
<div style="float: right; margin-right: 5px;"></div>
<div>
	<strong>{$user['username']}</strong><br />
	<em>Played By:</em> {$user['fid5']}<br />
	<strong>Posts:</strong> {$user['postnum']}<br />
	<strong>Threads:</strong> {$user['threadnum']}<br />
	<br />
	<br />
<strong>Joined:</strong> {$user['regdate']}<br />
<strong>Last Visit:</strong> {$user['lastvisit']}<br />
</div>
	
<div><br /> | <a href="member.php?action=emailuser&amp;uid={$user['uid']}">Email</a> | <a href="private.php?action=send&amp;uid={$user['uid']}">PM</a> | <a href="search.php?action=finduser&amp;uid={$user['uid']}">Posts</a> | <a href="misc.php?action=threadlog&uid={$user['uid']}">Thread Log</a> |</div> 
	<br />
	</fieldset>

I can't seem to get the usergroup image to show as it should, and the last visit is displaying a random string of numbers. Additionally, the custom profile field isn't pulling the information it should be.

Any assistance would be greatly appreciated!

Thank you!


ETA: If possible, I'd like to edit the avatar appearing on this page as well, but I'm unsure where to go to do so.