22.07.2009, 17:18
(Dieser Beitrag wurde zuletzt bearbeitet: 26.08.2014, 09:53 von MyBB.de Bot.)
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