help with modlogs please

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

    help with modlogs please

    how to add in modlog like which gallery pic is deleted just u get to see deleted comment?

    this is deleted comment details

    //////////////////////////////del comment

    else if($action=="delcmt")
    {
    $id = $_GET["id"];

    echo "<p align=\"center\">";

    $res = mysql_query("DELETE FROM fun_galcomments WHERE id ='".$id."'");
    if($res)
    {
    mysql_query("INSERT INTO ibwf_mlog SET action='comment', details='<b>".getnick_uid(getuid_sid($sid))."</b> Deleted a Photo Comment', actdt='".time()."'");
    echo "<img src=\"images/ok.gif\" alt=\"O\"/>Comment deleted";
    }else{
    echo "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error";
    }
    echo "<br/><br/>";


    echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
    }

    how to add onle for to know what the link of the image was when a user delete it?:confused:

    #2
    Sorry noob dnt know i also want to ask sumthing bout modlog how can owners see what were the stuff that was removed for exampleif dlete a shout owner must have acces to see what that shout were now the modlog only say shout 2219 were delete but if u owner i want it to say.
    the shout by: (....)
    (hello how are you)
    were delete by (...)
    how can i make the modlog like that for owner

    Comment


      #3
      Time: 07 05 09-02:02:32
      johnny Deleted the shout 3329 - evil: gudmorning ppl
      Time: 07 05 09-01:53:42

      Comment


        #4
        but johny i mean not only shout if the ppl edit a topic it must show the topic msg or what ever if he done anything the modlog must give u the reason what ever shout post topics delete handel etc i dnt want only shout option

        Comment


          #5
          i know wat u were asking rider nd i have that stuff wait wil get it for u

          Comment


            #6
            tanx allot bru im getting my owner tools set up if its done ill share my ownercp for these that want it

            Comment

            Working...
            X