Notification

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

    Notification

    Here are the code for notification i have asked for the code no one gave it so now here im giving it to ya all
    Attached Files

    #2
    what notification it is! plz explain a bit riderz
    Wait...
    sigpic

    Comment


      #3
      When sumone sign ur guesbook or place a comment in ur gallery or when new ppl register add u to buddie list usally it go to ur inbox well now it will go to the notification inbox

      Comment


        #4
        Is this work on lava????

        Comment


          #5
          i could of coded that lol









          Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
          Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

          Comment


            #6
            maybe could be more good if it were translated in english and in xhtml..
            i don't understand the language of this script..
            sigpicthe italian/international COMMUNITY of friendship
            http://people2000.netne.net
            WAP/WEB
            peoplemailbox@katamail.com

            Comment


              #7
              i have the wml english version but not xhtml

              Comment


                #8
                Do share the English Version

                WapCHAT Forum Currenltly changing over to xhtml

                My Dowloads Site

                Comment


                  #9
                  all it should be is a pm sql query
                  Want something coded email me at sales@webnwaphost.com for a prices.




                  Comment


                    #10
                    yea thats right all u do create a sql copy the private and make a notify sql then in core u add the autopm function u can rename it to the sql u made for notify then in index u just make a space for the notify inbox and copy the inbox to a notify sql also

                    Comment


                      #11
                      Smaller clone of notification at mGIGS Home
                      PHP Code:
                      //add core
                      function Notify($to,$frm,$msg){
                      if(!
                      isuser($frm))$frm=1;
                      if(
                      mysql_query("insert into ibwf_ntf values(NULL,$to,$frm,$msg,1,time())"))return true;
                      return 
                      false;
                      }
                      //add to index
                      elseif($action=="ntf"){
                      //html start
                      $q=mysql_query("SELECT * FROM ibwf_ntf WHERE uid='".getuid_sid($sid)."' ORDER BY dtime DESC LIMIT 20");
                      if(
                      mysql_num_rows($q)>0){
                      while(
                      $nt=mysql_fetch_array($q)){
                      if(
                      $nt[unread]==1)$urd="*";
                      $usr='<a href="index.php?action=viewprofile&amp;who='.$nt['who'].'&amp;sid='.$sid.'">'.getnick_uid($nt[who]).'</a>';
                      echo 
                      $urd.$usr."- ".$nt[msg]."<br/>";
                      }
                      mysql_query("update ibwf_ntf set unread='0' where uid='".getuid_sid($sid)."'");
                      }else{
                      echo 
                      "No notifications.";
                      }
                      //html stop
                      }

                      //sql structure
                      /*
                      table: ibwf_ntf
                      rows: id, int(100), auto_increment;
                      uid int(100); who int(100); msg varchar(100); unread int(1) default 1; dtime int(100);
                      */
                      //use
                      //$msg="wrote in your gbook";
                      //$to=id recvr
                      //$frm=id of snd
                      //Notify($to,$frm
                      ,$msg); 

                      Comment


                        #12
                        A new way to overload mysql of shared host. ;)

                        Comment


                          #13
                          is this all about the codin
                          http://myfacepals.com
                          MYFACEPALS SOCIAL NETWORKsigpic

                          Comment


                            #14
                            Thankz, gud work!
                            Last edited by puterafaiz; 09.10.09, 07:12.

                            Comment

                            Working...
                            X