[help] Send Pm To Multi Users

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

    [help] Send Pm To Multi Users

    hi guys

    can you help me with the code how to send pm to multi users on lava script?

    Example on send to

    Name: nick1, nick2, nick3, nick4, nick5, and so on

    Message: blablabla


    thanks

    #2
    u use wapdesire script??try ask to spiderwap...he has integrate this function
    if like my post click:

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

    Comment


      #3
      what wapdesire script? thx anyway sweet

      Comment


        #4
        which script ur using?
        get cheap web hosting ever AdzeHost
        ===================
        get free hosting for life time hostwebswap not allowed
        ===================
        get free cpanel web hosting free cpanel hostingwap are allowed
        ===================

        ===================

        Comment


          #5
          add this in core.php
          Code:
          function textall($text)
          { 
          $sql= mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users "));
          for($i=0;$i<$sql[0];$i++)
          {
          $txts="[b]PM to all members:[/b][br/] $text";
          mysql_query("INSERT INTO ibwf_private SET bywho=&#39;1&#39; , towho=&#39;".$i."&#39; text=&#39;".$txts."&#39; new=&#39;1&#39;"); 
          }}
          and this in index.php
          Code:
          else if($action=="sendbrdcast")
          {
          addonline(getuid_sid($sid),"Sending PM to all members","index.php?action=$action");
            $pmtou = $_POST["pmtou"];
            $byuid = getuid_sid($sid);
            $tm = time();
            $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid=&#39;".$byuid."&#39;"));
            echo "All users has been sent this 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]PM to all members[/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;");
            }
          echo "<p align=\"center\">";
          
          echo "</p>";    
          echo "<p align=\"center\">";
          echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
          echo "Home</a>";
          echo "</p>";
          echo "</body>";
          echo "</html>";
          }

          Comment


            #6
            but how I can add a message to send???
            if like my post click:

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

            Comment


              #7
              add in index.php under admin cp

              Code:
              echo "<form action=\"index.php?action=sendbrdcast&amp;sid=$sid\" method=\"post\">";
              echo "<input type=\"text\" name=\"pmtou\" size=\"15\" maxlength=\"500\" />
              ";
              echo "<input type=\"submit\" value=\"PM every1\"/>";
              echo "
              ";
              echo "</form>";
              this isnt actually wat the topic poster wants.
              this sends to all users.
              but just edit it

              Comment


                #8
                I add this at my bosscp.php :lol:
                if like my post click:

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

                Comment


                  #9
                  shut up yur not funny boss pshh
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #10
                    lol if she got a send all to members she dont own the server ?

                    and the cpu hits high in like 15 %

                    she will kill she server on one hit so if she got 2030102 members online and she sends it hahahaha boom !


                    Fast MySql do use cpu and ram
                    phpmyadmin use cpu
                    server use cpu


                    now lie how much you do i know it hurts the server lol
                    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                    Visit: WapMasterz Coming Back Soon!
                    _______
                    SCRIPTS FOR SALE BY SUBZERO
                    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                    _______
                    Info & Tips
                    php.net
                    w3schools.com

                    Comment


                      #11
                      Im after a script were members can apply to be head admin, admin etc when they apply a pm gets sent to the owner. Can i use this script for that. Thanks

                      Comment


                        #12
                        I dont think its a good idea if people can ask to be admin or whatever dude.

                        Thats where you come in to see who is really a true member to your site and decide yourself who you want to make a mod or admin etc.

                        Click here!!!

                        Comment


                          #13
                          I dont think its a good idea if people can ask to be admin or whatever dude.

                          Thats where you come in to see who is really a true member to your site and decide yourself who you want to make a mod or admin etc.[/b]

                          he might need more admins to his site..

                          anybody out there be the next admin or headadmin at <a href="http://www.pinoy2.com" target="_blank">
                          <a href="http://www.pinoy2.com" target="_blank">http://www.pinoy2.com</a>!
                          </a>
                          pinoy2.com needs admins and head admins too..
                          Services

                          Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

                          Below is a list of services I offer:

                          Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

                          Rates

                          General consulting – My current hourly rate is $100 / hour.
                          Custom Wapsite Community - My current rate is $500 / Wap Community Development.

                          Comment

                          Working...
                          X