11 replies · 3,291 views · started 17 years ago · 1 min read
TL;DR · summary of 11 replies
koxer wants to know where to upload gum_faces.php and if there is a way to show the map on the home page instead of after user login.
GumSlone confirms that the script works with 3.20 version, but does not provide information about uploading or modifying the location for displaying the map.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
this mod create a large wallpaper image from from photo thumbnails.
open:
include/functions_general.php
add before
?>
this function:
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;
}
rename the attached txt file to php and upload it to your site.
Wow, the support and addons for social engine increases here everyday. Seems it will be the next highly used script. Will now definitely jump into the code. Thanks Gumslone.
this script doesnot work with se 3.20. can you fix that . i want the map to show in the home page and not after user login . can you please help with that
koxer wrote:
this script doesnot work with se 3.20. can you fix that . i want the map to show in the home page and not after user login . can you please help with that