PDA

View Full Version : Post ID not being carried to the edit link... help!


CdaKnight
06-13-2002, 01:12 PM
I've been working on this error for about an hour.

It all started when I changed my profile/www/edit/quote/etc buttons into an IMAP to fit our theme. (http://forums.yosc.net)

But now, for some reason... the post id for the correct post gets to everything (report, etc), but not to edit or quote. And the user ID links (for profile, www, etc) go to the last user who posted on the thread. Below is what I have (whole thing) (But more specifically the IMAPS near the bottom). And if anybody can help me, I will be oh so grateful!!!


<table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td>
<td width="100%"><!-- spacer -->

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="95%" align="center">
<tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<a name="post$post[postid]"></a>

$post[firstnewinsert]
<normalfont><b>$post[namecolor]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="top">
<smallfont>$post[icon] <b>$post[title]</b></smallfont>
<p><normalfont>$post[message]</normalfont></p>
$post[attachment]
<p>$post[signature]</p>
<p>$post[editedby]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" width="175" height="16"
nowrap><smallfont>$post[foldericon]
$post[postdate] <font color="#006000">$post[posttime]</font></smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td><smallfont>$onlinestatus
<img src="images/lowermap.jpg" usemap="#lowermap.jpg" border="0">

<map name="lowermap.jpg">
<area shape="rect" coords="1,3,41,34" href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]" target="blank">
<area shape="rect" coords="49,1,84,39" href="private.php?s=$session[sessionhash]&action=newmessage&userid=$post[userid]" target="">
<area shape="rect" coords="87,4,122,42" href="$userinfo[homepage]" target="">
<area shape="rect" coords="134,3,180,33" href="search.php?s=$session[sessionhash]&action=finduser&userid=$post[userid]" target="">
<area shape="rect" coords="185,2,229,32" href="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$post[userid]" target="">

</map>
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>

<img src="images/editmap.gif" usemap="#editmap.gif" border="0">

<map name="editmap.gif">
<area shape="rect" coords="0,0,50,42" href="editpost.php
?s=$session[sessionhash]&action=editpost&postid=$post[postid]">

<area shape="rect" coords="52,3,179,35" href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]">
</map>
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10">
<img width="10" height="1" src="images/space.gif" alt=""></td></tr></table>



The post I have been using to test changes (b/c its small) is located at http://forums.yosc.net/showthread.php?s=&threadid=2827.

Thanks!

Chris!