03-12-2017, 21:18
VERSION_MyBB : 1.8
VERSION_MyBB : 1.8
Salut tout le monde, j'utilise le theme NetPen (juste ici : https://community.mybb.com/mods.php?action=view&pid=727 )
Et je voudrais avoir une petite icone pour chacuns des forum. Voici mon code actuel dans ACP >> Templates >> Forumbit templates >> forumbit_depth2_forum
PHP Code:
<tr>
<td class="{$bgcolor}" style="padding: 6px 10px;" valign="top" width="1">
<div class="col-md-6 col-sm-6 col-xs-12">
<strong style="display: inline-block;"><a href="{$forum_url}" class="fname sort_link">{$forum['name']}</a>{$subforums}</strong>{$forum_viewers_text}
<div class="smalltext hidden-xs" style="font-size: 13px;">
<span class="visible-xs-inline-block" style="color: #4B4B4B;">Topics: {$threads}{$unapproved['unapproved_threads']}</span>
<span class="visible-xs-inline-block" style="color: #4B4B4B;">- Posts: {$posts}{$unapproved['unapproved_posts']}</span>
</div>
<div class="smalltext hidden-xs" style="font-size: 13px;">{$forum['description']}{$modlist}</div>
</div>
<div class="col-md-2 col-sm-1 hidden-xs text-right" style="padding-top: 0.5%;line-height: 2;">
<span class="label label-info member_label" style="font-size: 90%;">
<a class="tt" href="{$forum_url}" title="Threads" style="cursor:pointer;color: #fff;">{$threads}{$unapproved['unapproved_threads']}
<i class="fa fa-commenting"></i></a>
</span>
<br>
<span class="label label-info member_label" style="font-size: 90%;">
<a class="tt" href="{$forum_url}" title="Posts" style="cursor:pointer;color: #fff;">{$posts}{$unapproved['unapproved_posts']}
<i class="tt fa fa-comments" title="Posts" style="cursor:pointer;"></i></a>
</span>
</div>
{$lastpost}
</td>
</tr>
J'ai essayé de faire un peu ce que 'mmadhankumar' dit de faire ici : https://community.mybb.com/post-1107253.html , mais sans succès.
Le lien de mon forum est par là : http://les-as-du-web.esy.es/
Merci beaucoup !
Yan