inbox

Started on the old forum in July 2009 · view the original in the archive · old links redirect here

5 replies · 408 views · started 17 years ago · 1 min read

3 participants
brand Senior · 391 posts #1

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

External image (may be gone)

i only work on wapdesire v_2 coding only

capofret Developer · 225 posts #2

brand wrote: 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

LDSWAPWORLD 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.

External image (may be gone)

brand Senior · 391 posts #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

External image (may be gone)

i only work on wapdesire v_2 coding only

capofret Developer · 225 posts #4
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&who=$pm[0]&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&page=$ppage&sid=$sid&who=$who\">«PREV</a> ";
}
if($page<$num_pages){
$npage = $page+1;
echo "<a href=\"inbox.php?action=dialog&page=$npage&sid=$sid&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&sid=$sid&who=$who\">Download</a><br/>only first 50 messages</p>";

here is also the inbox script incase u want the full code

LDSWAPWORLD 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.

External image (may be gone)

Attachments: inbox.rar
nclemale36 Lead · 537 posts #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

brand Senior · 391 posts #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

External image (may be gone)

i only work on wapdesire v_2 coding only

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close