this mod create a large wallpaper image from from photo thumbnails.
open:
include/functions_general.php
add before
this function:
rename the attached txt file to php and upload it to your site.
open:
include/functions_general.php
add before
PHP Code:
?>
PHP Code:
function gum_faces($limit=300,$user_id='')
{
global $setting, $database;
$sql = "SELECT user_id, user_photo FROM se_users WHERE user_verified='1' AND user_enabled='1' AND user_search='1' AND user_photo<>'' AND user_id!='".$user_id."' ORDER BY rand() DESC LIMIT ".intval($limit)."";
$resource = $database->database_query($sql);
$faces = array();
while( $user_info = $database->database_fetch_assoc($resource) )
{
$faces[] = $user_info;
}
return $faces;
}

Comment