Hi,
I need to reduce the queries on the album pages, i though i could remove the information like "last added" and also how many pictures each album has.
I need to modify this 4x in index.php : $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']}, {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");
When i modify it index wont load so im guessing i do something terribly wrong, can someone hepl me?
Modifying that won't reduce the number of queries. The stats are still calculated even if you don't display them.
really? how deep do i have to dig to remove the queries fully?
Sorry to double post.
On a cosmetic level, how do i modify the code in my original post to not generate the display of the album information?
$alb_list[$alb_idx]['album_info'] = '';