Socialengine map of faces mod

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Socialengine map of faces mod

    this mod create a large wallpaper image from from photo thumbnails.

    open:
    include/functions_general.php
    add before
    PHP Code:
    ?> 
    this function:
    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;

    rename the attached txt file to php and upload it to your site.

    Attached Files
    Advertise your mobile site for FREE with AdTwirl


    #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

    Comment


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

      Comment


        #4
        Originally posted by down16 View Post
        hey gum, i know loads of socal networking modds, could we make a topic just for mods for it
        A subforum ?
        Advertise your mobile site for FREE with AdTwirl

        Comment


          #5
          yher, would be good

          Comment


            #6
            .. i think he's wants thread like this http://coding-talk.com/f14/lavalair-mods-2253/
            .. for Social Engine mods
            Did I help you?
            You can help me too
            Your donations will help me finance my studies.

            Comment


              #7
              http://secret-destiny.biz/chillout/gum_faces.php, i get errror

              Parse error: syntax error, unexpected '?' in /home/secret/public_html/chillout/gum_faces.php on line 38

              Comment


                #8
                download the gum_faces.txt rename it to php.
                Advertise your mobile site for FREE with AdTwirl

                Comment


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

                  Comment


                    #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

                    Comment


                      #11
                      Originally posted by koxer View Post
                      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

                      Comment


                        #12
                        In which folder do i upload gum_faces.php ?
                        libra.wen.ru

                        Comment

                        Working...
                        X