pm online member

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

  • subzero
    replied
    ok i will give you a hint

    You can do this

    touser='%*%'

    This is a wild card this will send they will see it but thou its spam !!

    Leave a comment:


  • subzero
    replied
    Think of this....

    I have being hosting ppl for years.

    i also hosted lavalair that pm to members also note more then 50 online members

    Will end your cpanel for good cuz if your using a share or free your are way over the cpu limit !!!

    So to inform you is post a pubilc notice board they will see it...

    Leave a comment:


  • brand
    replied
    Originally posted by subzero View Post
    Ok....


    To tell you the truth

    How many ppl you have online max daily ??
    does it realy matter how many members i have online daily subzero no it dont i'm just asking for help in coding that sort so much and it dont work i only ask for help when i can not get things to work i get it so far then it dont work so IF ANY ONE CAN HELP ME FIX THIS PLEASE DO SO THANKS TO ANY ONE THAT CAN HELP ME FIX THIS

    Leave a comment:


  • subzero
    replied
    Ok....


    To tell you the truth

    How many ppl you have online max daily ??

    Leave a comment:


  • brand
    replied
    Originally posted by subzero View Post
    Why don`t you put shout it out ??
    what do u mean subzero

    Leave a comment:


  • subzero
    replied
    Why don`t you put shout it out ??

    Leave a comment:


  • brand
    started a topic pm online member

    pm online member

    hi every one can some one help sort this out i am trying to sort out pm online members

    Code:
    <?php
    define('WCS',true);
    include('../core/main.inc');
    header_type();
    cleardata();
    if(ipbanned(ip(),browser())){
    if(!shield(getuid_sid($sid))){
    echo head_tag("Ip Blocked!!!",0,0);
    echo ipbanned_msg();
    echo foot_tag();
    exit();
    }
    }
    if(!islogged($sid)){
    echo head_tag("Error!!!",0,0);
    echo session_expired();
    echo foot_tag();
    exit();
    }
    if(banned(getuid_sid($sid))){
    echo head_tag("Error!!!",1,getnick_sid($sid));
    echo banned_msg($sid);
    echo foot_tag();
    exit();
    }
    mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'");
    
    /////////////////////////pm online members/////////////////////////
    
    addonline(getuid_sid($sid),"Admin Tools","");
    echo head_tag(getnick_sid($sid)."@Admin Tools",1,getnick_sid($sid));
    $title="<b>Admin Tools</b>";
    $main="<p align=".align().">\n";
    {
    $who = mysql_real_escape_string( $_REQUEST["who"] );
    $pmtou1 = mysql_real_escape_string( $_REQUEST["pmtou1"] );
    $byuid = getuid_sid($sid);
    
    $tm = microtime(get_as_float);
    
    if($who=="online")
    {
    $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM private WHERE byuid='".$byuid."'"));
    $main.="<p align=\"center\">";
    $main.="<img src=\"../phpThumb/phpThumb.php?src=../images/check.png\" alt=\"x\"/>";
    $main.="The Online Members have been sent This Message<br/>";
    $main.="<a href=\"tools.php?sid=$sid\">»Owner tools</a>";
    $main.="</p>";
    {
    else if($who=="online"){
      $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM private WHERE byuid='".$byuid."'"));
    echo "<p align=\"center\">";
      echo "All online users where sent this pm<br/>";
      $pms = mysql_query("SELECT userid FROM online");
      $tm = time();
      while($pm=mysql_fetch_array($pms))
      {
      mysql_query("INSERT INTO private SET text='Public Anouncment:[br/]".$pmtou."[br/]This message was sent to online users at this moment in time', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
      }
    }
    mysql_query("INSERT INTO private SET text='Public Anouncment:[br/]".$pmtou1."[br/]This message was sent to all online members', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
    }
    $L1="$sixkey<a $key6 href=\"../inbox/inbox.php?sid=$sid\">Inbox</a>";
    $L2="$sevenkey<a $key7 href=\"../buds/buds.php?sid=$sid\">BuddyList</a>";
    $L3="$eightkey<a $key8 href=\"../chat/public.php?sid=$sid\">Chat</a>";
    $L4="$ninekey<a $key9 href=\"../forums/forums.php?sid=$sid\">Forums</a>";
    $L5="$zerokey<a $key0 href=\"../main.php?sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Main Menu</a>";
    echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main);
    ?>
    thanks to any one that can help
Working...
X