Socialengine map of faces mod

Started on the old forum in October 2009 · view the original in the archive · old links redirect here

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.

7 participants
GumSlone Administrator Principal · 1,690 posts #1

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.

External image (may be gone)

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Attachments: gum_faces.txt
morse Senior · 364 posts #2

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.

tinyurl.com/earnbymobile Easy earning for Indians

Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android goo.gl/6vub3

down16 Junior · 39 posts #3

hey gum, i know loads of socal networking modds, could we make a topic just for mods for it

down16 Junior · 39 posts #5

yher, would be good

sughie Junior · 12 posts #9

syntak error unexpected '{' on line 2 (this function??)

I'm not a programmer i'm just a newbie join us at wapID

koxer Newbie · 1 posts #10

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

GumSlone Administrator Principal · 1,690 posts #11

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

it works with 3.20 version too.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close