Quote:
Originally Posted by SgtTechHead
This is due to the file "all_albums.php" checking for the version of vBulletin. This code in particular:
Code:
if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
{
$album['picturecount'] = vb_number_format($album['picturecount']);
}
else
{
$album['picturecount'] = vb_number_format($album['visible']);
}
I commented the following lines out of that section so that it only uses "vb_number_format($album['visible'])":
Code:
// if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 6', '<'))
// {
// $album['picturecount'] = vb_number_format($album['picturecount']);
// }
// else
// {
$album['picturecount'] = vb_number_format($album['visible']);
// }
I assume the version check was there because the field names were changing from version to version. My fix may not be pretty, but it does work 
|
I came up with a better way. Check my new update in a few min.