Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] MyForumIcons
#1
As promised, I have now released my first mod for MyBB.

AKA: PL9 Forum Icons

MyForumIcons 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_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:
<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>
Official Site: http://mochacoder.com
Coming Soon: http://wowgnerd.com & http://generalrides.com

Follow me on twitter: @MochaCoder
Reply


Messages In This Thread
MyForumIcons - by Steve Moore - 2012-07-23, 11:41 AM
RE: MyForumIcons - by Polarbear541 - 2012-07-25, 07:50 AM
RE: MyForumIcons - by Euan T - 2012-07-25, 07:53 AM
RE: MyForumIcons - by Steve Moore - 2012-07-26, 12:38 AM
RE: MyForumIcons - by Nathan Malcolm - 2012-07-26, 12:41 AM
RE: MyForumIcons - by Leefish - 2012-07-26, 12:56 AM
RE: MyForumIcons - by Steve Moore - 2012-07-26, 12:57 AM
RE: MyForumIcons - by Leefish - 2012-07-26, 01:02 AM
RE: MyForumIcons - by Steve Moore - 2012-07-26, 01:04 AM
RE: MyForumIcons - by Leefish - 2012-07-26, 03:07 AM
RE: MyForumIcons - by Steve Moore - 2012-07-26, 04:59 AM
RE: MyForumIcons - by Dusteh - 2012-09-07, 10:57 AM
RE: MyForumIcons - by giyotin92 - 2012-09-08, 08:43 AM
RE: MyForumIcons - by Steve Moore - 2012-09-09, 08:41 AM
RE: MyForumIcons - by dsKed cristy - 2012-10-13, 08:50 PM
RE: MyForumIcons - by mayur - 2012-10-17, 03:35 PM

Forum Jump:


Users browsing this thread: 13 Guest(s)