Does anyone knows were the location of the forum_nor_ar_read.gif in prosilver_ip is please?
I want to change the images to png and set the size.
In Prosilver_ip, Forum_nor_ar_read.gif Images Location
Subject: Re: In Prosilver_ip, Forum_nor_ar_read.gif Images Location
They're in templates/default/default.cfg :mryellow:
Subject: Re: In Prosilver_ip, Forum_nor_ar_read.gif Images Location
Hya mate, yeh I did look in there but it doesn't show the file format of the images i.e. gif so I can change them to png?
// Forums icons
/*
$forums_images_names = array('forum_nor_read', 'forum_nor_unread', 'forum_nor_locked_read', 'forum_nor_locked_unread', 'forum_sub_read', 'forum_sub_unread', 'forum_sub_locked_read', 'forum_sub_locked_unread', 'forum_link', 'forum_nor_ar', 'forum_sub_ar');
$forums_images = array('forum_nor_read', 'forum_nor_unread', 'forum_nor_locked_read', 'forum_nor_locked_read', 'forum_sub_read', 'forum_sub_unread', 'forum_nor_locked_read', 'forum_nor_locked_read', 'forum_link', 'forum_nor_ar_read', 'forum_sub_ar_read');
for ($l = 0; $l < count($forums_images_names); $l++)
{
$images[$forums_images_names[$l]] = $current_template_buttons . $forums_images[$l] . '.' . $images_extension . $img_fade;
}
unset($forums_images_names);
unset($forums_images);
*/
$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;
/*
$forums_images_names = array('forum_nor_read', 'forum_nor_unread', 'forum_nor_locked_read', 'forum_nor_locked_unread', 'forum_sub_read', 'forum_sub_unread', 'forum_sub_locked_read', 'forum_sub_locked_unread', 'forum_link', 'forum_nor_ar', 'forum_sub_ar');
$forums_images = array('forum_nor_read', 'forum_nor_unread', 'forum_nor_locked_read', 'forum_nor_locked_read', 'forum_sub_read', 'forum_sub_unread', 'forum_nor_locked_read', 'forum_nor_locked_read', 'forum_link', 'forum_nor_ar_read', 'forum_sub_ar_read');
for ($l = 0; $l < count($forums_images_names); $l++)
{
$images[$forums_images_names[$l]] = $current_template_buttons . $forums_images[$l] . '.' . $images_extension . $img_fade;
}
unset($forums_images_names);
unset($forums_images);
*/
$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;
Subject: Re: In Prosilver_ip, Forum_nor_ar_read.gif Images Location
Example:
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:
And change them there! :mryellow:
Also in prosilver_ip.cfg is this.
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 - PIGS A***!
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;
$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;
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:
$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;
$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;
And change them there! :mryellow:
Also in prosilver_ip.cfg is this.
$buttons_extension = in_array($color, $png_buttons_colors) ? 'png' : 'gif';
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 - PIGS A***!
Subject: Re: In Prosilver_ip, Forum_nor_ar_read.gif Images Location
Ill leave it LOL, I'm used to using Integramod and thought it had the same kind of setup.
The image size isn't a problem as you say no size values are set, I just find PNG images far better for transparent images and wanted to make my own.
Thanks for the help 8)
The image size isn't a problem as you say no size values are set, I just find PNG images far better for transparent images and wanted to make my own.
Thanks for the help 8)
Subject: Re: In Prosilver_ip, Forum_nor_ar_read.gif Images Location
Aw Shucks!
Didn't mean to scare you off from doing it - - :mryellow:
Gif's are better anyway because they load a lot faster, and IE doesn't have a problem caching them like it does with .png.
:P
Didn't mean to scare you off from doing it - - :mryellow:
Gif's are better anyway because they load a lot faster, and IE doesn't have a problem caching them like it does with .png.
:P
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.086s (PHP: 21% SQL: 79%)
SQL queries: 10 - Debug Off - GZIP Enabled