Hi guys i hope you all doing well and running your forums successfully.Here is a nice tutorial for forum feed,subscription and new thread icons add in forum column.
First lool at the final result in the image right below this line.
so you need to edit only one template and one line.For beginners i suggest to create a test theme to check your modifications if you might make a mistake in code that will be a little bit hard for you am i right.I am sharing this only for beginners the pro already know these kinds of little things very well.
So here we go to the admin panel.
1.Go to Templates and styles -> templates -> template set that is used by your current forum theme -> Forum Bit Templates -> forumbit_depth2_forum
2.Find this line <td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
3.Replace these lines with above one <td class="{$bgcolor}" valign="top">
<div style="float:left;display:inline;"><strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div> </div><div style="float:right;display:inline;"><a href="syndication.php?fid={$forum['fid']}"><img src="{$theme['imgdir']}/rss.png" alt="rss feed" /></a> <a href="usercp2.php?action=addsubscription&type=forum&fid={$forum['fid']}&my_post_key={$mybb->post_code}"><img src="{$theme['imgdir']}/subs.png" alt="subscribe" /></a> <a href="newthread.php?fid={$forum['fid']}"><img src="{$theme['imgdir']}/nt.png" alt="new thread" /></a> </div>
</td>
4.We done
you can check these code to understand and make something even cool from this.let me know if you like it
Download Icons pack: Click to Download
First lool at the final result in the image right below this line.
so you need to edit only one template and one line.For beginners i suggest to create a test theme to check your modifications if you might make a mistake in code that will be a little bit hard for you am i right.I am sharing this only for beginners the pro already know these kinds of little things very well.
So here we go to the admin panel.
1.Go to Templates and styles -> templates -> template set that is used by your current forum theme -> Forum Bit Templates -> forumbit_depth2_forum
2.Find this line <td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
3.Replace these lines with above one <td class="{$bgcolor}" valign="top">
<div style="float:left;display:inline;"><strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div> </div><div style="float:right;display:inline;"><a href="syndication.php?fid={$forum['fid']}"><img src="{$theme['imgdir']}/rss.png" alt="rss feed" /></a> <a href="usercp2.php?action=addsubscription&type=forum&fid={$forum['fid']}&my_post_key={$mybb->post_code}"><img src="{$theme['imgdir']}/subs.png" alt="subscribe" /></a> <a href="newthread.php?fid={$forum['fid']}"><img src="{$theme['imgdir']}/nt.png" alt="new thread" /></a> </div>
</td>
4.We done
you can check these code to understand and make something even cool from this.let me know if you like it
Download Icons pack: Click to Download
1 Comments for "Tutorail for forum feed,subscription and new thread icons add in forum column"
Test comment