Poke User

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

    Poke User

    Here are a code where u can poke ur friends
    index.php?action=viewuser
    Code:
     $whonick = getnick_uid($who);
      $uid = getuid_hits($hits);
      if(budres($uid, $who)==2)
      {
      echo "<img src=\"images/pokes.png\" alt=\"*\"/> <a href=\"genproc.php?show=poke&amp;who=$who&amp;hits=$hits\">Poke $whonick</a><br/>";
     }
    genproc.php
    Code:
    //////////////////////////////////////////////////////////////////
     else if($show=="poke")
    {
    $theme = mysql_fetch_array(mysql_query("SELECT theme2 FROM ibwf_users WHERE id='".$uid."'"));
     echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/$theme[0]\">";
    addonline(getuid_sid($sid),"Inbox","");
        $who = $_GET["who"];
      addonline(getuid_hits($hits),"Poke Friends","");
             
          $uid = getuid_hits($hits);
      if(budres($uid, $who)==2)
      {
         $sub = "Poke Alert!";
    	$msg = "-haha- Your Got Poke From Your Friends ".getnick_uid($uid).", Click [poke=$uid]Here[/poke] To Revange ".getnick_uid($uid)." Back .haha.";
    		autopm($msg, $who, $sub);
    
            echo "<img src=\"images/ok.gif\" alt=\"O\"/>User Poke Successfully";
          }else{
            echo "<img src=\"images/notok.gif\" alt=\"X\"/>Error Send Poke";
          }
              echo "</div>";
    echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
            echo "</p>";
      echo xhtmlfoot();
       exit();
        }
    core.php
    Code:
    function getuage_hits($hits)
    
    {
    
      $uid = getuid_hits($hits);
    
      $uage = mysql_fetch_array(mysql_query("SELECT birthday FROM mx_users WHERE id='".$uid."'"));
    
      return getage($uage[0]);
    
    }
    
    function getnick_hits($hits)
    
    {
    
      $uid = mysql_fetch_array(mysql_query("SELECT uid FROM mx_ses WHERE id='".$hits."'"));
    
      $uid = $uid[0];
    
      return getnick_uid($uid);
    
    }
    
    function getuid_hits($hits)
    
    {
    
      $uid = mysql_fetch_array(mysql_query("SELECT uid FROM mx_ses WHERE id='".$hits."'"));
    
      $uid = $uid[0];
    
      return $uid;
    
    }
    ________________
    Jacques
    jacques@gw-designs.co.za
    http://coding.biz.tm
    Come join and lets make it a place to learn all the noobies how to code
    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

    #2
    Look like from my mod m8... Enjoy this easier mod ok............
    sigpic
    Visit my WEBSITE Project: http://www.aspirewap.net

    Comment


      #3
      but why must have link rel on genproc?? why not getcss or css.inc.php ??

      Comment


        #4
        Originally posted by che_pida View Post
        but why must have link rel on genproc?? why not getcss or css.inc.php ??
        its becse, they change it.. Hehe.. Only there they change. Not table, func and so on.
        sigpic
        Visit my WEBSITE Project: http://www.aspirewap.net

        Comment


          #5
          y its nt show in profile

          Comment


            #6
            session expired!!!!!!! not working bro riderz

            Comment


              #7
              Originally posted by riderz View Post
              Here are a code where u can poke ur friends
              index.php?action=viewuser
              Code:
               $whonick = getnick_uid($who);
                $uid = getuid_hits($hits);
                if(budres($uid, $who)==2)
                {
                echo "<img src=\"http://coding-talk.com/images/pokes.png\" alt=\"*\"/> <a href=\"genproc.php?show=poke&amp;who=$who&amp;hits=$hits\">Poke $whonick</a><br/>";
               }
              genproc.php
              Code:
              //////////////////////////////////////////////////////////////////
               else if($show=="poke")
              {
              $theme = mysql_fetch_array(mysql_query("SELECT theme2 FROM ibwf_users WHERE id='".$uid."'"));
               echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/$theme[0]\">";
              addonline(getuid_sid($sid),"Inbox","");
                  $who = $_GET["who"];
                addonline(getuid_hits($hits),"Poke Friends","");
                       
                    $uid = getuid_hits($hits);
                if(budres($uid, $who)==2)
                {
                   $sub = "Poke Alert!";
              	$msg = "-haha- Your Got Poke From Your Friends ".getnick_uid($uid).", Click [poke=$uid]Here[/poke] To Revange ".getnick_uid($uid)." Back .haha.";
              		autopm($msg, $who, $sub);
              
                      echo "<img src=\"http://coding-talk.com/images/ok.gif\" alt=\"O\"/>User Poke Successfully";
                    }else{
                      echo "<img src=\"http://coding-talk.com/images/notok.gif\" alt=\"X\"/>Error Send Poke";
                    }
                        echo "</div>";
              echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"http://coding-talk.com/images/home.gif\" alt=\"*\"/>Home</a>";
                      echo "</p>";
                echo xhtmlfoot();
                 exit();
                  }
              core.php
              Code:
              function getuage_hits($hits)
              
              {
              
                $uid = getuid_hits($hits);
              
                $uage = mysql_fetch_array(mysql_query("SELECT birthday FROM mx_users WHERE id='".$uid."'"));
              
                return getage($uage[0]);
              
              }
              
              function getnick_hits($hits)
              
              {
              
                $uid = mysql_fetch_array(mysql_query("SELECT uid FROM mx_ses WHERE id='".$hits."'"));
              
                $uid = $uid[0];
              
                return getnick_uid($uid);
              
              }
              
              function getuid_hits($hits)
              
              {
              
                $uid = mysql_fetch_array(mysql_query("SELECT uid FROM mx_ses WHERE id='".$hits."'"));
              
                $uid = $uid[0];
              
                return $uid;
              
              }
              100% not working!
              LESS TALK. LESS MISTAKE.

              HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!

              Comment


                #8
                go to RetriveWap and then check in the user profile add rider as buddy ill accept u then u can see its working 100% just need to modify it to work acordinly to ur script ive done some editing on the codes until it worked
                ________________
                Jacques
                jacques@gw-designs.co.za
                http://coding.biz.tm
                Come join and lets make it a place to learn all the noobies how to code
                __________________

                NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

                Comment


                  #9
                  Okay let me see!

                  Added after 5 minutes:

                  Yeah, great! it's working! but what's the problem on my installation in my site?
                  Last edited by robzky; 03.08.10, 15:14.
                  LESS TALK. LESS MISTAKE.

                  HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!

                  Comment


                    #10
                    yea with this code u can make more codes out ive also made a future where friends can make out with their friends

                    well u must go thru the code dnt copy and paste ull see where ur error are then ull get it fixed like the action not there and sid not there so rename that
                    Last edited by riderz; 03.08.10, 15:17.
                    ________________
                    Jacques
                    jacques@gw-designs.co.za
                    http://coding.biz.tm
                    Come join and lets make it a place to learn all the noobies how to code
                    __________________

                    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

                    Comment


                      #11
                      yeah, i see it! but when i click the POKE!
                      Message prompt "I don't know how did you get into here, but there's nothing to show"

                      Added after 11 minutes:

                      I'm Done! Poke is now working on my site! thanks for this code! ))

                      Added after 3 minutes:

                      New Problem.. the message wAs not sent on the user i POKE!
                      Last edited by robzky; 03.08.10, 15:35.
                      LESS TALK. LESS MISTAKE.

                      HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!

                      Comment


                        #12
                        this is way too easy to code...anyone wants this coding let me know...i'll post it

                        Comment


                          #13
                          ok clown ... Then POST it !!
                          Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                          Visit: WapMasterz Coming Back Soon!
                          _______
                          SCRIPTS FOR SALE BY SUBZERO
                          Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                          FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                          _______
                          Info & Tips
                          php.net
                          w3schools.com

                          Comment


                            #14
                            a wah happen to da suck pussy bwoy yah...yute **** off......

                            Comment


                              #15
                              first warning..

                              1. This is a sharing site if you have this coding to share do so..
                              2. No mater what !!

                              first warning is

                              Never speck to a admin like this. next time will end your time here as a leecher...
                              Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                              Visit: WapMasterz Coming Back Soon!
                              _______
                              SCRIPTS FOR SALE BY SUBZERO
                              Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                              FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                              _______
                              Info & Tips
                              php.net
                              w3schools.com

                              Comment

                              Working...
                              X