MyBB Community Forums

Full Version: Where to find collapse and minioff/minion?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I've used the search feature to find the minion icons but I could never find them! I need to specify the dimensions because apparently they are not specified. :/
minion.gif and minioff.gif icons are in your ./images/ folder. What do you mean by "specifying dimensions" ?
I mean, I need to find where it is in the template. I've searched everywhere!

Something like: WIDTH=105 HEIGHT=97 - I added it for the ficons, it helps render the page.
They are 16px by 16px .
I know they are, but I need to specify them.

Do you know where they can be found in the template so I can edit them?
(2011-05-07, 09:15 AM)Renegader Wrote: [ -> ]I know they are, but I need to specify them.

Do you know where they can be found in the template so I can edit them?

They seem to are build in the source code.
In modcp.php line 1152 (off) and 1156 (on)
In /inc/functions_modcp.php line 105 (off) and 109 (on)

In the default theme there seems to be no other reference to the minion.gif and minioff.gif icons.
Hmm, are those the ones that are in the index page too?
They're in forumbit_depth1_cat, floating in the class next to the forum name.
This code:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>

Replace that code with:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" width="105px" height="97px" /></div>
<div id="cat_{$forum['fid']}" class="content">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="4">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="120" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}/{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="200"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table><br />
</div>


I don't see it Sad
Updated the post above yours, that should work. Smile
Pages: 1 2