View users qualification.

Started on the old forum in May 2011 · view the original in the archive · old links redirect here

8 replies · 490 views · started 15 years ago · 1 min read

4 participants
Leviathan73 Senior · 260 posts #1

Hello I make the nickname Click to view the user who has obtained his qualification.

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

kei_ki7 Senior · 431 posts #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.

Leviathan73 Senior · 260 posts #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 🙁

Anshul Senior · 296 posts #4

do like

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

Leviathan73 Senior · 260 posts #5

I realized that I do in the row in the table ibwf_users relstatus ..

echo "0-9 » <b>N00b</b>($noob[0] Members)<br/>";

but do not have to add the code to make it clickable?

nimeshka Developer · 180 posts #6

Leviathan73 wrote: PHP Code: echo*"Required*Credits

"; echo*"0-9*»N00b($noob[0]Members) "; echo"10-24»SpaRkl3($snoob[0]Members) "; echo"25-49»flaR3($tyro[0]Members) "; echo"50-74»*flaM3($member[0]Members) "; Any help? Thanks

he needs to view who are in the catogory noobs,sparkle like that....use like this

echo "Required Credits<br/><br/>";
echo "0-9 » <b>N00b</b>(<a href=\"users.php?action=noobs&sid=$sid\">$noob[0]</a> Members)<br/>";  	
echo "10-24 » <b>SpaRkl3</b>(<a href=\"users.php?action=spark&sid=$sid\">$snoob[0] </a> Members)<br/>";
echo "25-49 » <b>flaR3</b>(<a href=\"users.php?action=flare&sid=$sid\">$tyro[0] </a> Members)<br/>";
echo "50-74 » <b>flaM3</b>(<a href=\"users.php?action=flame&sid=$sid\">$member[0] </a> Members)<br/>";  

make a users.php file and add the code to view users in that cat

External image (may be gone)

I'm Proud to be a Sri Lankan!

Leviathan73 Senior · 260 posts #7

I have this 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&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

echo "0-9 » <b>N00b</b>(<a href=\"index.php?action=noobs&sid=$sid\">$noob[0]</a> Members)<br/>";

and

echo "0-9 » <b>N00b</b>(<a href=\"index.php?action=viewuser&who=$who&sid=$sid\">$noob[0]</a> Members)<br/>";

and

echo "0-9 » <b>N00b</b>(<a href=\"index.php?action=viewuser&who=$item[0]&sid=$sid\">$noob[0]</a> Members)<br/>";

but only gives me the number, and when I say user does not exist

nimeshka Developer · 180 posts #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

External image (may be gone)

I'm Proud to be a Sri Lankan!

Leviathan73 Senior · 260 posts #9

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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close