<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Konnexu Community - Developer and Coding]]></title>
		<link>https://forum.konnexu.com/</link>
		<description><![CDATA[Konnexu Community - https://forum.konnexu.com]]></description>
		<pubDate>Fri, 10 Apr 2026 17:26:39 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[MyBB - Changing forum icons to FontAwesome]]></title>
			<link>https://forum.konnexu.com/thread-20.html</link>
			<pubDate>Wed, 12 Jun 2024 13:18:12 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.konnexu.com/member.php?action=profile&uid=2">Donna_Kx</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.konnexu.com/thread-20.html</guid>
			<description><![CDATA[MyBB is a good forum but gee, it sure does have a ton of icons. We removed some and changed others to FontAwesome as we weren’t fond of the ancient look of the default icons. Here’s a basic guide to how we did it. If you want to replace yours, you can follow this guide for a starter. Once you get the gist of it, it’s not hard to do. We will preface the tutorial with some important tips. <br />
<br />
Thanks to <a href="https://community.mybb.com/thread-212919.html" target="_blank" rel="noopener" class="mycode_url">Livewire at MyBB community</a> for the initial guide. I’ve updated my guide with the latest FA icons.<br />
<br />
TIPS:<ul class="mycode_list"><li>Always work on a clone theme and template. I never, ever edit default files. <br />
</li>
<li>Make copies of any files you are changing. I have folders on my computer for “original files” and “changed files.”  I use Sublime Text and copy all the code from one file, such as “global.css” and paste that, then save it as the same name but in the “original files” folder. I then save the changed file into the “changed files” folder. Makes it much easier when upgrading to update these files manually.<br />
</li>
<li>If using Sublime Text editor, NotePad++ or some other editor, you’ll have code lines. That’ll make it easier to follow along as I’ll put line numbers where possible.<br />
</li>
<li>Make a local development site to work on first. Or, if you can’t do that, make a development site on your server. Work on your development site before posting any changes to your main site. In order to keep from accidentally changing your main site, make your favicon on your dev site a different look. Also, you can name your dev site with “Dev” in the title. This way it can help you distinguish between main and dev.<br />
</li>
<li>Backup your main site before applying changes. <br />
</li>
<li>Clear all cache after applying changes.<br />
</li>
</ul>
<span style="font-weight: bold;" class="mycode_b"><span style="color: #000000;" class="mycode_color"><span style="font-size: 1pt;" class="mycode_size"><span style="font-family: Arial, sans-serif;" class="mycode_font">T</span></span></span></span>The tutorial below shows the FontAwesome icons we are using here. You can check the various icons here, <a href="https://fontawesome.com/icons" target="_blank" rel="noopener" class="mycode_url">https://fontawesome.com/icons</a> . If you want to use other FontAwesome icons, here’s how:<br />
<br />
We’ll take one of the forum icons as an example. Below we have this in "global.css":<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.ficons_2 i:before {<br />
content: "&#92;f70e";<br />
}</code></div></div><br />
The FontAwesome icon code is “\f70e” which you get when you click to view a FontAwesome icon and in the top right it will have the code to use.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=14" target="_blank" title="">f11.png</a> (Size: 79.15 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
You’ll need to be logged into the admin panel for these changes.<br />
<ol type="1" class="mycode_list"><li>Navigate to Templates click “Options &gt; Expand Templates” for your template you’ve made.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=15" target="_blank" title="">fa1.png</a> (Size: 104.94 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Find Ungrouped Templates at the bottom and click “Expand.”<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=16" target="_blank" title="">fa2.png</a> (Size: 24.84 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Look for “headerinclude” and click “Options &gt; Full Edit.” (note that I save this one before editing as mentioned above.)<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=17" target="_blank" title="">fa3.png</a> (Size: 34.82 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Add the FontAwesome code:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"&gt;</code></div></div><br />
and save.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=18" target="_blank" title="">fa4.png</a> (Size: 169.15 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
</ol>
Now that you’ve added the FontAwesome code, you can replace your icons.<br />
<ol type="1" class="mycode_list"><li>Still in Templates, find “Forum Bit Templates” and click to open it to view all the templates.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=19" target="_blank" title="">fa5.png</a> (Size: 77.77 KB / Downloads: 20)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>You’ll need to add the FA (FontAwesome) code in two templates, “forumbit_depth2_forum” and “forumbit_depth2_cat” - don’t forget to first make a copy.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=20" target="_blank" title="">fa6.png</a> (Size: 67.47 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Find the following code which should be on line 2:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" width="1"&gt;&lt;span class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;&lt;/td&gt;</code></div></div><br />
</li>
<li>Replace it with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" width="1"&gt;&lt;div class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read ficons_{&#36;forum['fid']}" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;</code></div></div><br />
</li>
<li>Now you need to add the CSS. Navigate to Themes and click the name of the theme you made. This will open the stylesheet list.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=21" target="_blank" title="">fa7.png</a> (Size: 54.76 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Click the “global.css” stylesheet to open it and select the Advanced mode tab.<br />
</li>
<li>In your text editor, copy and paste global.css and find, around lines 302-333:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.forum_status {<br />
&nbsp;&nbsp;&nbsp;&nbsp;height: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background: url(images/forum_icon_sprite.png) no-repeat 0 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display: inline-block;<br />
}<br />
<br />
.forum_on {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 0;<br />
}<br />
<br />
.forum_off {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -30px;<br />
}<br />
<br />
.forum_offclose {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -60px;<br />
}<br />
<br />
.forum_offlink {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -90px;<br />
}</code></div></div><br />
</li>
<li>Replace that code with the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.forum_status {<br />
height: 50px;<br />
width: 50px;<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.forum_status i {<br />
display: inline-block;<br />
line-height: 50px;<br />
}<br />
<br />
.forum_on {<br />
color: #4285f4;<br />
}<br />
<br />
.forum_off, .forum_offlink {<br />
color: #333;<br />
}<br />
<br />
.forum_offlock {<br />
&nbsp;&nbsp;&nbsp;&nbsp;color: #CE2020;<br />
}<br />
<br />
.forum_off i {<br />
opacity: .4;<br />
}<br />
<br />
.forum_offlock i:before {<br />
content: "&#92;f023";<br />
}<br />
<br />
.forum_offlink i:before {<br />
content: "&#92;f0c1";<br />
}<br />
<br />
.ficons_2 i:before {<br />
content: "&#92;f70e";<br />
}<br />
<br />
.ficons_3 i:before {<br />
content: "&#92;f1ba";<br />
}<br />
<br />
.ficons_4 i:before {<br />
content: "&#92;f187";<br />
}<br />
<br />
.ficons_5 i:before {<br />
content: "&#92;f059";<br />
}<br />
<br />
.ficons_6 i:before {<br />
content: "&#92;f0e4";<br />
}<br />
<br />
.ficons_10 i:before {<br />
content: "&#92;f688";<br />
}<br />
<br />
.ficons_11 i:before {<br />
content: "&#92;f509";<br />
}<br />
<br />
.ficons_12 i:before {<br />
content: "&#92;e573";<br />
}<br />
<br />
.ficons_13 i:before {<br />
content: "&#92;f02d";<br />
}<br />
<br />
.ficons_14 i:before {<br />
content: "&#92;f02d";<br />
}<br />
<br />
.ficons_15 i:before {<br />
content: "&#92;f0c0";<br />
}<br />
<br />
.ficons_16 i:before {<br />
content: "&#92;f07a";<br />
}<br />
<br />
.ficons_17 i:before {<br />
content: "&#92;f544";<br />
}<br />
<br />
.ficons_18 i:before {<br />
content: "&#92;f0ac";<br />
}<br />
<br />
.ficons_19 i:before {<br />
content: "&#92;f233";<br />
}<br />
<br />
.ficons_20 i:before {<br />
content: "&#92;f0e0";<br />
}<br />
<br />
.ficons_21 i:before {<br />
content: "&#92;f4ad";<br />
}<br />
<br />
.ficons_22 i:before {<br />
content: "&#92;f53f";<br />
}<br />
<br />
.ficons_23 i:before {<br />
content: "&#92;f121";<br />
}</code></div></div><br />
For the above, you’ll want to change the “.ficons_(number)” to match your own forum IDs. You may find you have less forum IDs than we do here. Just remove those you don’t need. If you have more, add those. To find the forum ID, hover over one of your forum categories and you’ll see the ID in the lower left where the URL shows. The screenshot below shows that the forum category we are looking at is ID 18.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=22" target="_blank" title="">fa9.png</a> (Size: 50.7 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
 <br />
If you look above at the css I’ve posted, you’ll see “.ficons_18” which goes with that forum.<br />
</li>
</ol>
<span style="font-weight: bold;" class="mycode_b">Subforum Icons</span><br />
<ol type="1" class="mycode_list"><li>Still in the Forum Bit Templates, open “forumbit_depth3_statusicon”:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=23" target="_blank" title="">fa11.png</a> (Size: 78.44 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Replace the code in that template with the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;div title="{&#36;lightbulb['altonoff']}" class="subforumicon subforum_{&#36;lightbulb['folder']} ajax_mark_read" id="mark_read_{&#36;forum['fid']}"&gt;&lt;i class="fa fa-comment"&gt;&lt;/i&gt;&lt;/div&gt;</code></div></div><br />
</li>
<li>Open global.css again and find lines 325-347:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.subforumicon {<br />
&nbsp;&nbsp;&nbsp;&nbsp;height: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display: inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin: 0 5px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background: url(images/mini_status_sprite.png) no-repeat 0 0;<br />
}<br />
<br />
.subforum_minion {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 0;<br />
}<br />
<br />
.subforum_minioff {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -10px;<br />
}<br />
<br />
.subforum_minioffclose {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -20px;<br />
}<br />
<br />
.subforum_miniofflink {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -30px;<br />
}</code></div></div><br />
</li>
<li>Replace that code with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.subforumicon {<br />
height: 10px;<br />
width: 10px;<br />
display: inline-block;<br />
margin: 0 5px;<br />
}<br />
<br />
.subforum_minion {<br />
color: #333;<br />
}<br />
<br />
.subforum_minioff, .subforum_miniofflock, .subforum_miniofflink {<br />
color: #333;<br />
}<br />
<br />
.subforum_minioff {<br />
opacity: .4;<br />
}<br />
<br />
.subforum_miniofflock i:before {<br />
content: "&#92;f023";<br />
}<br />
<br />
.subforum_miniofflink i:before {<br />
content: "&#92;f0c1";<br />
}</code></div></div></li>
</ol>
<span style="font-weight: bold;" class="mycode_b">Fixing the Legend</span><br />
<ol type="1" class="mycode_list"><li>For the legend, in the Templates, navigate to Index Page Templates and click it to open the templates and click the index template to edit it.<br />
</li>
<li>Find the following code from lines 17-29:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;dl class="forum_legend smalltext"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_on" title="{&#36;lang-&gt;new_posts}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;new_posts}&lt;/dd&gt;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_off" title="{&#36;lang-&gt;no_new_posts}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;no_new_posts}&lt;/dd&gt;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_offclose" title="{&#36;lang-&gt;forum_closed}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;forum_closed}&lt;/dd&gt;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_offlink" title="{&#36;lang-&gt;forum_redirect}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;forum_redirect}&lt;/dd&gt;<br />
&lt;/dl&gt;</code></div></div><br />
</li>
<li>Replace it with the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;dl class="forum_legend smalltext"&gt;<br />
&lt;dt&gt;&lt;div class="forum_status forum_on"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;new_posts}&lt;/dd&gt;<br />
<br />
&lt;dt&gt;&lt;div class="forum_status forum_off"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;no_new_posts}&lt;/dd&gt;<br />
<br />
&lt;dt&gt;&lt;div class="forum_status forum_offlock"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;forum_closed}&lt;/dd&gt;<br />
<br />
&lt;dt&gt;&lt;div class="forum_status forum_offlink"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;forum_redirect}&lt;/dd&gt;<br />
&lt;/dl&gt;</code></div></div></li>
</ol>
That’s it for this tutorial. Hope it helps get you started in improving your own MyBB forum. <img src="https://forum.konnexu.com/images/smilies/smiley.svg" alt="Smile" title="Smile" class="smilie smilie_42" />]]></description>
			<content:encoded><![CDATA[MyBB is a good forum but gee, it sure does have a ton of icons. We removed some and changed others to FontAwesome as we weren’t fond of the ancient look of the default icons. Here’s a basic guide to how we did it. If you want to replace yours, you can follow this guide for a starter. Once you get the gist of it, it’s not hard to do. We will preface the tutorial with some important tips. <br />
<br />
Thanks to <a href="https://community.mybb.com/thread-212919.html" target="_blank" rel="noopener" class="mycode_url">Livewire at MyBB community</a> for the initial guide. I’ve updated my guide with the latest FA icons.<br />
<br />
TIPS:<ul class="mycode_list"><li>Always work on a clone theme and template. I never, ever edit default files. <br />
</li>
<li>Make copies of any files you are changing. I have folders on my computer for “original files” and “changed files.”  I use Sublime Text and copy all the code from one file, such as “global.css” and paste that, then save it as the same name but in the “original files” folder. I then save the changed file into the “changed files” folder. Makes it much easier when upgrading to update these files manually.<br />
</li>
<li>If using Sublime Text editor, NotePad++ or some other editor, you’ll have code lines. That’ll make it easier to follow along as I’ll put line numbers where possible.<br />
</li>
<li>Make a local development site to work on first. Or, if you can’t do that, make a development site on your server. Work on your development site before posting any changes to your main site. In order to keep from accidentally changing your main site, make your favicon on your dev site a different look. Also, you can name your dev site with “Dev” in the title. This way it can help you distinguish between main and dev.<br />
</li>
<li>Backup your main site before applying changes. <br />
</li>
<li>Clear all cache after applying changes.<br />
</li>
</ul>
<span style="font-weight: bold;" class="mycode_b"><span style="color: #000000;" class="mycode_color"><span style="font-size: 1pt;" class="mycode_size"><span style="font-family: Arial, sans-serif;" class="mycode_font">T</span></span></span></span>The tutorial below shows the FontAwesome icons we are using here. You can check the various icons here, <a href="https://fontawesome.com/icons" target="_blank" rel="noopener" class="mycode_url">https://fontawesome.com/icons</a> . If you want to use other FontAwesome icons, here’s how:<br />
<br />
We’ll take one of the forum icons as an example. Below we have this in "global.css":<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.ficons_2 i:before {<br />
content: "&#92;f70e";<br />
}</code></div></div><br />
The FontAwesome icon code is “\f70e” which you get when you click to view a FontAwesome icon and in the top right it will have the code to use.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=14" target="_blank" title="">f11.png</a> (Size: 79.15 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
You’ll need to be logged into the admin panel for these changes.<br />
<ol type="1" class="mycode_list"><li>Navigate to Templates click “Options &gt; Expand Templates” for your template you’ve made.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=15" target="_blank" title="">fa1.png</a> (Size: 104.94 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Find Ungrouped Templates at the bottom and click “Expand.”<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=16" target="_blank" title="">fa2.png</a> (Size: 24.84 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Look for “headerinclude” and click “Options &gt; Full Edit.” (note that I save this one before editing as mentioned above.)<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=17" target="_blank" title="">fa3.png</a> (Size: 34.82 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Add the FontAwesome code:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"&gt;</code></div></div><br />
and save.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=18" target="_blank" title="">fa4.png</a> (Size: 169.15 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
</li>
</ol>
Now that you’ve added the FontAwesome code, you can replace your icons.<br />
<ol type="1" class="mycode_list"><li>Still in Templates, find “Forum Bit Templates” and click to open it to view all the templates.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=19" target="_blank" title="">fa5.png</a> (Size: 77.77 KB / Downloads: 20)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>You’ll need to add the FA (FontAwesome) code in two templates, “forumbit_depth2_forum” and “forumbit_depth2_cat” - don’t forget to first make a copy.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=20" target="_blank" title="">fa6.png</a> (Size: 67.47 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Find the following code which should be on line 2:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" width="1"&gt;&lt;span class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;&lt;/td&gt;</code></div></div><br />
</li>
<li>Replace it with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" width="1"&gt;&lt;div class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read ficons_{&#36;forum['fid']}" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/td&gt;</code></div></div><br />
</li>
<li>Now you need to add the CSS. Navigate to Themes and click the name of the theme you made. This will open the stylesheet list.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=21" target="_blank" title="">fa7.png</a> (Size: 54.76 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Click the “global.css” stylesheet to open it and select the Advanced mode tab.<br />
</li>
<li>In your text editor, copy and paste global.css and find, around lines 302-333:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.forum_status {<br />
&nbsp;&nbsp;&nbsp;&nbsp;height: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 30px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background: url(images/forum_icon_sprite.png) no-repeat 0 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display: inline-block;<br />
}<br />
<br />
.forum_on {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 0;<br />
}<br />
<br />
.forum_off {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -30px;<br />
}<br />
<br />
.forum_offclose {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -60px;<br />
}<br />
<br />
.forum_offlink {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -90px;<br />
}</code></div></div><br />
</li>
<li>Replace that code with the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.forum_status {<br />
height: 50px;<br />
width: 50px;<br />
font-size: 30px;<br />
text-align: center;<br />
}<br />
<br />
.forum_status i {<br />
display: inline-block;<br />
line-height: 50px;<br />
}<br />
<br />
.forum_on {<br />
color: #4285f4;<br />
}<br />
<br />
.forum_off, .forum_offlink {<br />
color: #333;<br />
}<br />
<br />
.forum_offlock {<br />
&nbsp;&nbsp;&nbsp;&nbsp;color: #CE2020;<br />
}<br />
<br />
.forum_off i {<br />
opacity: .4;<br />
}<br />
<br />
.forum_offlock i:before {<br />
content: "&#92;f023";<br />
}<br />
<br />
.forum_offlink i:before {<br />
content: "&#92;f0c1";<br />
}<br />
<br />
.ficons_2 i:before {<br />
content: "&#92;f70e";<br />
}<br />
<br />
.ficons_3 i:before {<br />
content: "&#92;f1ba";<br />
}<br />
<br />
.ficons_4 i:before {<br />
content: "&#92;f187";<br />
}<br />
<br />
.ficons_5 i:before {<br />
content: "&#92;f059";<br />
}<br />
<br />
.ficons_6 i:before {<br />
content: "&#92;f0e4";<br />
}<br />
<br />
.ficons_10 i:before {<br />
content: "&#92;f688";<br />
}<br />
<br />
.ficons_11 i:before {<br />
content: "&#92;f509";<br />
}<br />
<br />
.ficons_12 i:before {<br />
content: "&#92;e573";<br />
}<br />
<br />
.ficons_13 i:before {<br />
content: "&#92;f02d";<br />
}<br />
<br />
.ficons_14 i:before {<br />
content: "&#92;f02d";<br />
}<br />
<br />
.ficons_15 i:before {<br />
content: "&#92;f0c0";<br />
}<br />
<br />
.ficons_16 i:before {<br />
content: "&#92;f07a";<br />
}<br />
<br />
.ficons_17 i:before {<br />
content: "&#92;f544";<br />
}<br />
<br />
.ficons_18 i:before {<br />
content: "&#92;f0ac";<br />
}<br />
<br />
.ficons_19 i:before {<br />
content: "&#92;f233";<br />
}<br />
<br />
.ficons_20 i:before {<br />
content: "&#92;f0e0";<br />
}<br />
<br />
.ficons_21 i:before {<br />
content: "&#92;f4ad";<br />
}<br />
<br />
.ficons_22 i:before {<br />
content: "&#92;f53f";<br />
}<br />
<br />
.ficons_23 i:before {<br />
content: "&#92;f121";<br />
}</code></div></div><br />
For the above, you’ll want to change the “.ficons_(number)” to match your own forum IDs. You may find you have less forum IDs than we do here. Just remove those you don’t need. If you have more, add those. To find the forum ID, hover over one of your forum categories and you’ll see the ID in the lower left where the URL shows. The screenshot below shows that the forum category we are looking at is ID 18.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=22" target="_blank" title="">fa9.png</a> (Size: 50.7 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
 <br />
If you look above at the css I’ve posted, you’ll see “.ficons_18” which goes with that forum.<br />
</li>
</ol>
<span style="font-weight: bold;" class="mycode_b">Subforum Icons</span><br />
<ol type="1" class="mycode_list"><li>Still in the Forum Bit Templates, open “forumbit_depth3_statusicon”:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://forum.konnexu.com/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=23" target="_blank" title="">fa11.png</a> (Size: 78.44 KB / Downloads: 18)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Replace the code in that template with the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;div title="{&#36;lightbulb['altonoff']}" class="subforumicon subforum_{&#36;lightbulb['folder']} ajax_mark_read" id="mark_read_{&#36;forum['fid']}"&gt;&lt;i class="fa fa-comment"&gt;&lt;/i&gt;&lt;/div&gt;</code></div></div><br />
</li>
<li>Open global.css again and find lines 325-347:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.subforumicon {<br />
&nbsp;&nbsp;&nbsp;&nbsp;height: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display: inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin: 0 5px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background: url(images/mini_status_sprite.png) no-repeat 0 0;<br />
}<br />
<br />
.subforum_minion {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 0;<br />
}<br />
<br />
.subforum_minioff {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -10px;<br />
}<br />
<br />
.subforum_minioffclose {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -20px;<br />
}<br />
<br />
.subforum_miniofflink {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-position: 0 -30px;<br />
}</code></div></div><br />
</li>
<li>Replace that code with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>.subforumicon {<br />
height: 10px;<br />
width: 10px;<br />
display: inline-block;<br />
margin: 0 5px;<br />
}<br />
<br />
.subforum_minion {<br />
color: #333;<br />
}<br />
<br />
.subforum_minioff, .subforum_miniofflock, .subforum_miniofflink {<br />
color: #333;<br />
}<br />
<br />
.subforum_minioff {<br />
opacity: .4;<br />
}<br />
<br />
.subforum_miniofflock i:before {<br />
content: "&#92;f023";<br />
}<br />
<br />
.subforum_miniofflink i:before {<br />
content: "&#92;f0c1";<br />
}</code></div></div></li>
</ol>
<span style="font-weight: bold;" class="mycode_b">Fixing the Legend</span><br />
<ol type="1" class="mycode_list"><li>For the legend, in the Templates, navigate to Index Page Templates and click it to open the templates and click the index template to edit it.<br />
</li>
<li>Find the following code from lines 17-29:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;dl class="forum_legend smalltext"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_on" title="{&#36;lang-&gt;new_posts}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;new_posts}&lt;/dd&gt;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_off" title="{&#36;lang-&gt;no_new_posts}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;no_new_posts}&lt;/dd&gt;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_offclose" title="{&#36;lang-&gt;forum_closed}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;forum_closed}&lt;/dd&gt;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dt&gt;&lt;span class="forum_status forum_offlink" title="{&#36;lang-&gt;forum_redirect}"&gt;&lt;/span&gt;&lt;/dt&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;dd&gt;{&#36;lang-&gt;forum_redirect}&lt;/dd&gt;<br />
&lt;/dl&gt;</code></div></div><br />
</li>
<li>Replace it with the following:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;dl class="forum_legend smalltext"&gt;<br />
&lt;dt&gt;&lt;div class="forum_status forum_on"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;new_posts}&lt;/dd&gt;<br />
<br />
&lt;dt&gt;&lt;div class="forum_status forum_off"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;no_new_posts}&lt;/dd&gt;<br />
<br />
&lt;dt&gt;&lt;div class="forum_status forum_offlock"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;forum_closed}&lt;/dd&gt;<br />
<br />
&lt;dt&gt;&lt;div class="forum_status forum_offlink"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt;&lt;/div&gt;&lt;/dt&gt;<br />
&lt;dd&gt;{&#36;lang-&gt;forum_redirect}&lt;/dd&gt;<br />
&lt;/dl&gt;</code></div></div></li>
</ol>
That’s it for this tutorial. Hope it helps get you started in improving your own MyBB forum. <img src="https://forum.konnexu.com/images/smilies/smiley.svg" alt="Smile" title="Smile" class="smilie smilie_42" />]]></content:encoded>
		</item>
	</channel>
</rss>