How to change perm?

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

    How to change perm?

    how to change owner perm in retrivewap?



    PHP Code:
     if($rperm[1]==1)
        {
          return 
    ismod(getuid_sid($sid));
        }
        if(
    $rperm[1]==2)
        {
          return 
    isadmin(getuid_sid($sid));
        }
         if(
    $rperm[1]==3)
        {
          return 
    isheadadmin(getuid_sid($sid));
        }
        if(
    $rperm[1]==4)
        {
          return 
    isowner(getuid_sid($sid));
        } 
    in core.php from here i can change or ?????
    Last edited by Rekon; 15.05.11, 10:29.
    Girls are like internet domain name, The girls i like are already taken!

    #2
    in database ibwf_users table set perm to 4 to become owner

    Comment


      #3
      sorry, i mean if i want to change owner perm 4 to 8253 then how can i do it?
      Girls are like internet domain name, The girls i like are already taken!

      Comment


        #4
        change column perm int(1) to int(4)
        then update owners perm 4 to 8252

        and lastly change
        PHP Code:
        if($rperm[1]==1)
            {
              return 
        ismod(getuid_sid($sid));
            }
            if(
        $rperm[1]==2)
            {
              return 
        isadmin(getuid_sid($sid));
            }
             if(
        $rperm[1]==3)
            {
              return 
        isheadadmin(getuid_sid($sid));
            }
        //////////////////////////change//////////////
            
        if($rperm[1]==8253)
            {
              return 
        isowner(getuid_sid($sid));
            } 
        PHP Code:
        /* I don't know everything hehe */ 
        Find me on facebook

        Comment


          #5
          thanks ponick
          Girls are like internet domain name, The girls i like are already taken!

          Comment

          Working...
          X