2009-07-22, 08:11 PM
(This post was last modified: 2009-07-28, 05:03 PM by Steve Moore.)
As promised, I have now released my first mod for MyBB.
PL9 Forum Icons is just that, a means to add custom forum icons for your forums while still holding the main forum icons in place if you did not input a custom icon.
This thread I intend to use for suggestions and feedback. You will find that I have given the link to download and a couple of the screenshots.
Features:
- Enable/Disable Setting
- Extra forum option to add location of your custom icon
- If no icon was designated, default forum icon is used
More details and download can be found here: http://mods.mybboard.net/view/pl9-forum-icons
Template Troubles:
Open forumbit_depth2_forum template
Find:
Replace with:
Parse Error:
Replace the above code with:
PL9 Forum Icons is just that, a means to add custom forum icons for your forums while still holding the main forum icons in place if you did not input a custom icon.
This thread I intend to use for suggestions and feedback. You will find that I have given the link to download and a couple of the screenshots.
Features:
- Enable/Disable Setting
- Extra forum option to add location of your custom icon
- If no icon was designated, default forum icon is used
More details and download can be found here: http://mods.mybboard.net/view/pl9-forum-icons
Template Troubles:
Open forumbit_depth2_forum template
Find:
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />
Replace with:
<if $mybb->settings['enable_pl9ForumIcons'] 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:
<if $mybb->settings[enable_pl9ForumIcons] 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>
Official Site: http://mochacoder.com
Coming Soon: http://wowgnerd.com & http://generalrides.com
Follow me on twitter: @MochaCoder
Coming Soon: http://wowgnerd.com & http://generalrides.com
Follow me on twitter: @MochaCoder