delete all pms in tools

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

  • amylee
    replied
    i'm not stupid enough to add tools like that to my scripts so i don't use any
    all my work is done via a root terminal from my server so cannot give you anything sorry

    Leave a comment:


  • wackywizards
    replied
    whats the coding ur using for host tools i been trying to get host tools on my script so i am not down as owner on my sites can u help me please with it thanks

    Leave a comment:


  • amylee
    replied
    could also just add in a tiny bit where it says $res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1'");

    to

    $res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1' AND read='1'");

    Leave a comment:


  • wackywizards
    replied
    Originally posted by lee27 View Post
    yeah thanks i just added it and works nice 1 bud
    whats the coding ur using for host tools i been trying to get host tools on my script so i am not down as owner on my sites can u help me please with it thanks

    Leave a comment:


  • lee27
    replied
    yeah thanks i just added it and works nice 1 bud

    Leave a comment:


  • subzero
    replied
    this will delete whats being entered in sql

    Leave a comment:


  • lee27
    replied
    i did want just ghost inboxs to b deleted but am new to this so not sure if can b done

    Leave a comment:


  • lee27
    replied
    lol thanx m8 its not for owners just me as host incase i need it save me goin in database to do it thanx bud

    Leave a comment:


  • subzero
    replied
    lol thats so true! :D

    Leave a comment:


  • metulj
    replied
    Originally posted by subzero View Post
    This code here will delete all

    PHP Code:
    //////////////////////////clear inboxs//////////////////////////
    else if($action=="delallpms")
    {
    echo 
    "<head>";
    echo 
    "<title>Host Tools</title>";
    echo 
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
    echo 
    "</head>";
    echo 
    "<body>";
    echo 
    "<p align=\"center\">";
    echo 
    "<br/>";
    $res = mysql_query("DELETE FROM ibwf_private");
    if(
    $res)
    {
    echo 
    "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
    }else{
    echo 
    "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
    }
    echo 
    "<a href=\"hostcp.php?action=clrdta&amp;sid=$sid\">Cle ar Data</a><br/>";
    echo 
    "<a href=\"hostcp.php?action=hostcp&amp;sid=$sid\"><im g src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
    echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo 
    "</p></body>";
    } 
    and then users will 'kill' owner LMAO:D

    Leave a comment:


  • subzero
    replied
    This code here will delete all

    PHP Code:
    //////////////////////////clear inboxs//////////////////////////
    else if($action=="delallpms")
    {
    echo 
    "<head>";
    echo 
    "<title>Host Tools</title>";
    echo 
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
    echo 
    "</head>";
    echo 
    "<body>";
    echo 
    "<p align=\"center\">";
    echo 
    "<br/>";
    $res = mysql_query("DELETE FROM ibwf_private");
    if(
    $res)
    {
    echo 
    "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS were deleted";
    }else{
    echo 
    "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
    }
    echo 
    "<a href=\"hostcp.php?action=clrdta&amp;sid=$sid\">Cle ar Data</a><br/>";
    echo 
    "<a href=\"hostcp.php?action=hostcp&amp;sid=$sid\"><im g src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
    echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
    echo 
    "</p></body>";
    } 

    Leave a comment:


  • subzero
    replied
    not pinned inbox dont deleted

    Leave a comment:


  • lee27
    started a topic delete all pms in tools

    delete all pms in tools

    any ov ya able help me do this eres wot i got in hostproc wen i click it it just deletes read inboxs and not all inboxs
    PHP Code:
    //////////////////////////clear inboxs//////////////////////////
    else if($action=="delallpms")
    {
      echo 
    "<head>";
      echo 
    "<title>Host Tools</title>";
      echo 
    "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
      echo 
    "</head>";
      echo 
    "<body>";
      echo 
    "<p align=\"center\">";
      echo 
    "<br/>";
      
    $res = mysql_query("DELETE FROM ibwf_private WHERE reported!='1' AND starred='1' AND unread='1'");
      if(
    $res)
      {
      echo 
    "<img src=\"../images/ok.gif\" alt=\"O\"/>All PMS  were deleted";
      }else{
      echo 
    "<img src=\"../images/notok.gif\" alt=\"X\"/>Database Error!";
      }
      echo 
    "<a href=\"hostcp.php?action=clrdta&amp;sid=$sid\">Clear Data</a><br/>";
      echo 
    "<a href=\"hostcp.php?action=hostcp&amp;sid=$sid\"><img src=\"../images/admn.gif\" alt=\"\"/>Host Tools</a><br/>";
      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo 
    "</p></body>";
    } 

    any help b great guys thanx
    Last edited by subzero; 28.04.09, 19:08.
Working...
X