View users qualification.

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

    View users qualification.

    Hello I make the nickname Click to view the user who has obtained his qualification.
    PHP Code:
    echo "Required Credits<br/><br/>";
    echo 
    "0-9 » <b>N00b</b>($noob[0] Members)<br/>";
    echo 
    "10-24 » <b>SpaRkl3</b>($snoob[0] Members)<br/>";
    echo 
    "25-49 » <b>flaR3</b>($tyro[0] Members)<br/>";
    echo 
    "50-74 » <b>flaM3</b>($member[0] Members)<br/>"
    Any help? Thanks

    #2
    More info.
    Also can't understand your english well.
    Did I help you?
    You can help me too
    Your donations will help me finance my studies.

    Comment


      #3
      3 members with status tells you noob, with a status SpaRkl3 members, 5 members with status flaR3 .. and I see who are these members .. I click and I list the list of members with the status.
      but the information is not clickable, and I wish them clickable
      Last edited by Leviathan73; 25.05.11, 10:57.

      Comment


        #4
        do like

        select count(primart_key) from table_name where wat_u_want_name_field = or <= or => ur number;

        Comment


          #5
          I realized that I do in the row in the table ibwf_users relstatus ..
          PHP Code:
          echo "0-9 » <b>N00b</b>($noob[0] Members)<br/>"
          but do not have to add the code to make it clickable?

          Comment


            #6
            Originally posted by Leviathan73 View Post
            PHP Code:
            echo*"Required*Credits<br/><br/>";
            echo*"0-9*»*<b>N00b</b>($noob[0]*Members)<br/>";
            echo*"10-24*»*<b>SpaRkl3</b>($snoob[0]*Members)<br/>";
            echo*"25-49*»*<b>flaR3</b>($tyro[0]*Members)<br/>";
            echo*"50-74*»*<b>flaM3</b>($member[0]*Members)<br/>";*
            Any help? Thanks
            he needs to view who are in the catogory noobs,sparkle like that....use like this

            PHP Code:
            echo "Required Credits<br/><br/>";
            echo 
            "0-9 » <b>N00b</b>(<a href=\"users.php?action=noobs&amp;sid=$sid\">$noob[0]</a> Members)<br/>";      
            echo 
            "10-24 » <b>SpaRkl3</b>(<a href=\"users.php?action=spark&amp;sid=$sid\">$snoob[0] </a> Members)<br/>";
            echo 
            "25-49 » <b>flaR3</b>(<a href=\"users.php?action=flare&amp;sid=$sid\">$tyro[0] </a> Members)<br/>";
            echo 
            "50-74 » <b>flaM3</b>(<a href=\"users.php?action=flame&amp;sid=$sid\">$member[0] </a> Members)<br/>"
            make a users.php file and add the code to view users in that cat


            I'm Proud to be a Sri Lankan!

            Comment


              #7
              I have this code
              PHP Code:
              /////////////////////////////////viewuser profile
              else if($action=="viewuser")
              {
                
              $mmsg htmlspecialchars(getsetmood(getuid_sid($sid)));
                
              addonline(getuid_sid($sid),"sta guardando i profili utenti ($mmsg)","index.php?action=viewuser&amp;who=$who");
                  echo 
              "<head>";
                  echo 
              "<title>Guarda Profilo</title>";
                  echo 
              "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
                  echo 
              "</head>";
                  echo 
              "<body>";
                 echo 
              "<p align=\"center\">";
                
              $lastloc=$_GET["lstloc"];
              if(
              $lastloc=="cht"){
               
              $rid$_GET["rid"];
                  
              $rooms mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id='".$rid."'"));
                  
              $rname $rooms[1];
              }
                if(
              $who==""||$who==0)
                {
                  
              $mnick $_POST["mnick"];
                  
              $who getuid_nick($mnick);
                }
                
              $whonick getnick_uid($who);
                if(
              $whonick!="")
                { 
              I tried this function
              PHP Code:
              echo "0-9 » <b>N00b</b>(<a href=\"index.php?action=noobs&amp;sid=$sid\">$noob[0]</a> Members)<br/>"
              and
              PHP Code:
              echo "0-9 » <b>N00b</b>(<a href=\"index.php?action=viewuser&amp;who=$who&amp;sid=$sid\">$noob[0]</a> Members)<br/>"
              and
              PHP Code:
              echo "0-9 » <b>N00b</b>(<a href=\"index.php?action=viewuser&amp;who=$item[0]&amp;sid=$sid\">$noob[0]</a> Members)<br/>"
              but only gives me the number, and when I say user does not exist

              Comment


                #8
                Viewuser will not help as u get the number of users here., first u need to list the users in each catagory.
                If u want il add a working code, bt now im using mobile


                I'm Proud to be a Sri Lankan!

                Comment


                  #9
                  so I have to force to create a file user.php? there are solutions to avoid creating the user file?

                  Comment

                  Working...
                  X