Reporting Profile

Started on the old forum in November 2008 · view the original in the archive · old links redirect here

8 replies · 564 views · started 18 years ago · 1 min read

4 participants
armawap Junior · 15 posts #1

please i need codings of reporting profile to the admins only so that a user can report other peoples profiles from [view user profile] when he sees something wrong in other profiles.anybody please give me.

thank you

something else Fellow · 2,296 posts #2

Something iv been meaning to code for a long time but havent got round to doing it lol

something else Fellow · 2,296 posts #3

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>";

honkytonkman Senior · 252 posts #4

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

metulj Super moderator Principal · 1,726 posts #5

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ノ刀ノイリ!

something else Fellow · 2,296 posts #6

if you dnt know about that you probably dont know about the chat function /me either thats in wapdesire lol

metulj Super moderator Principal · 1,726 posts #7

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ノ刀ノイリ!

honkytonkman Senior · 252 posts #8

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

something else Fellow · 2,296 posts #9

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

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