The gifs for post icons are 16x16. When I uploaded custom 48x48 they would not show in post icon config after added. Which locations in the MyBB files can I change the 16x16 size limit to 48x48?? This would be a great help because imo the standard 16x16 icon size is not wonderful to look at. Thanks.
I attached an example gif
are you sure your using the same format for the files and are placing them in the correct folder?
Forum URL would help also
Yes absolutely. same dir and same format.
Bump. Here's an example of what happens when I upload a 48x48 pixel post icon gif into the post icon dir and select it to be a post icon. In this case a gif of an Anvil. The post instead shows the name of the gif in place of the image... How do I get larger resolution post icons to show up? 16x16 pixels is too small.
Where's the dimensional formatting in the source to make that post icon column a little bigger?
I've been searching and can't find it yet.
Here's the example:
[
attachment=25740]
ACP -> Templates and styles -> templates -> <your theme template> -> Forum Display Templates -> forumdisplay_thread and change table cell width from 2% to 8% (cell with icon variable) ,repaste that template and save it.
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
Thank you so much Johnny S, I changed to 8% and it looks wide enough but this is what I got:
[
attachment=25752]
It made the column wider however the row height I'm not sure how to change. I did a source search for {$thread_type_class}" height= and found nothing, I did a source search for " height= and found tons to do with avatar height and some other variable but nothing which seemed to do with allowing the post icons to show. Is there somewhere else in the source preventing these 48x48 icons from showing?
Icons are located in icons folder (in images/icons) and you need to replace existing 16x16 pixel icons with new ones (with gif extension, if you don't plan to add new one) or if you are adding new icons you need to add them to icons folder and from ACP create new post icons (with image path images/icons/youricon.gif [or png]).
And for that anvil icon (or whatever is called) you didn't upload corrent icon or you made something wrong like adding wrong extension or name or even icon path.
I've done exactly as you've said already before I asked this question on the forums, here:
[
attachment=25756][
attachment=25757]
I did add them as directed and before hand I did upload them into the proper directory. If anything perhaps the forum software doesn't allow 16x16 gifs in the same directory as 48x48 gifs perhaps? not sure.
Here's the anvil gif that I've been showing as example:
[
attachment=25758]
When you edit anvil icon (in ACP) what is image path in icon settings ?
(2012-03-16, 09:04 AM)Johnny S Wrote: [ -> ]When you edit anvil icon (in ACP) what is image path in icon settings ?
/images/icons/Anvil.gif