31.03.2015, 05:00
(Dieser Beitrag wurde zuletzt bearbeitet: 12.05.2024, 23:05 von MyBB.de Bot.)
Eine neue Erweiterung wurde veröffentlicht: MyForumIcons - Custom Forum Icons
Zitat:This will allow you to create custom icons for your forums.
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. It uses the following code to replace templates:
This allows 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.Code:function myforumicons_activate()
{
require_once MYBB_ROOT."inc/adminfunctions_templates.php";
find_replace_templatesets("forumbit_depth2_forum", "#".preg_quote("id=\"mark_read_{\$forum['fid']}\"></span>")."#i", "id=\"mark_read_{\$forum['fid']}\" {\$forum['myforumicon_override']}></span>{\$forum['myforumicon']}");
}
If you have any questions/concerns, please let me know.
Enjoy!