Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
MyForumIcons - Custom Forum Icons
#1
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:

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']}");
}
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.

If you have any questions/concerns, please let me know.

Enjoy!
Zitieren


Nachrichten in diesem Thema
MyForumIcons - Custom Forum Icons - von MyBB.de Bot - 31.03.2015, 05:00
Problem mit ForumIcons - von Claudio - 09.05.2015, 00:36
RE: Welches Plugin ist das? - von Lagerlui - 18.02.2017, 17:24
MyForumIcons - Installation - von Bierbootjk - 18.10.2019, 18:16
RE: MyForumIcons - Installation - von bv64 - 18.10.2019, 21:22
RE: MyForumIcons - Installation - von Gerti - 20.10.2019, 13:49
RE: MyForumIcons - Installation - von bv64 - 18.10.2019, 19:19

Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Custom Forum Icons MyBB.de Bot 0 1.801 10.03.2010, 08:18
Letzter Beitrag: MyBB.de Bot