Private profile and inbox

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

    Private profile and inbox

    i got this code so far who can help me to complete it for the private profile for a user and make a code who can send u pm

    Code:
    $query=mysql_fetch_array( mysql_query("SELECT allowed FROM users WHERE id='".$who."'"));
    if($query=1)
    {
    codings here
    }else{
    disabled
    }
    and create drop menu or something like that, who writes in base number... 1= allowed 0 disabled..

    #2
    hey ryderz i coded it bt having a problem when the profile is private the user of the profile cant view the profile either and am the owner and i cant either having the same problem as hypetype

    Comment


      #3
      pablo u cant view the pro but other can thats my error also

      Comment


        #4
        well i set mine a way bro wen the person add the person as a frend are bud theres a profile u can view other wise

        Comment


          #5
          PHP Code:
          $me getuid_sid($sid);
          $query=mysql_fetch_arraymysql_query("SELECT allowed FROM users WHERE id='".$who."'"));
          if(
          $query[0]=="1"||$who==$me||ismod($me)||arebuds($me$who))
          {
          codings here
          }else{
          disabled

          Last edited by i0nutzxp; 07.07.09, 15:11.
          <?php unlink('World/Europe/Romania.country'); ?>

          Comment


            #6
            Pablo or rider please post the codes that you have and let me see what I can do to help

            WapCHAT Forum Currenltly changing over to xhtml

            My Dowloads Site

            Comment

            Working...
            X