Buddies list error (waplive script)

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

    Buddies list error (waplive script)

    PHP Code:
    
    echo "<td class=\"boxedContent\">";
    
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
    echo "<a href=\"profile.php?action=main&amp;who=$who\">View Profile</a><br/>";
    
    if(cansee(getuid_sid($sid), $who))
    
    
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
      echo "<a href=\"inbox.php?action=sendpm&amp;who=$who\">Send Message</a><br/>";
    
    
      $uid = getuid_sid($sid);
    
      if(budres($uid, $who)==0)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=bud&amp;who=$who&amp;todo=add\">Add to buddy list</a><br/>";
    
      }else if(budres($uid, $who)==1)
    
      {
    
        echo "Queued Buddy Requests<br/>";
    
      }else if(budres($uid, $who)==2)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=bud&amp;who=$who&amp;todo=del\">Remove From buddy list</a><br/>";
    
      }
    
      $ires = ignoreres($uid, $who);
    
      if(es==2)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=ign&amp;who=$who&amp;todo=del\">Remove From Ignore list</a><br/>";
    
      }else if($ires==1)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=ign&amp;who=$who&amp;todo=add\">Add to Ignore list</a><br/>";
    
      }
    echo "<br/>";
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
      echo "<a href=\"userfun.php?action=profile&amp;who=$who\">Fun And Games</a><br/>";
    
    ////////////////////////////////////////
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    
    
    
    
      }
    
    
    
    
    
    } 
    
    this is the part in index.php?action=viewuser .. if you need more files tell me to add.
    Last edited by djdevil89; 11.10.09, 22:40.
    http://www.youtube.com/watch?v=vsLkpcFKbOk

    #2
    Originally posted by rap-4ever View Post
    PHP Code:
    
    echo "<td class=\"boxedContent\">";
    
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
    echo "<a href=\"profile.php?action=main&amp;who=$who\">View Profile</a><br/>";
    
    if(cansee(getuid_sid($sid), $who))
    
    
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
      echo "<a href=\"inbox.php?action=sendpm&amp;who=$who\">Send Message</a><br/>";
    
    
      $uid = getuid_sid($sid);
    
      if(budres($uid, $who)==0)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=bud&amp;who=$who&amp;todo=add\">Add to buddy list</a><br/>";
    
      }else if(budres($uid, $who)==1)
    
      {
    
        echo "Queued Buddy Requests<br/>";
    
      }else if(budres($uid, $who)==2)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=bud&amp;who=$who&amp;todo=del\">Remove From buddy list</a><br/>";
    
      }
    
      $ires = ignoreres($uid, $who);
    
      if(es==2)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=ign&amp;who=$who&amp;todo=del\">Remove From Ignore list</a><br/>";
    
      }else if($ires==1)
    
      {
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
        echo "<a href=\"genproc.php?action=ign&amp;who=$who&amp;todo=add\">Add to Ignore list</a><br/>";
    
      }
    echo "<br/>";
      echo "<img class=\"bullet\" alt=\">\" src=\"themes/bullet1.gif\" align=\"middle\">";
      echo "<a href=\"userfun.php?action=profile&amp;who=$who\">Fun And Games</a><br/>";
    
    ////////////////////////////////////////
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    
    
    
    
      }
    
    
    
    
    
    } 
    
    this is the part in index.php?action=viewuser .. if you need more files tell me to add.
    You need to tell what problem you got if you want us to help

    PHP Code:
    foreach ($_SERVER as $server => $value)
    {
    echo "$server is $value<br />";
    } 
    

    Comment


      #3
      i can`t see option add to buudy,when i see profile of user..
      http://www.youtube.com/watch?v=vsLkpcFKbOk

      Comment


        #4
        pls help me
        http://www.youtube.com/watch?v=vsLkpcFKbOk

        Comment


          #5


          this is my problem..
          http://www.youtube.com/watch?v=vsLkpcFKbOk

          Comment


            #6
            i will need to log on to your server to see the eroor code that it gives you and then ill be able to log the error en fix it

            Comment


              #7
              can i gve you this script,you upload and fix?
              http://www.youtube.com/watch?v=vsLkpcFKbOk

              Comment


                #8
                I think i m having the same problem wit rap4eva..pls help

                Comment


                  #9
                  Hw do u intend fixing it shower

                  Comment


                    #10
                    Just give me the whole script and i can repair it for you my email is jacques@dreamhosting.co.za

                    Comment

                    Working...
                    X