Member Status

Started on the old forum in September 2007 · view the original in the archive · old links redirect here

15 replies · 1,211 views · started 19 years ago · 1 min read

6 participants
reveur #1

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... External image (may be gone)

Guest #2

heyya revy hehe External image (may be gone) 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

alesh Lead · 604 posts #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)

eeeeerrr....

reveur #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 External image (may be gone)

amylee Principal · 1,092 posts #5
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

alesh Lead · 604 posts #6

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

eeeeerrr....

WhiteWarrior Principal · 1,419 posts #7

its in the core.php file on the script

Guest #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

External image (may be gone)

hypetype Developer · 128 posts #10

I MADE MY OWN STATUS BY USING THIS CODE

//////////OWNER STATUS////////// if($uid=='1') { return "°HTOwner*°<img src="smilies/king.gif" alt="*"/>"; }

Guest #11

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

😀

something else Fellow · 2,296 posts #12

reza heres online list with status:

CODEelse 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 "<img src="../images/onlinelist.gif" alt="Online List"/>"; 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 " "; $items = mysql_query($sql); echo mysql_error(); while ($item = mysql_fetch_array($items)) { if($item[1]=='0') { $tit = ""; }if($item[1]=='1') { $tit = ""; }if($item[1]=='2') { $tit = ""; } if($item[1]=='3') { $tit = ""; } if($item[1]=='4') { $tit = ""; } $status = getstatus($item[3]); $sex = mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE name='$item[0]'")); 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]>'0') { $lnk = "$usersex<a href="index.php?action=viewuser&who=$item[3]&sid=$sid">$tit$item[0]$tit</a>"; }else{ $lnk = "$usersex<a href="index.php?action=viewuser&who=$item[3]&sid=$sid">$tit$item[0]$tit</a>"; } echo "$lnk - $item[2] - $status "; } //echo " "; //echo " "; if($page>1) { $ppage = $page-1; echo "<a href="index.php?action=online&page=$ppage&sid=$sid">«Prev</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href="index.php?action=online&page=$npage&sid=$sid">Next»</a>"; } echo " $page/$num_pages"; if($num_pages>2) { echo getjumper($action, $sid,"index"); } echo " "; ////// UNTILL HERE >>

echo " "; echo "6<a accesskey="6" href="inbox.php?action=main&sid=$sid">Inbox</a> "; echo "7<a accesskey="7" href="lists.php?action=buds&sid=$sid">BuddyList</a> "; echo "8<a accesskey="8" href="index.php?action=chat&sid=$sid">Chatrooms</a> "; echo forumlink($sid,9); echo "0<a accesskey="0" href="index.php?action=main&sid=$sid"><img src="../images/home.gif" alt=""/>Home</a>"; echo " "; echo "</body>"; }

untested 🙂

Guest #13

thanks inca...hehe..

I still had a problem, after i had test, everything on my online list'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

something else Fellow · 2,296 posts #14

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

Guest #15

😉 ho..ho...Successfully

thx u inca... 😮

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