You can add the following code in addition to the code in the last post to make the albums used on the galleryStats.php page availible on the front page. You add them to the front page the same way you would any other meta album ex: topn,2/mostcom,2/mostvot,2
index.php
Find:
case 'anycontent':
Replace With:
case 'mostcom':
display_thumbnails('mostcom', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostvot':
display_thumbnails('mostvot', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostcomusr':
display_thumbnails('mostcomusr', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostvotusr':
display_thumbnails('mostvotusr', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostvieusr':
display_thumbnails('mostvieusr', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'topcom':
display_thumbnails('topcom', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostcomalb':
display_thumbnails('mostcomalb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostvotalb':
display_thumbnails('mostvotalb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'mostviealb':
display_thumbnails('mostviealb', $cat, 1, $CONFIG['thumbcols'], max(1, $matches[2]), false);
flush();
break;
case 'anycontent':
You can also add links in your gallery sub menu to the albums.
<a href="/thumbnails.php?album=exampleAlbum">Example Link</a>