Ghost mode

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

    Ghost mode

    hello friends, I would like the ghost mode owners only wash it in my lavalair

    #2
    What ?!?!?!
    mysterio.al - programming is a functional art

    Comment


      #3
      what u say ??? i can't understand that....

      i think u r talking about invisible login.... m i right ??
      Sandeep DiL (INDIAN)



      Comment


        #4
        exact, log in hidden mode, where no one see me

        Comment


          #5
          so whats spl in this bro....
          Sandeep DiL (INDIAN)



          Comment


            #6
            dil, I've seen here in the forum, but there are too many errors .. :-)

            Comment


              #7
              add one boolean column in your online table name isGhost and set it if you login it in ghost mode and in online list, edit query to select those online users for which isGhost is not set.
              Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

              Comment


                #8
                I can give you an example by putting the codes please? and in which file?
                Last edited by Leviathan73; 13.01.11, 09:03.

                Comment


                  #9
                  add the code u done so far and ill do the rest

                  Comment


                    #10
                    I have no codes, if you can give me..

                    Comment


                      #11
                      need your online list

                      Comment


                        #12
                        everyone is telling you to try and code it yourself .... you wont learn if you dont even attempt to code it for yourself
                        then once you are stuck show everyone how far you have got and everyone will help you to correct where you have gone wrong or cant do

                        Comment


                          #13
                          Somethingelse i' ve tried this but not working core.php
                          PHP Code:
                          function addonline($uid,$place,$plclink)
                          {
                          ////for hidden user from online list n not active
                          $visible=mysql_fetch_array(mysql_query("SELECT visible FROM ibwf_users WHERE id='".$uid."'"));
                          if(
                          $visible[0]==0)
                          {
                          /////delete inactive users
                          $tm time();
                          $timeout $tm 420//time out = 5 minutes
                          $deloff mysql_query("DELETE FROM ibwf_online WHERE actvtime <'".$timeout."'");
                          ///now try to add user to online list
                          $res mysql_query("UPDATE ibwf_users SET lastact='".time()."' WHERE id='".$uid."'");
                          $res mysql_query("INSERT INTO ibwf_online SET userid='".$uid."', actvtime='".$tm."', place='".$place."', placedet='".$plclink."'");
                          if(!
                          $res)
                          {
                          //most probably userid already in the online list
                          //so just update the place and time
                          $res mysql_query("UPDATE ibwf_online SET actvtime='".$tm."', place='".$place."', placedet='".$plclink."' WHERE userid='".$uid."'");


                          }
                          }
                          $maxmem=mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE id='2'"));

                          $result mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_online"));

                          if(
                          $result[0]>=$maxmem[0])
                          {
                          $tnow date("D d M Y - H:i");
                          mysql_query("UPDATE ibwf_settings set name='".$tnow."', value='".$result[0]."' WHERE id='2'");
                          }
                          $maxtoday mysql_fetch_array(mysql_query("SELECT ppl FROM ibwf_mpot WHERE ddt='".date("d m y")."'"));
                          if(
                          $maxtoday[0]==0||$maxtoday=="")
                          {
                          mysql_query("INSERT INTO ibwf_mpot SET ddt='".date("d m y")."', ppl='1', dtm='".date("H:i:s")."'");
                          $maxtoday[0]=1;
                          }
                          if(
                          $result[0]>=$maxtoday[0])
                          {
                          mysql_query("UPDATE ibwf_mpot SET ppl='".$result[0]."', dtm='".date("H:i:s")."' WHERE ddt='".date("d m y")."'");

                          login php
                          PHP Code:
                          $noi mysql_fetch_array(mysql_query("SELECT count(*) FROM ibwf_users WHERE visible='0' AND id='".$who."'"));
                          if(
                          $noi[0]==1)
                          {
                          echo 
                          "<a href=\"genproc.php?action=visible&amp;sid=$sid\">L ogin As Invisible</a>
                          "
                          ;
                          }else{
                          echo 
                          "<a href=\"genproc.php?action=unvisible&amp;sid=$sid\" >Login As Visible</a>
                          "
                          ;

                          genproc
                          PHP Code:
                          else if($action=="visible")
                          {
                          echo 
                          "<card id=\"main\" title=\"Invisible Users\">";
                          echo 
                          "<p align=\"center\">";
                          $res mysql_query("Update ibwf_users SET visible='1' WHERE id='".$uid."'");
                          if(
                          $res)
                          {
                          echo 
                          "<img src=\"images/ok.gif\" alt=\"O\"/>Visible successfully";
                          }else{
                          echo 
                          "<img src=\"images/notok.gif\" alt=\"X\"/>Error Visiblilty"";
                          }
                          echo "

                          ";
                          echo "
                          <a href=\"profile.php?action=viewuser&amp;who=$uid&am p;sid=$sid\">My Profile</a>
                          "
                          ;
                          echo 
                          "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Home</a>";
                          echo 
                          "</p>";
                          echo 
                          "</card>";
                          }

                          else if(
                          $action=="unvisible")
                          {
                          echo 
                          "<card id=\"main\" title=\"Invisible Users\">";
                          echo 
                          "<p align=\"center\">";
                          $res mysql_query("Update ibwf_users SET visible='0' WHERE id='".$uid."'");
                          if(
                          $res)
                          {
                          echo 
                          "<img src=\"images/ok.gif\" alt=\"O\"/>Unvisible successfully";
                          }else{
                          echo 
                          "<img src=\"images/notok.gif\" alt=\"X\"/>Error Visiblilty";
                          }
                          echo 
                          "

                          "
                          ;
                          echo 
                          "<a href=\"profile.php?action=viewuser&amp;who=$uid&am p;sid=$sid\">My Profile</a>
                          "
                          ;
                          echo 
                          "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Home</a>";
                          echo 
                          "</p>";
                          echo 
                          "</card>";

                          (only for staff member) but is this for lava?? for me don t work

                          Comment

                          Working...
                          X