MyBB Community Forums

Full Version: Single forum icons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi everyone, I'm currently using the NetPen theme as seen here : https://community.mybb.com/mods.php?action=view&pid=727

The link to my forum is right here : http://les-as-du-web.esy.es/

I was wondering why it's not working. I've done the change in the code as said by 'mmadhankumarhere : https://community.mybb.com/post-1107253.html

But it's not working.

Here is my 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>


Thanks

please help Confused
UP ! Smile
What exacrly is not working?
There is no forum icons.

Like, I want to have different forum icons, but for now there is no forum icons at all.
Please post your forumbit_depth2_forum template...
<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>
Try to replace that code with following and post if you have some bugs so I can try to fix them.

<tr>

 


<td class="{$bgcolor}"   style="padding: 6px 10px;"     valign="top" width="1">
 <span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span>
<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>
ok so here is what it looks like with your code : 

[Image: 426900Capture.png]




Here is how I'd like it to look like :

[Image: 630618Capture2.png]
(you know the blue squares are different forum icons, and with the text right after it)
Forum Testing
This is original theme tamplate:

<tr>
<td class="{$bgcolor} post-icon">
<div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read tt" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}">
<i class="fa fa-commenting-o"></i>
</div>
</td>
<td class="{$bgcolor}" style="padding: 6px 10px;">
<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>
Pages: 1 2