last photos to random photos
Hello again! Can anyone tell me how to set the photos on the front page to always appear as Random and not as Last? I'd like that everytime someone opens the page there would be different photos, not always the last uploaded photos. How can I change that?
Change Profile Photo to Random:
Go to /templates/tmpl_uni/scripts/index.php
And find what is bellow here inside function:
function PageCompTopPhotosContent( $sCaption )
if ( $_GET['Mode_p'] == 'rand' or
$_GET['Mode_p'] == 'last' or
$_GET['Mode_p'] == 'top' )
$mode = $_GET['Mode_p'];
else
$mode = 'last';
Chang $mode = 'last';
To $mode = 'rand';
Change Photo Gallery to Random:
Go see more
thanks thanks!!
now only I need put pictures on backgroud in profiles.