Our Services
MyBB Custom Theme
Web Design
Web Hosting
Logo and Branding
Psd to Template
Forum Management
# Contact UsWe are here for you.
+91-83340-25252 +91-83348-25252
# Request free QuoteWe'll come back with a price fast!
Please register and login BEFORE purchasing any products to avoid any type of purchase relates issues.
How to get custom forums icons in myBB
Posted by   GodNum   on 12-10-2012 at 04:10 PM
Post: #1
How to get custom forums icons in myBB
MyBB Users really want some twist in there Forum's layout. Therefore need some plugins that could do the hard job for them. For that purpose, MyBB Plugin authors developed some great plugins that add Custom Forum Icons on the side corner of their Index and Forumdisplay.

A very easy way to add Custom Forum Icons in place of "Forum Icon's Legend". With this, you can replace the default "Forum Icon's Legend Column" with "Custom Forum Icons". Plus your Each Forum and Subforum will get separate Forum Icon Cool

How to?
1. Make a folder and name it something like ficons.
2. Add Icons in it which you want to use as "Custom Forum Icons".
3. Name each Icon as forum1 , forum2 , forum3 etc. where 1 , 2 , 3 are forum's or subforum's forum ID .
4. Now upload this folder to your MyBB_Root/images/ Directory.
5. Now go to Admin Control Panel >>> Templates >>> Forum Bit Templates >>> and open the following two templates.

forumbit_depth2_forum
forumbit_depth2_cat


Search the following in those two templates;
Code:
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
and Replace it with the following;
Code:
<img src="images/[b]YOUR_FOLDER_NAME[/b]/forum{$forum['fid']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />

Save both templates, and your Custom Forum Icons are ready to go. Wink

Have fun editing Wink
With regards
~Yuvapix Staff

[Image: moderator-yuva-pix.png]
Reply
Posted by   adep12   on 12-11-2012 at 02:14 AM
Post: #2
RE: How to get custom forums icons in myBB
Thanks for the post, It really helped to be honest.
Reply
Posted by   wwe   on 04-08-2013 at 01:04 AM
Post: #3
RE: How to get custom forums icons in myBB
Thank you for this tutorial!

Very useful indeed!

I tried using a plugin for this, didn't realy work Sad
Reply




User(s) browsing this thread: 1 Guest(s)