2015-03-30, 07:27 AM
MyForumIcons
Set custom icons for use on each of your forums.
Before you use this- Please note that this works in the DEFAULT theme. I do not know how many variations of the template other themes use, so it makes it difficult to automatically update the templates for every other theme.
There are two variables that need to be included in the forumbit_depth2_forum template. They are $forum['myforumicon_override'] and $forum['myforumicon'].
The following is what each of these represent:
$forum['myforumicon_override']
Quote: style="display: none;"
$forum['myforumicon']
Quote:<img src="{PATH_TO_YOUR_ICON}" title="{NAME_OF_YOUR_FORUM}" />
If you need assistance making this compatible with your theme, please let me know.
If you are a theme creator and would like all of your themes to be compatible with the plugin's default logic, please message me to discuss.
Hey guys! I noticed that some people were requesting a custom forum icon plugin, since the latest one from another developer hasn't been updated for 1.8 yet (as far as I know). So, I threw this one together for anyone that needs it.
Mod site project page - http://community.mybb.com/mods.php?action=view&pid=457
This will allow you to set custom icons to use on each individual forum. You can specify a path to your forum's custom icon by going to the ACP => Forum Management => Edit Forum.
When installed, it will alter the forums table to add a column called myforumicon, which will be used for the custom icon of your forum.
When activated, modifications to your forumbit_depth2_forum template will be made. This is done to allow the plugin to generate an icon for the forum and hide the default icon. When an icon is not set, the default will be used.
If you have any questions/concerns, please let me know.
Enjoy!