private profile

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

    private profile

    Help me pls. I d0nt know the code how to disabled the private profile in profile, im using retrivewap script can anybody give me a code how to disabled or index so i can upload on my cpanel, tnx a lot

    #2
    when u set it to 1 ( true) its private make the same action( for set private profile) and change the value inserted :P for example : tipe_private .. if the no. from there is bigger than 0 its private else if its 0 its not a private profile;)
    <?php unlink('World/Europe/Romania.country'); ?>

    Comment


      #3
      search it here
      com site: http://vampist.net
      download site: http://wapdloads.net
      fb: http://www.facebook.com/pmplx

      Comment


        #4
        yeah Google it

        Comment


          #5
          nope the problem is the code in my index.php the code for private profile is there, and i d0nt kn0w h0w to disabled it. . Tnx, yes im a noob. . .

          Comment


            #6
            a little code for lazy boys
            PHP Code:

            if(isset($_GET['en'])){ $mode 1$msg "Your profile is now private to users"; }else{ $mode 0$msg "Your profile is now public to users"; }
              
            $res mysql_query("UPDATE ibwf_users SET viewprofile='".$mode."' WHERE id='".getuid_sid($sid)."'");
              if(
            $res
                 echo 
            "$msg<br/>";
                    else
                 echo 
            "The database doesnt work!<br/>";
              
            //usage
            if($row['viewprofile']==0)
            echo 
            "<a href=\"file_name.php?action=action_name&amp;en&amp;sid=$sid\">Make profile private</a><br/>";
            else
            echo 
            "<a href=\"file_name.php?action=action_name&amp;dis&amp;sid=$sid\">Make profile public</a><br/>"
            Last edited by i0nutzxp; 18.03.10, 05:28.
            <?php unlink('World/Europe/Romania.country'); ?>

            Comment


              #7
              Thanks bro riderz..your the master of your own master piece.. Keep it,thanks, ill w8 the new and all new updated retrivewap script. . .

              Comment

              Working...
              X