Reporting Profile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reporting Profile

    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

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

    Comment


      #3
      havent tested this yet
      Code:
      ////////////////////////////////////////////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=&#39;Profiles&#39;, details=&#39;[b]<a href=\"index.php?action=viewuser&amp;wh=$who&amp;sid=$sid\">".getnick_uid($who)."</a>[/b] Profile has been reported&#39;, actdt=&#39;".time()."&#39;");
      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&amp;wh=$who&amp;sid=$sid\">".getnick_uid($who)."</a>
      ";
        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
      echo "Home</a>";
        echo "</p>";
        echo "</body>";
        exit();
      }
      usage:

      echo "<a href=\"genproc.php?action=reportuser&amp;who=$who& amp;sid=$sid\">Report User</a>";

      Comment


        #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&#39;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..


        sigpicthe italian/international COMMUNITY of friendship
        http://people2000.netne.net
        WAP/WEB
        peoplemailbox@katamail.com

        Comment


          #5
          <div class='quotetop'>QUOTE (honkytonkman @ Nov 29 2008, 06:08 PM) <{POST_SNAPBACK}></div>
          about reporting..in my version there is a report link in chat.php page
          for reporting a chat message,i suppose, but i don&#39;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..[/b]
          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&#39;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ノ刀ノイリ!

          Comment


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

            Comment


              #7
              <div class='quotetop'>QUOTE (inca @ Nov 29 2008, 06:45 PM) <{POST_SNAPBACK}></div>
              if you dnt know about that you probably dont know about the chat function /me either thats in wapdesire lol[/b]
              i&#39;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ノ刀ノイリ!

              Comment


                #8
                hey buddy..there is a error in your code..a little distraction,i think..

                $res = mysql_query("INSERT INTO ibwf_mlog SET action=&#39;Profiles&#39;, details=&#39;<a href=\"index.php?action=viewuser&amp;wh=$who&amp;s id=$sid\">".getnick_uid($who)."</a> Profile has been reported&#39;, actdt=&#39;".time()."&#39;");

                replace in:
                $res = mysql_query("INSERT INTO ibwf_mlog SET action=&#39;Profiles&#39;, details=&#39;<a href=\"index.php?action=viewuser&amp;who=$who&amp; sid=$sid\">".getnick_uid($who)."</a> Profile has been reported&#39;, actdt=&#39;".time()."&#39;");

                error= amp; wh

                amp;who
                sigpicthe italian/international COMMUNITY of friendship
                http://people2000.netne.net
                WAP/WEB
                peoplemailbox@katamail.com

                Comment


                  #9
                  <div class='quotetop'>QUOTE (honkytonkman @ Nov 30 2008, 11:39 AM) <{POST_SNAPBACK}></div>
                  hey buddy..there is a error in your code..a little distraction,i think..

                  $res = mysql_query("INSERT INTO ibwf_mlog SET action=&#39;Profiles&#39;, details=&#39;<a href=\"index.php?action=viewuser&amp;wh=$who&amp;s id=$sid\">".getnick_uid($who)."</a> Profile has been reported&#39;, actdt=&#39;".time()."&#39;");

                  replace in:
                  $res = mysql_query("INSERT INTO ibwf_mlog SET action=&#39;Profiles&#39;, details=&#39;<a href=\"index.php?action=viewuser&amp;who=$who&amp; sid=$sid\">".getnick_uid($who)."</a> Profile has been reported&#39;, actdt=&#39;".time()."&#39;");

                  error= amp; wh

                  amp;who[/b]
                  ooops my o button on my keyboard is tempermental so your probably find more of my coding with the letter o missing lol

                  Comment

                  Working...
                  X