Global Inbox

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Global Inbox

    I wont add this :
    if any1 have the code to add this pls write at this topic

    tnks
    if like my post click:

    http://coding-talk.com/images/totall...ost_thanks.gif

    #2
    I wont add this :
    if any1 have the code to add this pls write at this topic

    tnks[/b]

    whst the code for Global Inbox? ;)

    Comment


      #3
      this is my idea...owner can send multi inbox to all members or all staff members or all users banned...
      at 1 click...

      I not have the code 4 add this ...
      if like my post click:

      http://coding-talk.com/images/totall...ost_thanks.gif

      Comment


        #4
        this is my idea...owner can send multi inbox to all members or all staff members or all users banned...
        at 1 click...

        I not have the code 4 add this ...[/b]
        Thats good idea and u had posted screenshots so its working sumwhere?

        Comment


          #5
          is only code html...
          is only 4 idea screen ;)
          I wont add this at my last script...
          if like my post click:

          http://coding-talk.com/images/totall...ost_thanks.gif

          Comment


            #6
            and whats the point in sending to banned users lol

            Comment


              #7
              inca I send inbox before I reactivate nicks ;)
              inca u can help me to code this?
              if like my post click:

              http://coding-talk.com/images/totall...ost_thanks.gif

              Comment


                #8
                and whats the point in sending to banned users lol[/b]

                how can banned user will read ur pm? ;)

                Comment


                  #9
                  at my new version I can block users only at forums/chat/inbox and popups/modify profile/uploads photos/deactivate all actions (only access 4 read) or ban :D
                  if like my post click:

                  http://coding-talk.com/images/totall...ost_thanks.gif

                  Comment


                    #10
                    at my new version I can block users only at forums/chat/inbox and popups/modify profile/uploads photos/deactivate all actions (only access 4 read) or ban :D[/b]
                    whats ur new wap site? ;)

                    Comment


                      #11
                      the better way would be an announcement .. if a new announcement has been made then show that on index until the user clears the announcement... that way your arent filling the DB with the same PM multiple times

                      Comment


                        #12
                        but its already been coded for you over and over again
                        all thats differnt this time is its got a dropdown box lol
                        there is no point in me coding it as you can code it yourself you just cant be arsed to try
                        the only thing you get stuck on is ARRAY`s and seeming there is no need for fetching ARRAY`s for this. you can code it yourself lol dont be lazy try coding it your self then when you get stuck post it here and someone might help lol

                        Comment


                          #13
                          with this code I send inbox to all members...
                          but how I can add messagge to send???
                          Code:
                            $pmtou = $_POST["pmtou"];
                            $byuid = getuid_sid($sid);
                            $tm = time();
                            $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
                            echo "All users has been send a pm
                          ";
                            $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE lastact>'".$tm24."'");
                            $tm = time();
                            while($pm=mysql_fetch_array($pms))
                            {
                            mysql_query("INSERT INTO ibwf_private SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all the members[/i]', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
                            }
                          tnks...
                          if like my post click:

                          http://coding-talk.com/images/totall...ost_thanks.gif

                          Comment


                            #14
                            here the coding .... there is an error in the original coding u posted (time) i cant be arsed to work that out also im not coing send pm to all banned users as that is a really crap idea

                            Code:
                              echo "<form action=\"admproc.php?action=global&amp;sid=$sid\" method=\"post\">";
                              echo "PM:<input name=\"pmtou\" maxlength=\"250\"/>
                            ";
                              echo "TO:<select name=\"who\">";
                              echo "<option value=\"staff\">staff</option>";
                              echo "<option value=\"all\">all members</option>";
                              echo "</select>
                            ";
                              echo "<input type=\"submit\" value=\"Update\"/>";
                              echo "</form>";
                            Code:
                              $who = $_POST["who"];
                              $pmtou = $_POST["pmtou"];
                              $byuid = getuid_sid($sid);
                              $tm = time();
                            if($who=="all"){
                              $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid=&#39;".$byuid."&#39;"));
                              echo "All users has been send a pm
                            ";
                              $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE lastact>&#39;".$tm24."&#39;");
                              $tm = time();
                              while($pm=mysql_fetch_array($pms))
                              {
                              mysql_query("INSERT INTO ibwf_private SET text=&#39;[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all the members[/i]&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$pm[0]."&#39;, timesent=&#39;".$tm."&#39;");
                              }
                            }else if($who=="staff"){ 
                              $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid=&#39;".$byuid."&#39;"));
                              echo "All users has been send a pm
                            ";
                              $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE perm>0");
                              $tm = time();
                              while($pm=mysql_fetch_array($pms))
                              {
                              mysql_query("INSERT INTO ibwf_private SET text=&#39;[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all staff[/i]&#39;, byuid=&#39;".$byuid."&#39;, touid=&#39;".$pm[0]."&#39;, timesent=&#39;".$tm."&#39;");
                              }
                            }

                            Comment


                              #15
                              banned users is bad idea??:?
                              and all users logged at last 24 hours is good idea??? ;)

                              tnks buddy
                              if like my post click:

                              http://coding-talk.com/images/totall...ost_thanks.gif

                              Comment

                              Working...
                              X