I Did not make this mod I just Found it. Credits are below and it works just fine on my site. If there is only 1 pic it doesn't rotate but if there is more than one it does. Works on 6.1
IMPORTANT !!!!!!!
Always backup your files before installing any mod.
This is a fix for the problem of a single profile image slideshowing with itself and looking silly.
I know it's a hack and should be far more cleanly integrated within the code directly below BUT this is a far simpler hack to inject see more by people of all abilities and it works so I my opinion was the best solution outside of a core boonex fix - which we all hope comes soon :)
$sFeature = '';
//<!-- start slideshow only for multiple profile images-->
if ($bUseFeature) {
$test = 0;
for( $i = 0; $i < $this -> aMediaConfig['max']['photo']; $i++ ) {
$sIconSrc = $this -> sMediaDir . 'photo_' . $this -> aMedia[$i]['med_file'];
if( extFileExists( $sIconSrc ) ) {
$test++;
}
}
if ($test > 1){
$bUseFeature = true;
}
else {
$bUseFeature = false;
}
}
//<!-- end slideshow only for multiple profile images -->
if ($bUseFeature) {
------------------------ END MODIFICATION------------------------------------------------
If you have any issues please contact me immediately at dolphin@thesugarbook.com
If you are a wsinger please join theSugarbook.com then spread the word - It's FREE for every feature, for LIFE!
IMPORTANT !!!!!!!
Always backup your files before installing any mod.
This is a fix for the problem of a single profile image slideshowing with itself and looking silly.
I know it's a hack and should be far more cleanly integrated within the code directly below BUT this is a far simpler hack to inject see more