inbox

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

    inbox

    hi there i have looked all over this site to see if it is here befor i posted

    i am after coding so when i send a indox it shows what i am replying to when a member gets it

    eg:jo bloggs message hi how are you

    message back from jo blogs hi how are you
    message from tommy i'm good thanks

    hope ppl under stand what i mean and hope ppl can help me out and thanks to any one that can help me out
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only

    #2
    Originally posted by brand View Post
    hi there i have looked all over this site to see if it is here befor i posted

    i am after coding so when i send a indox it shows what i am replying to when a member gets it

    eg:jo bloggs message hi how are you

    message back from jo blogs hi how are you
    message from tommy i'm good thanks

    hope ppl under stand what i mean and hope ppl can help me out and thanks to any one that can help me out
    i think most lava edit have it, its the "conversation/dialog" option in the inbox, u can view what message u sent and what the other sent u
    Last edited by capofret; 13.07.09, 03:58.
    LDSWAPWORLD sigpic
    site closed.
    im busy with other things in life like facebook , send me PM so i can add you
    www.pinoySG.com

    don't ask for help if you're not even helping yourself!
    i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


    Comment


      #3
      ya i want it to show what a member is replying to when they send a message back to them
      HELP THEM WHO HELPS YOU



      i only work on wapdesire v_2 coding only

      Comment


        #4
        Code:
        else if($action=="dialog"){
        $uid = getuid_sid($sid);
        $uname=getnick_uid($who);
         addonline(getuid_sid($sid),"Viewing dialog messages with <i>$uname</i>","");
        
        if($page=="" || $page<=0)$page=1;
        $myid = getuid_sid($sid);
        $pms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE (byuid=$uid AND touid=$who) OR (byuid=$who AND touid=$uid) ORDER BY timesent"));
        echo mysql_error();
        $num_items = $pms[0]; //changable
        $items_per_page= 7;
        $num_pages = ceil($num_items/$items_per_page);
        if($page>$num_pages)$page= $num_pages;
        $limit_start = ($page-1)*$items_per_page;
        if($num_items>0){
        	boxstart("Dialog");
        
        $pms = mysql_query("SELECT byuid, text, timesent FROM ibwf_private WHERE (byuid=$uid AND touid=$who) OR (byuid=$who AND touid=$uid) ORDER BY timesent LIMIT $limit_start, $items_per_page");
        while($pm=mysql_fetch_array($pms)){
        if(isonline($pm[0])){
        $iml = "<img src=\"images/onl.gif\" alt=\"+\"/>";
        }else{
        $iml = "<img src=\"images/ofl.gif\" alt=\"-\"/>";
        }
        $bylnk = "$iml<a href=\"index.php?action=viewuser&amp;who=$pm[0]&amp;sid=$sid\">".getnick_uid($pm[0])."</a>";
        echo $bylnk;
        $tmopm = date("d m y - h:i:s",$pm[2]);
        echo " $tmopm<br/>";
        echo parsepm($pm[1]);
        
        echo "<br/><br/>";
        }
        echo "<p align=\"center\">";
        if($page>1){
        $ppage = $page-1;
        echo "<a href=\"inbox.php?action=dialog&amp;page=$ppage&amp;sid=$sid&amp;who=$who\">«PREV</a> ";
        }
        if($page<$num_pages){
        $npage = $page+1;
        echo "<a href=\"inbox.php?action=dialog&amp;page=$npage&amp;sid=$sid&amp;who=$who\">Next»</a>";
        }
        echo "<br/>$page/$num_pages<br/>";
        if($num_pages>2){
        $rets = "Jump to page<form action=\"inbox.php\" method=\"get\"><input id=\"inputText\" name=\"page\" format=\"*N\" size=\"3\"/>";
        $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
        $rets .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\"/>";
        $rets .= "<input type=\"hidden\" name=\"who\" value=\"$who\"/>";
        $rets .= "<input id=\"inputButton\" type=\"submit\" value=\"Go\"/></form>";
        
        echo $rets;
        }
        }else{
        echo "<center>";
        echo "NO DATA";
        echo "</center>";
        }
        echo "<br/><br/><a href=\"rwdpm.php?action=dlg&amp;sid=$sid&amp;who=$who\">Download</a><br/>only first 50 messages</p>";
        here is also the inbox script incase u want the full code
        Attached Files
        LDSWAPWORLD sigpic
        site closed.
        im busy with other things in life like facebook , send me PM so i can add you
        www.pinoySG.com

        don't ask for help if you're not even helping yourself!
        i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


        Comment


          #5
          hi

          think he means he wants to be able to have the message that was sent above the reply box so u dont have to go looking for wot the person just sent you. if you got a bad memory be good for you then lol
          Wapchat4u


          Topsites4u

          Comment


            #6
            thats it dave that what i mean glad u understand what i mean so can any one help me out please
            HELP THEM WHO HELPS YOU



            i only work on wapdesire v_2 coding only

            Comment

            Working...
            X