MyBB.de Forum
PL9 Forum Icons - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-82.html)
+--- Thema: PL9 Forum Icons (/thread-21565.html)



PL9 Forum Icons - MyBB.de Bot - 22.07.2009

Eine neue Erweiterung wurde veröffentlicht: MyForumIcons

Zitat:This will allow you to add custom images as forum icons for each one of your forums.

This mod currently has 1 setting to turn it off at any time. You can edit each one of your forums and add the image, as well you can add an image when you create a new forum.

Future Release:
All automated

Currently you have to edit 1 file and activate and install the included plugin.

NOTE: As I do these mods during my free time, I ask that if you enjoy my mods you give a small donation to show your appreciation. If you need my donation email for paypal, please do not hesitate to PM.

Template Troubleshooting:
Open forumbit_depth2_forum template

Find:
Code:
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />

Replace with:
Code:
<if $mybb->settings['enable_MyForumIcons'] then>
<if $forum['forum_icon'] then>
<img src="{$forum['forum_icon']}" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
<else />
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
</if>
<else />
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
</if>

Parse Error:
Replace the above code with:
Code:
<if $mybb->settings[enable_MyForumIcons] then>
<if $forum[forum_icon] then>
<img src="{$forum['forum_icon']}" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
<else />
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
</if>
<else />
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
</if>

If that does not work please report your parse error in the support/release thread: *New thread coming*

Vorschau:
http://mybb.mythotical.com