Member Status

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

    Member Status

    i hope im at rite thread lolz, i forgot whr i can find option to change member statuses, i got bored wif old names n now i wanna put new ones bt whr must i go in myadmin? i have normal wml rw script combineed wif fm xhtml...

    #2
    heyya revy hehe im a newbie here too even i would like to learn how to do that hehehehehe
    eh but let me giv it a try in myadmin select ibfw_users then select ID then click on browse then u see the lists of users names and beside their names u will see a pen icon click on it and then u will see all the options do what all u wanna do and then press go and its done

    i dnt knw if im right since im a newbie lets see if i was hehehe

    Comment


      #3
      so if he got sum 1000 users he will have alot of work 2 change all statuses lol....

      an easiest way is 2 open the core.php file and change it there....


      search this function getstatus($uid)
      sigpiceeeeerrr....

      Comment


        #4
        pmpl pmpl miluuuuuuuuuu, u also ere? n u also a noob? lmfao, look bro i knw wht ur telln me bt i want to change all member statuses, u knw whn u enter rw user cpanel u c da option status n thr i have ths realm dancer, realm freak n that crap, i want to change tht man! plz gimme a tip whr i find tht... lolz man tht was a surprize, too c u ere

        Comment


          #5
          Code:
          function getstatus($uid)
          {
            $info= mysql_fetch_array(mysql_query("SELECT perm, plusses FROM ibwf_users WHERE id='".$uid."'"));
            if(isbanned($uid))
            {
              return "BANNED!";
            }
            if($info[0]=='2')
            {
              return "Administrator!";
            }else if($info[0]=='1')
            {
              return "Moderator!";
            }else{
              if($info[1]<10)
              {
                return "N00b";
              }else if($info[1]<25)
              {
                  return "SpaRkl3";
              }else if($info[1]<50)
              {
                  return "flaR3";
              }else if($info[1]<75)
              {
                  return "flaM3";
              }else if($info[1]<250)
              {
                  return "buRst";
              }else if($info[1]<500)
              {
                  return "ViTa1";
              }else if($info[1]<750)
              {
                  return "Lava unplugged";
              }else if($info[1]<1000)
              {
                  return "GuRu";
              }else if($info[1]<1500)
              {
                  return "V.I.P";
              }else if($info[1]<2000)
              {
                  return "FaNatic";
              }else if($info[1]<2500)
              {
                  return "Lava KNight";
              }else if($info[1]<3000)
              {
                  return "VeteRaN";
              }else if($info[1]<4000)
              {
                  return "Lava eXpelleR";
              }else if($info[1]<5000)
              {
                  return "MasteR";
              }else if($info[1]<10000)
              {
                  return "ic0N";
              }else 
              {
                  return "Lava volcaNo";
              }
            }
          }
          thats what you need to change and all that is on core.php

          Comment


            #6
            i thought i just said tht ... i gues he didnt saw it lol
            sigpiceeeeerrr....

            Comment


              #7
              its in the core.php file on the script

              Comment


                #8
                yes yes revy im a noob im also tryn to learn but ill teach u too wht all i av learned hehe go to ur site folder usin ur ftp then look for the file core right click on it then look for edit then u click on it and then file shoutd open on notepad after that scroll down and search where u see all those statuses name once u find em u chenge it and then control s then close the file and then upload it u will see that option once u close the core file

                Comment


                  #9
                  tahnx guys now i guess its up to me ne? lolz, milu dnt worry ill try it first at galaxy...

                  Comment


                    #10
                    I MADE MY OWN STATUS BY USING THIS CODE

                    //////////OWNER STATUS//////////
                    if($uid==&#39;1&#39;)
                    {
                    return "°HT*Owner°<img src=\"smilies/king.gif\" alt=\"*\"/>";
                    }

                    Comment


                      #11
                      please... give code status member view from online list hehehe...



                      Comment


                        #12
                        reza heres online list with status:

                        <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>else if($action=="online")
                        {

                        addonline(getuid_sid($sid),"Online List","index.php?action=online");
                        echo "<head>";
                        echo "<title>Online List</title>";
                        echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
                        echo "</head>";
                        echo "<body>";
                        //echo "<div><img src=\"../images/onlinelist.gif\" alt=\"Online List\"/></div>";
                        echo popup($sid);
                        //////ALL LISTS SCRIPT <<

                        if($page=="" || $page<=0)$page=1;
                        $num_items = getnumonline(); //changable
                        $items_per_page= 10;
                        $num_pages = ceil($num_items/$items_per_page);
                        if($page>$num_pages)$page= $num_pages;
                        $limit_start = ($page-1)*$items_per_page;

                        //changable sql
                        $sql = "SELECT
                        a.name,a.perm, b.place, b.userid FROM ibwf_users a
                        INNER JOIN ibwf_online b ON a.id = b.userid
                        GROUP BY 1,2
                        LIMIT $limit_start, $items_per_page
                        ";
                        echo "<p align=\"center\">";
                        $items = mysql_query($sql);
                        echo mysql_error();
                        while ($item = mysql_fetch_array($items))
                        {
                        if($item[1]==&#39;0&#39;)
                        {
                        $tit = "";
                        }if($item[1]==&#39;1&#39;)
                        {
                        $tit = "*";
                        }if($item[1]==&#39;2&#39;)
                        {
                        $tit = "*";
                        } if($item[1]==&#39;3&#39;)
                        {
                        $tit = "*";
                        } if($item[1]==&#39;4&#39;)
                        {
                        $tit = "*";
                        }
                        $status = getstatus($item[3]);
                        $sex = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE name=&#39;$item[0]&#39;"));
                        if($sex[0]=="M"){$usersex = "<img src=\"../images/male.gif\" alt=\"(M)\"/>";}
                        if($sex[0]=="F"){$usersex = "<img src=\"../images/female.gif\" alt=\"(F)\"/>";}
                        if($sex[0]==""){$usersex = "";}
                        if($item[1]>&#39;0&#39;)
                        {
                        $lnk = "$usersex<a href=\"index.php?action=viewuser&amp;who=$item[3]&amp;sid=$sid\">$tit$item[0]$tit</a>";
                        }else{
                        $lnk = "$usersex<a href=\"index.php?action=viewuser&amp;who=$item[3]&amp;sid=$sid\">$tit$item[0]$tit</a>";
                        }
                        echo "$lnk - $item[2] - $status
                        ";
                        }
                        //echo "</p>";
                        //echo "<p align=\"center\">";
                        if($page>1)
                        {
                        $ppage = $page-1;
                        echo "<a href=\"index.php?action=online&amp;page=$ppage&amp ;sid=$sid\">«Prev</a> ";
                        }
                        if($page<$num_pages)
                        {
                        $npage = $page+1;
                        echo "<a href=\"index.php?action=online&amp;page=$npage&amp ;sid=$sid\">Next»</a>";
                        }
                        echo "
                        $page/$num_pages";
                        if($num_pages>2)
                        {
                        echo getjumper($action, $sid,"index");
                        }
                        echo "</p>";
                        ////// UNTILL HERE >>

                        echo "<p align=\"center\">";
                        echo "6 <a accesskey=\"6\" href=\"inbox.php?action=main&amp;sid=$sid\">Inbox</a>
                        ";
                        echo "7 <a accesskey=\"7\" href=\"lists.php?action=buds&amp;sid=$sid\">BuddyL ist</a>
                        ";
                        echo "8 <a accesskey=\"8\" href=\"index.php?action=chat&amp;sid=$sid\">Chatro oms</a>
                        ";
                        echo forumlink($sid,9);
                        echo "0 <a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
                        echo "</p>";
                        echo "</body>";
                        }</div>

                        untested

                        Comment


                          #13
                          thanks inca...hehe..

                          I still had a problem, after i had test, everything on my online list&#39;s status is still remain the same


                          inca [newbie] >> viewing user profile
                          reza[newbie]>> online list


                          here reza owner hehe ...my site

                          please help me...

                          thx...b4 inca

                          Comment


                            #14
                            just tested it and it works fine for me ????
                            it might be something wrong with your status setup in core.php

                            Comment


                              #15
                              ;) ho..ho...Successfully

                              thx u inca...

                              Comment

                              Working...
                              X