stop the profile slideshow?

ryandmartin posted 1st of May 2008 in Community Voice. 4 comments.
does anyone know how to stop the profile photo from doing a slideshow through the multiple photos?  my primary concern is that, when there is only one photo, the profile photo pulses (the photo disappears and then reappears).

you can see what i mean on one of the profiles at www.ifamilylink.com
 
Comments
·Oldest
·Top
Please login to post a comment.
MichelSwiss
IMHO this will be much better to apply such diaporama effect to thumbnails in some pages or blocks than in this Profile Photo block...
AndreyP
This is new feature in 6.1 (I hope that you like this) - and you can enable/disable it in admin -> Advanced Settings -> New Gallery Feature for Profile Photos
ryandmartin
i like it... if the member has more than 1 picture. with 1 picture, it pulses, and doesn't look very good.

i've tried to figure out a way to only have the slideshow run if the member has more than 1 picture, but i gave up and just turned the whole thing off.
mortuarie
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 :)

---------------------------------------------------------------------------------------

Edit the file below :

profilePhotos.php



------------------------ START MODIFICATION------------------------------------------------

Find :

$sFeature = '';
if ($bUseFeature) {

Replace it with :

$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!
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.054179906845093