nocturnix123
11-20-2002, 06:26 AM
Hope this is the right place to post this...
Hi, I recently had one of my members code the postbit I designed for my forums. The postbit as a whole is still far from being finished, but there is a bug/problem I need help with...and being that my site is new, we dont yet have the wealth of knowledge that vb.com has.
So on with my problem...
here are my forums http://www.forum-forum.com/forum/
and as you will notice after viewing a multi-post thread...the userid, and postid used for the edit,quote,pm,email,website etc. buttons are all that of the first post in the thread.
here is the content of my postbit template...
<center><br>
<a name="post$post[postid]"></a>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="714">
<tr>
<td width="100%" align="right" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="701">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<MAP NAME="edit">
<AREA SHAPE="RECT" COORDS="649,1,675,9" HREF="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]" FRAME="edit">
<IMG SRC="images/postbit/postbit_01.gif" USEMAP="#edit" BORDER="0" width="703" height="14"></MAP></td>
</tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="703" height="1">
<tr>
<td width="8" height="1">
<img border="0" src="images/postbit/postbit_02.gif" width="8" height="14"></td>
<td width="596" height="1" bgcolor="#F0F1F3"><b>
<font face="Verdana" size="1">$post[title] - $post[postdate] at $post[posttime]</font></b></td>
<td width="99" height="1" align="right" bgcolor="#F0F1F3">
<MAP NAME="quote">
<AREA SHAPE="RECT" COORDS="6,1,63,12" HREF="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]" FRAME="quote">
<IMG SRC="images/postbit/quote.gif" USEMAP="#quote" BORDER="0" width="69" height="14"></MAP></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/postbit_04.gif" width="701" height="11"><br>
<img border="0" src="images/postbit/postbit_03.gif" width="701" height="7"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="197" valign="top" background="images/postbit/postbit_06.gif">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="106" align="left" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<img border="0" src="images/postbit/user.gif" width="106" height="9"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userbox.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">$post[username]</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/status.gif" width="106" height="9"></td>
</tr>
<tr>
<td width="100%" height="18" background="images/postbit/statusbox.gif">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">$post[usertitle]</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/userinfo.gif" width="106" height="35"></td>
</tr>
</table>
</td>
<td width="91" align="center" height="89" background="images/postbit/avatarbg.gif">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="85" height="75">
<tr>
<td width="100%" align="center" valign="top">
<img src="$avatarurl" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfobg.gif">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="100%">
<tr>
<td width="100%">
<img border="0" src="images/postbit/usertop.gif" width="197" height="10"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfo1.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">F? Postbit is...</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/userinfo2.gif" width="197" height="5"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfo1.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">Under Construction...</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/userinfo3.gif" width="197" height="5"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfo1.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">Please bear with us...</font></td>
</tr>
<tr>
<td width="100%">
<MAP NAME="iplogged">
<AREA SHAPE="RECT" COORDS="0,16,87,30" HREF="postings.php?s=$session[sessionhash]&action=getip&postid=$post[postid]" FRAME="iplogged">
<IMG SRC="images/postbit/iplogged.gif" USEMAP="#iplogged" BORDER="0" width="197" height="40"></MAP></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="504" background="images/postbit/postbit_05.gif" align="left" valign="top">
<p style="margin-left: 5; margin-right: 20">
<font face="Verdana" size="1">$post[message]<br><br>
$post[attachment]<br><br>
$post[signature]<br>
$post[editedby]</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" background="images/postbit/postbit_06a.gif">
<p align="right">
<img border="0" src="images/postbit/postbit_08.gif" width="170" height="43"><br>
</td>
</tr>
<tr>
<td width="100%">
<MAP NAME="userbuttons">
<AREA SHAPE="RECT" COORDS="321,6,377,18" HREF="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" FRAME="profile">
<AREA SHAPE="RECT" COORDS="383,5,440,18" HREF="member.php?s=$session[sessionhash]&action=mailform&userid=$post[userid]" FRAME="email">
<AREA SHAPE="RECT" COORDS="445,5,502,19" HREF="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]" FRAME="search">
<AREA SHAPE="RECT" COORDS="508,5,564,19" HREF="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$post[userid]" FRAME="buddy">
<AREA SHAPE="RECT" COORDS="569,6,626,19" HREF="$userinfo[homepage]" FRAME="website">
<AREA SHAPE="RECT" COORDS="631,6,688,20" HREF="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]" FRAME="sendpm">
<IMG SRC="images/postbit/postbit_07.gif" USEMAP="#userbuttons" BORDER="0" width="714" height="27">
</MAP>
</td>
</tr>
</table>
<br>
</center>
Hi, I recently had one of my members code the postbit I designed for my forums. The postbit as a whole is still far from being finished, but there is a bug/problem I need help with...and being that my site is new, we dont yet have the wealth of knowledge that vb.com has.
So on with my problem...
here are my forums http://www.forum-forum.com/forum/
and as you will notice after viewing a multi-post thread...the userid, and postid used for the edit,quote,pm,email,website etc. buttons are all that of the first post in the thread.
here is the content of my postbit template...
<center><br>
<a name="post$post[postid]"></a>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="714">
<tr>
<td width="100%" align="right" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="701">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<MAP NAME="edit">
<AREA SHAPE="RECT" COORDS="649,1,675,9" HREF="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]" FRAME="edit">
<IMG SRC="images/postbit/postbit_01.gif" USEMAP="#edit" BORDER="0" width="703" height="14"></MAP></td>
</tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="703" height="1">
<tr>
<td width="8" height="1">
<img border="0" src="images/postbit/postbit_02.gif" width="8" height="14"></td>
<td width="596" height="1" bgcolor="#F0F1F3"><b>
<font face="Verdana" size="1">$post[title] - $post[postdate] at $post[posttime]</font></b></td>
<td width="99" height="1" align="right" bgcolor="#F0F1F3">
<MAP NAME="quote">
<AREA SHAPE="RECT" COORDS="6,1,63,12" HREF="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]" FRAME="quote">
<IMG SRC="images/postbit/quote.gif" USEMAP="#quote" BORDER="0" width="69" height="14"></MAP></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/postbit_04.gif" width="701" height="11"><br>
<img border="0" src="images/postbit/postbit_03.gif" width="701" height="7"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="197" valign="top" background="images/postbit/postbit_06.gif">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="106" align="left" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<img border="0" src="images/postbit/user.gif" width="106" height="9"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userbox.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">$post[username]</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/status.gif" width="106" height="9"></td>
</tr>
<tr>
<td width="100%" height="18" background="images/postbit/statusbox.gif">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">$post[usertitle]</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/userinfo.gif" width="106" height="35"></td>
</tr>
</table>
</td>
<td width="91" align="center" height="89" background="images/postbit/avatarbg.gif">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="85" height="75">
<tr>
<td width="100%" align="center" valign="top">
<img src="$avatarurl" border="0" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfobg.gif">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="100%">
<tr>
<td width="100%">
<img border="0" src="images/postbit/usertop.gif" width="197" height="10"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfo1.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">F? Postbit is...</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/userinfo2.gif" width="197" height="5"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfo1.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">Under Construction...</font></td>
</tr>
<tr>
<td width="100%">
<img border="0" src="images/postbit/userinfo3.gif" width="197" height="5"></td>
</tr>
<tr>
<td width="100%" background="images/postbit/userinfo1.gif" height="18">
<p align="left" style="margin-left: 8">
<font face="Verdana" size="1">Please bear with us...</font></td>
</tr>
<tr>
<td width="100%">
<MAP NAME="iplogged">
<AREA SHAPE="RECT" COORDS="0,16,87,30" HREF="postings.php?s=$session[sessionhash]&action=getip&postid=$post[postid]" FRAME="iplogged">
<IMG SRC="images/postbit/iplogged.gif" USEMAP="#iplogged" BORDER="0" width="197" height="40"></MAP></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="504" background="images/postbit/postbit_05.gif" align="left" valign="top">
<p style="margin-left: 5; margin-right: 20">
<font face="Verdana" size="1">$post[message]<br><br>
$post[attachment]<br><br>
$post[signature]<br>
$post[editedby]</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" background="images/postbit/postbit_06a.gif">
<p align="right">
<img border="0" src="images/postbit/postbit_08.gif" width="170" height="43"><br>
</td>
</tr>
<tr>
<td width="100%">
<MAP NAME="userbuttons">
<AREA SHAPE="RECT" COORDS="321,6,377,18" HREF="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" FRAME="profile">
<AREA SHAPE="RECT" COORDS="383,5,440,18" HREF="member.php?s=$session[sessionhash]&action=mailform&userid=$post[userid]" FRAME="email">
<AREA SHAPE="RECT" COORDS="445,5,502,19" HREF="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]" FRAME="search">
<AREA SHAPE="RECT" COORDS="508,5,564,19" HREF="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$post[userid]" FRAME="buddy">
<AREA SHAPE="RECT" COORDS="569,6,626,19" HREF="$userinfo[homepage]" FRAME="website">
<AREA SHAPE="RECT" COORDS="631,6,688,20" HREF="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]" FRAME="sendpm">
<IMG SRC="images/postbit/postbit_07.gif" USEMAP="#userbuttons" BORDER="0" width="714" height="27">
</MAP>
</td>
</tr>
</table>
<br>
</center>