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)
Member Status
Started on the old forum in September 2007 · view the original in the archive · old links redirect here
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
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)
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
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) tahnx guys now i guess its up to me ne? lolz, milu dnt worry ill try it first at galaxy... External image (may be gone) External image (may be gone) External image (may be gone)
I MADE MY OWN STATUS BY USING THIS CODE
//////////OWNER STATUS////////// if($uid=='1') { return "°HTOwner*°<img src="smilies/king.gif" alt="*"/>"; }
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 🙂
just tested it and it works fine for me ???? it might be something wrong with your status setup in core.php 🙂
;) ho..ho...Successfully
thx u inca... 😮
Oh Dear, We have a Father Christmas impersonator.
Want something coded email me at sales@webnwaphost.com for a prices.