Vào Admin CP --> Tìm ShowGroups Templates --> SHOWGROUPS thay tất cả thành
Tìm Hoặc Thêm showgroups_usergroup
Thay Toàn Bộ
Tìm Hoặc Thêm : showgroups_usergroupbit
Thay Toàn Bộ Bằng Code Này
Nguồn : PCVN
Demo http://phongcachvietnam.vn/showgroups.php
PHP:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
<head>
{vb:raw headinclude}
<title>{vb:rawphrase show_groups} - {vb:raw vboptions.bbtitle}</title>
{vb:cssfile showgroups.css}
<!--[if lt IE 8]>{vb:cssfile showgroups-ie.css}<![endif]-->
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div id="pagetitle">
<h1>{vb:rawphrase show_groups}</h1>
</div>
<vb:if condition="$moderatorbits">
<ol id="groups_1">
<li class="block" id="group0">
<h2 class="blockhead">{vb:rawphrase moderators}</h2>
<ol class="blockbody">
{vb:raw moderatorbits}
</ol>
</li>
</ol>
</vb:if>
<vb:if condition="$usergroups">
<ol id="groups_2">
{vb:raw usergroups}
</ol>
</vb:if>
{vb:raw forumjump}
{vb:raw footer}
</body>
</html>
Thay Toàn Bộ
PHP:
<li class="block usergroup" id="group{vb:raw xhtml_id}">
<h2 class="blockhead">{vb:raw user.title}</h2>
<ol class="blockbody">
{vb:raw usergroupbits}
</ol>
</li>
Thay Toàn Bộ Bằng Code Này
PHP:
<li class="groupbit" id="groupbit_{vb:raw xhtml_id}">
<vb:if condition="$show['locationfield'] AND $user['field2']">
<dl class="stats location">
<dt>{vb:rawphrase location_perm}</dt>
<dd>{vb:raw user.field2}</dd>
</dl>
</vb:if>
<h4 class="blocksubhead">
<a href="{vb:link member, {vb:raw user}}" class="username {vb:raw user.online}" title="<vb:if condition="$user['online'] == 'online'">{vb:rawphrase x_is_online_now, {vb:raw user.username}}<vb:elseif condition="$user['online'] == 'offline'" />{vb:rawphrase x_is_offline, {vb:raw user.username}}<vb:else />{vb:rawphrase x_is_invisible, {vb:raw user.username}}</vb:if>">{vb:raw user.musername}</a>
</h4>
<a href="{vb:link member, {vb:raw user}}" class="avatarlink"><img src="{vb:raw user.avatarurl}"<vb:if condition="$user['avatarwidth']"> width="{vb:raw user.avatarwidth}"</vb:if><vb:if condition="$member['avatarheight']"> height="{vb:raw member.avatarheight}"</vb:if> class="userlist_avatar_{vb:raw user.userid}" alt="{vb:rawphrase xs_avatar, {vb:raw user.username}}" border="0" />
</a>
<vb:if condition="$showforums">
<blockquote class="posttext">
<ol class="commalist">
<li>{vb:rawphrase forums}: </li>
<vb:each from="modforums" value="row">
<li><a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a>{vb:raw row.comma}</li>
</vb:each>
</ol>
</blockquote>
</vb:if>
<vb:if condition="$show['contactinfo']">
<div class="blockfoot floatcontainer">
<span class="postcontrols">
<vb:if condition="$show['pmlink']"><a href="private.php?{vb:raw session.sessionurl}do=newpm&u={vb:raw user.userid}" rel="nofollow">{vb:rawphrase send_pm}</a></vb:if>
<vb:if condition="$show['emaillink']"><a href="sendmessage.php?{vb:raw session.sessionurl}do=mailmember&u={vb:raw user.userid}" rel="nofollow">{vb:rawphrase email}</a></vb:if>
</span>
</div>
</vb:if>
</li>
Demo http://phongcachvietnam.vn/showgroups.php