Reporting Profile
Started on the old forum in November 2008 · view the original in the archive · old links redirect here
Something iv been meaning to code for a long time but havent got round to doing it lol
havent tested this yet
////////////////////////////////////////////Report Profile
else if($action=="reportuser")
{
$who = $_GET["who"];
echo "<head>";
echo "<title>$sitename</title>";
echo "</head>";
echo "<body>";
echo "<div>
Report Profile
</div>";
echo "<p align=\"center\">";
$res = mysql_query("INSERT INTO ibwf_mlog SET action='Profiles', details='[b]<a href=\"index.php?action=viewuser&wh=$who&sid=$sid\">".getnick_uid($who)."</a>[/b] Profile has been reported', actdt='".time()."'");
if($res){
echo "<img src=\"images/ok.gif\" alt=\"O\"/>Profile Reported Successfully";
}else{
echo "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error";
}
echo "
";
echo "<a href=\"index.php?action=viewuser&wh=$who&sid=$sid\">".getnick_uid($who)."</a>
";
echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
echo "</p>";
echo "</body>";
exit();
}
usage:
echo "<a href="genproc.php?action=reportuser&who=$who&sid=$sid">Report User</a>";
about reporting..in my version there is a report link in chat.php page for reporting a chat message,i suppose, but i don't find where the reported message goes !!?
in reported logs (visible to the staff members) only post, topics .inbox etc. no chat messages.. i think somebody has forgot 🙄 something..
the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com
QUOTE (honkytonkman @ Nov 29 2008, 06:08 PM) <{POST_SNAPBACK}>
about reporting..in my version there is a report link in chat.php page for reporting a chat message,i suppose, but i don't find where the reported message goes !!?
in reported logs (visible to the staff members) only post, topics .inbox etc. no chat messages.. i think somebody has forgot 🙄 something..
reported chat messages are visible to stuff members(or to admin only if you set it that way) in chat room.. if any of stuff is online at the time... those reported messages aren't reported in mod logs... eventhough that could be fixed 🤔
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
if you dnt know about that you probably dont know about the chat function /me either thats in wapdesire lol
QUOTE (inca @ Nov 29 2008, 06:45 PM) <{POST_SNAPBACK}>
if you dnt know about that you probably dont know about the chat function /me either thats in wapdesire lol
i've changed /me function and only ID 1 can use it.. else function get abused by users 🙄
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!
hey buddy..there is a error in your code..a little distraction,i think..
$res = mysql_query("INSERT INTO ibwf_mlog SET action='Profiles', details='<a href="index.php?action=viewuser&wh=$who&sid=$sid">".getnick_uid($who)."</a> Profile has been reported', actdt='".time()."'");
replace in: $res = mysql_query("INSERT INTO ibwf_mlog SET action='Profiles', details='<a href="index.php?action=viewuser&who=$who&sid=$sid">".getnick_uid($who)."</a> Profile has been reported', actdt='".time()."'");
error= amp; wh
amp;who
the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com
QUOTE (honkytonkman @ Nov 30 2008, 11:39 AM) <{POST_SNAPBACK}>
hey buddy..there is a error in your code..a little distraction,i think..
$res = mysql_query("INSERT INTO ibwf_mlog SET action='Profiles', details='<a href="index.php?action=viewuser&wh=$who&sid=$sid">".getnick_uid($who)."</a> Profile has been reported', actdt='".time()."'");
replace in: $res = mysql_query("INSERT INTO ibwf_mlog SET action='Profiles', details='<a href="index.php?action=viewuser&who=$who&sid=$sid">".getnick_uid($who)."</a> Profile has been reported', actdt='".time()."'");
error= amp; wh
amp;who
ooops my o button on my keyboard is tempermental so your probably find more of my coding with the letter o missing lol