Post the Chatzone script updates /addons u have ....also u can post the ones u want so tht oders can post them here Thnx..........
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
Started on the old forum in May 2008 · view the original in the archive · old links redirect here
Post the Chatzone script updates /addons u have ....also u can post the ones u want so tht oders can post them here Thnx..........
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
Post yours at first
I dont have much ..i can give u online list , member list , shout box script etc .....do u have peditnick nd psetstatus in moder.php ?
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
State the features of peditnick,psetstatus,moder.php.i dont have those atm but can code it
well see this in this u have to input name of user whose nick or status u have change i want to put in profile after nick nd status change function so tht i dont have to put the nick but frm the user whose profile m in his nick is taken ....
case 'setstatus': if(empty($act)) { print $lang['who'].": <input name="who" value="$who"/>
".$lang['status'].": <input name="status" value="".$data['status'].""/>
<anchor>".$lang['ok']."<go href="moder.php?id=$id&pass=$pass&mod=$mod" method="post"> <postfield name="act" value="set"/> <postfield name="who" value="$(who)"/> <postfield name="status" value="$(status)"/> </go></anchor> "; } else { if(@mysql_query("update
".$px.$utable."set status='$status' where login='$who'")) print $lang['done']; else print $lang['error']; } break;case 'editnik': if(empty($act)) { print $lang['old_nick']." <input type="text" name="old"/> "; print $lang['new_nick']." <input type="text" name="new"/> "; print "<anchor>".$lang['ok']."<go href="moder.php?act=update&id=$id&pass=$pass&mod=$mod" method="post"><postfield name="old" value="$(old)"/><postfield name="new" value="$(new)"/></go></anchor> "; } else { $q = @mysql_query("select * from
".$px.$utable."where login='$new' limit 1;"); $ud = @mysql_fetch_array($q); if($ud['id']) { print $lang['such_nick_exist']; } else { if(@mysql_query("update".$px.$utable."set login='$new' where login='$old';")) print $lang['done']; else print $lang['user_not_exist']; } } break;
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
Gosh i didnt see the request forum this can be moved there i guess .....
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
I did this script in xhtml a few months ago.
Spiderwap thn share the xhtml verison it wud be great i guess .....
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
here is codes to change user nick and to change status directly from a user's profile.I coded it for chatzone script edited by kovsza copy and paste this code in admin.php
//Edit nickname
case 'editnick':
$whoid = $_GET["whoid"];
if(empty($act))
{
//print $lang['old_nick']."
<input type=\"text\" name=\"old\"/>
";
print $lang['new_nick']."
<input type=\"text\" name=\"new\"/>
";
print "<anchor>".$lang['ok']."<go href=\"?act=update&id=$id&pass=$pass&whoid=$whoid&mod=$mod\" method=\"post\"><postfield name=\"new\" value=\"$(new)\"/></go></anchor>
";
}
else
{
$q = @mysql_query("select * from `".$px.$utable."` where login='$new' limit 1;");
$ud = @mysql_fetch_array($q);
if($ud['id'])
{
print $lang['such_nick_exist'];
}
else
{
if(@mysql_query("update `".$px.$utable."` set login='$new' where id='".$whoid."';"))
print $lang['done'];
else
print $lang['user_not_exist'];
}
}
break;
usage in user.php
if ($login['admin']>0)
{
print "
<a href=\"admin.php?id=$id&pass=$pass&whoid=".$data['id']."&room=$room&mod=editnick\">Edit Nick</a>
";
}
to change status copy and paste this code in moder.php
//setstatus status
case 'psetstatus':
$whoid = $_GET["whoid"];
if(empty($act))
{
print "<select name=\"stat\" value=\"boss\">";
print "<option value=\"boss\">boss</option>";
print "<option value=\"king\">king</option>";
print "<option value=\"queen\">queen</option>";
print "<option value=\"princess\">princess</option>";
print "<option value=\"prince\">prince</option>";
print "<option value=\"guru\">guru</option>";
print "<option value=\"unstopable\">unstopable</option>";
print "</select>
";
print "<anchor>".$lang['ok']."<go href=\"?act=update&id=$id&pass=$pass&whoid=$whoid&mod=$mod\" method=\"post\"><postfield name=\"stat\" value=\"$(stat)\"/></go></anchor>
";
}
else
{
if(@mysql_query("update `".$px.$utable."`set status='$stat' where id='".$whoid."';"))
print $lang['done'];
else
print $lang['error'];
}
break;
and the usage link has been already put in this script that i mentioned
Ok, tell you guys what, if someone inbox me a url to the must updated chatzone script I'll convert the entire thing to xhtml again.
I just dont think its any use for me to convert an old version to xhtml as i just have old versions of it myself.
I'll do it for you guys, but personaly i'm done with using other peoples scripts i'm coding my own.
here is codes to change user nick and to change status directly from a user's profile.I coded it for chatzone script edited by kovsza copy and paste this code in admin.php
//Edit nickname case 'editnick': $whoid = $_GET["whoid"]; if(empty($act)) { //print $lang['old_nick']." <input type=\"text\" name=\"old\"/> "; print $lang['new_nick']." <input type=\"text\" name=\"new\"/> "; print "<anchor>".$lang['ok']."<go href=\"?act=update&id=$id&pass=$pass&whoid=$whoid&mod=$mod\" method=\"post\"><postfield name=\"new\" value=\"$(new)\"/></go></anchor> "; } else { $q = @mysql_query("select * from `".$px.$utable."` where login='$new' limit 1;"); $ud = @mysql_fetch_array($q); if($ud['id']) { print $lang['such_nick_exist']; } else { if(@mysql_query("update `".$px.$utable."` set login='$new' where id='".$whoid."';")) print $lang['done']; else print $lang['user_not_exist']; } } break;usage in user.php
if ($login['admin']>0) { print " <a href=\"admin.php?id=$id&pass=$pass&whoid=".$data['id']."&room=$room&mod=editnick\">Edit Nick</a> "; }to change status copy and paste this code in moder.php
//setstatus status case 'psetstatus': $whoid = $_GET["whoid"]; if(empty($act)) { print "<select name=\"stat\" value=\"boss\">"; print "<option value=\"boss\">boss</option>"; print "<option value=\"king\">king</option>"; print "<option value=\"queen\">queen</option>"; print "<option value=\"princess\">princess</option>"; print "<option value=\"prince\">prince</option>"; print "<option value=\"guru\">guru</option>"; print "<option value=\"unstopable\">unstopable</option>"; print "</select> "; print "<anchor>".$lang['ok']."<go href=\"?act=update&id=$id&pass=$pass&whoid=$whoid&mod=$mod\" method=\"post\"><postfield name=\"stat\" value=\"$(stat)\"/></go></anchor> "; } else { if(@mysql_query("update `".$px.$utable."`set status='$stat' where id='".$whoid."';")) print $lang['done']; else print $lang['error']; } break;and the usage link has been already put in this script that i mentioned
Nice work mate i got it how to do tht now ....
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
Ok, tell you guys what, if someone inbox me a url to the must updated chatzone script I'll convert the entire thing to xhtml again.
I just dont think its any use for me to convert an old version to xhtml as i just have old versions of it myself.
I'll do it for you guys, but personaly i'm done with using other peoples scripts i'm coding my own.
Ok i l try nd find one ...
ViSiT Ma SiTe Nd PoSt Ua CoMmEnTs On It In Ma PoSt
Ok bro, no prob, lol Ill do the entire script in max 3 days with color selection etc...