MyBB Community Forums

Full Version: View groups problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.I have Mjestic(it's licensed but the author don't offer support) theme on my forum,and i install View Groups plugin ....but it's not work right.It's look like that
http://prntscr.com/dv4bpr

How can i fix them?
If you go to ACP > Templates and Style > Templates > Global Templates, see if you can find the template for the plugin (the name should be clear), and paste the content here, I can add the change you need.
View gorups

<html>
	<head>
	<title>{$title}</title>
	{$headerinclude}
	</head>
	<body>
	{$header}
		<table class="tborder" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
			<tbody>
				<tr class="thead">
					<td colspan="5">
						{$lang->viewgroups_groups_group}
					</td>
				</tr>
				<tr class="tcat">
					<td width="1%" align="center"><strong>{$lang->viewgroups_groups_avatar}</strong></td>
					<td><strong>{$lang->viewgroups_groups_username}</strong></td>
					<td width="15%" align="center"><strong>{$lang->viewgroups_groups_regdate}</strong></td>
					<td width="15%" align="center"><strong>{$lang->viewgroups_groups_lastactive}</strong></td>
					<td width="10%" align="center"><strong>{$lang->viewgroups_groups_postcount}</strong></td>
				</tr>
				{$users}
			</tbody>
		</table>
		{$multipage}
		{$footer}
	</body>
</html>

Viewgorups Index:
<tr>
	<td class="tcat"><strong>{$lang->viewgroups_groups}</strong></td>
</tr>
<tr>
	<td class="trow1"><span class="smalltext">{$usergroups}</span></td>
</tr>

Viewgroups user:
<tr>
<td class="{$bgcolor}" align="center">{$user['avatar']}</td>
<td class="{$bgcolor}">{$user['username']}</td>
<td class="{$bgcolor}" align="center">{$user['regdate']}</td>
<td class="{$bgcolor}" align="center">{$user['lastactive']}</td>
<td class="{$bgcolor}" align="center">{$user['postnum']}</td>
</tr>
[Image: RadcVRC.png]
Change viewgroups_index to this:

<tr>
    <td class="tcat" colspan="2"><strong>{$lang->viewgroups_groups}</strong></td>
</tr>
<tr>
    <td class="trow1" colspan="2"><span class="smalltext">{$usergroups}</span></td>
</tr>
Thanks man .It's work.I LOVE YOU Smile)

You can told me how can i put in order the ranks ?And how can i put a space between the name's.
http://prntscr.com/dv4xyf
Hello, the standard sorting of the user list is by registration date. Can i change that to "last visit"?

I have looked into the code, but can not find any sorting at all.

Anybody has any idea how I can do that?
(2020-10-17, 07:57 PM)skrilaxrev Wrote: [ -> ]Hello, the standard sorting of the user list is by registration date. Can i change that to "last visit"?

I have looked into the code, but can not find any sorting at all.

Anybody has any idea how I can do that?

Pls look at here => https://www.mybb.de/forum/thread-30291-p...#pid246421