User Bot

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

    User Bot

    Hi friends, any1 have the code 4 add 1 user (Bot) allways online at wapdesire script?
    tnks 4 help
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    You can try to make something like this:

    Add in ibwf_users table one row called online_from and make this row like lastact row

    Add this line in login.php:
    Code:
    mysql_query("UPDATE ibwf_users SET online_from='".time()."' WHERE id='".$who."'");
    after mysql_query UPDATE user logins data

    And on profiles if you have function time for iddle on core.php put this code:

    Code:
    if(isonline($who))
    {
    $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, online_from FROM ibwf_users WHERE id='".$who."'"));
    $sage = time()-$regd[2];
    $rwage = gettimemsg($sage);
    $lastact = time()-$regd[2];
    $days=0;
    $mins=0;
    $hours=0;
    if ($lastact>60)
    {
    $secs=$lastact%60;
    $mins=$lastact/60;
    $mins=(integer)$mins;
    }
    if ($mins>60)
    {
    $hours=$mins/60;
    $hours=(integer)$hours;
    $mins=$mins%60;
    }
    if ($hours>24)
    {
    $days=$hours/24;
    $days=(integer)$days;
    $hours=$hours%24;
    }
    echo "Online from: ";
    if($days>0)
    {
    echo "[b]$days[/b] days, [b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
    }
    if($days<1)
    {
    if($hours>0)
    {
    echo "[b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
    }
    if($hours<1)
    {
    echo "[b]$mins[/b] minutes, [b]$secs[/b] secs";
    }
    }
    echo "
    ";
    I Think you want another type of code :D
    I read your post verry quick :D

    Comment


      #3
      <div class='quotetop'>QUOTE (wolf77ar @ Dec 30 2008, 02:12 PM) <{POST_SNAPBACK}></div>
      You can try to make something like this:

      Add in ibwf_users table one row called online_from and make this row like lastact row

      Add this line in login.php:
      Code:
      mysql_query("UPDATE ibwf_users SET online_from=&#39;".time()."&#39; WHERE id=&#39;".$who."&#39;");
      after mysql_query UPDATE user logins data

      And on profiles if you have function time for iddle on core.php put this code:

      Code:
      if(isonline($who))
      {
      $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, online_from FROM ibwf_users WHERE id=&#39;".$who."&#39;"));
      $sage = time()-$regd[2];
      $rwage = gettimemsg($sage);
      $lastact = time()-$regd[2];
      $days=0;
      $mins=0;
      $hours=0;
      if ($lastact>60)
      {
      $secs=$lastact%60;
      $mins=$lastact/60;
      $mins=(integer)$mins;
      }
      if ($mins>60)
      {
      $hours=$mins/60;
      $hours=(integer)$hours;
      $mins=$mins%60;
      }
      if ($hours>24)
      {
      $days=$hours/24;
      $days=(integer)$days;
      $hours=$hours%24;
      }
      echo "Online from: ";
      if($days>0)
      {
      echo "[b]$days[/b] days, [b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
      }
      if($days<1)
      {
      if($hours>0)
      {
      echo "[b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
      }
      if($hours<1)
      {
      echo "[b]$mins[/b] minutes, [b]$secs[/b] secs";
      }
      }
      echo "
      ";
      I Think you want another type of code :D
      I read your post verry quick :D[/b]
      wolfy tnkx..(tu cati ai pe comunity 100 lol varza sunteti) bro

      Comment


        #4
        I think user allways online on index page...like lavagirl on lavalair chat and spiderbabe on spiderwap chat simple bot ... but allways online
        if like my post click:

        http://coding-talk.com/images/totall...ost_thanks.gif

        Comment


          #5
          <div class='quotetop'>QUOTE (wolf77ar @ Dec 30 2008, 02:12 PM) <{POST_SNAPBACK}></div>
          You can try to make something like this:

          Add in ibwf_users table one row called online_from and make this row like lastact row

          Add this line in login.php:
          Code:
          mysql_query("UPDATE ibwf_users SET online_from=&#39;".time()."&#39; WHERE id=&#39;".$who."&#39;");
          after mysql_query UPDATE user logins data

          And on profiles if you have function time for iddle on core.php put this code:

          Code:
          if(isonline($who))
          {
          $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, online_from FROM ibwf_users WHERE id=&#39;".$who."&#39;"));
          $sage = time()-$regd[2];
          $rwage = gettimemsg($sage);
          $lastact = time()-$regd[2];
          $days=0;
          $mins=0;
          $hours=0;
          if ($lastact>60)
          {
          $secs=$lastact%60;
          $mins=$lastact/60;
          $mins=(integer)$mins;
          }
          if ($mins>60)
          {
          $hours=$mins/60;
          $hours=(integer)$hours;
          $mins=$mins%60;
          }
          if ($hours>24)
          {
          $days=$hours/24;
          $days=(integer)$days;
          $hours=$hours%24;
          }
          echo "Online from: ";
          if($days>0)
          {
          echo "[b]$days[/b] days, [b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
          }
          if($days<1)
          {
          if($hours>0)
          {
          echo "[b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
          }
          if($hours<1)
          {
          echo "[b]$mins[/b] minutes, [b]$secs[/b] secs";
          }
          }
          echo "
          ";
          I Think you want another type of code :D
          I read your post verry quick :D[/b]
          lol what for what

          Comment


            #6
            What should I put in core.php ,because this thing don&#39;t work right?

            Comment


              #7
              <div class='quotetop'>QUOTE (rukiya @ Dec 30 2008, 10:12 PM) <{POST_SNAPBACK}></div>
              lol what for what[/b]
              check this site and you understand: http://www.bestwap.ro 10000000000000000000000 online 24h a day lol http://www.bestwap.ro/meniu :D
              www.inbuzunar.mobi - Your mobile portal pocket

              Comment


                #8
                ask spiderwap lol

                Comment


                  #9
                  *******************************
                  whatmp3.name - search mp3 on mobile

                  Comment


                    #10
                    <div class='quotetop'>QUOTE (kiss @ Jan 1 2009, 12:08 PM) <{POST_SNAPBACK}></div>
                    check this site and you understand: http://www.bestwap.ro 10000000000000000000000 online 24h a day lol http://www.bestwap.ro/meniu :D[/b]
                    Good. But the code posted here is not the right one that is wanted.

                    I made this mod here

                    http://forum.celladda.com

                    and the bot name is urmi

                    Comment


                      #11
                      fake make !!

                      Comment

                      Working...
                      X