https://www.icyphoenix.com/viewtopic.php?f=35&t=7640&p=51553#p51553
-----------------------------------
mort
Tue 15 Feb, 2011 23:17

Re: In Prosilver_ip, Forum_nor_ar_read.gif Images Location
-----------------------------------
Example:

[code linenumbers=false]Change this:
$images['forum_nor_unread'] = $current_template_buttons . 'forum_nor_unread.' . $images_extension . $img_fade;

To:
$images['forum_nor_unread'] = $current_template_buttons . 'forum_nor_unread.gif' . $img_fade;[/code]

But that will require all of your forum_nor_unread buttons for every theme to be .gif  :( 

Better try this:

Open prosilver_ip/prosilver_ip.cfg

Find:

include(IP_ROOT_PATH . 'templates/default/default.cfg');

After ADD:

[code linenumbers=false]$images['forum_nor_read'] = $current_template_buttons . 'forum_nor_read.' . $images_extension . $img_fade;
$images['forum_nor_unread'] = $current_template_buttons . 'forum_nor_unread.' . $images_extension . $img_fade;
$images['forum_nor_locked_read'] = $current_template_buttons . 'forum_nor_locked_read.' . $images_extension . $img_fade;
$images['forum_nor_locked_unread'] = $current_template_buttons . 'forum_nor_locked_read.' . $images_extension . $img_fade;
$images['forum_sub_read'] = $current_template_buttons . 'forum_sub_read.' . $images_extension . $img_fade;
$images['forum_sub_unread'] = $current_template_buttons . 'forum_sub_unread.' . $images_extension . $img_fade;
$images['forum_sub_locked_read'] = $current_template_buttons . 'forum_nor_locked_read.' . $images_extension . $img_fade;
$images['forum_sub_locked_unread'] = $current_template_buttons . 'forum_nor_locked_read.' . $images_extension . $img_fade;
$images['forum_link'] = $current_template_buttons . 'forum_link.' . $images_extension . $img_fade;
$images['forum_nor_ar'] = $current_template_buttons . 'forum_nor_ar_read.' . $images_extension . $img_fade;
$images['forum_sub_ar'] = $current_template_buttons . 'forum_sub_ar_read.' . $images_extension . $img_fade;[/code]

And change them there!  :mryellow: 

Also in prosilver_ip.cfg is this.

[code linenumbers=false]$buttons_extension = in_array($color, $png_buttons_colors) ? 'png' : 'gif';[/code]

Try swapping 'png' : 'gif' to 'gif' : 'png' so that you possibly don't have to edit the strings.

But you will still need to copy the $images* that you are changing as above etc to the prosilver_ip.cfg

It's also obvious that IP templates don't use image size - so if you want to force image sizes - add them to the above strings.

Great stuff - nested templates - [b]PIGS A***[/b]!


