Log in

View Full Version : Help with PostID/Report and IP logged...


deSPIse
07-28-2004, 04:11 AM
Ok i recently designed a new skin for my forums and everything seems to be great but on showthread/postbit i have a image at the bottom of each post which contains an IP and Report link within the image... only problem is that the postID is somehow misconstrued and it links only to the first post... does anyone know what i did wrong here?

u can view wha i am talking about by going here:
http://micbooth.com/forums/showthread.php?styleid=5&postid=21967&s=#post21967

Thanks in advance

deSPIse
07-28-2004, 04:24 AM
btw, here is my postbit template if someone needs to refer to it...

<table background="images/rhymeskin/images/forumback.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->



<div align="center">
<table width="700"cellpadding="0" cellspacing="0">
<tr>
<td width="700" height="30" background="images/rhymeskin/images/category.gif">

<img src="images/rhymeskin/images/space.gif" width="70" height="1">
<a href="editpost.php?s=$session[sessionhash]&amp;action=editpost&amp;postid=$post[postid]"><smallfont color="2E4D65"><b>Edit</a>&nbsp;or <a href="newreply.php?s=$session[sessionhash]&amp;action=newreply&amp;postid=$post[postid]"><smallfont color="2E4D65">Quote</smallfont></a> This Post</b></smallfont>


</td>
</tr>
</table>
</div>


<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="700">
<tr>
<td valign="top" width="565">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="565">
<tr>
<td valign="top" height="69">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="565">
<tr>
<td valign="top" height="20"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_top.gif" width="565" height="20"></td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="565">
<tr>
<td valign="top" height="20" width="291"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbuttons_left.gif" width="291" height="20"></td>
<td valign="top" height="20" background="http://www.micbooth.com/forums/images/rhymeskin/images/postbuttons_back.gif" width="224">

<center>
$post[pmlink] $post[search] $post[buddy]
</center>

</td>
<td valign="top" height="20" width="50"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbuttons_right.gif" width="50" height="20"></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td valign="top" height="29"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_titletop.gif" width="565" height="29"></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="565" height="19">
<tr>
<td valign="top" height="19" width="10"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_nameleft.gif" width="10" height="19"></td>
<td valign="top" height="19" background="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_nameback.gif" width="162">
<p align="center"><b><font size="2" face="Verdana" color="#7DAACB">
<a style="text-decoration:none" href="member.php?s=$session[sessionhash]&amp;action=getinfo&amp;userid=$post[userid]" alt="Click Here to See the Profile for $post[username]">$post[username]</a>

</font></b></td>
<td valign="top" height="19" width="15"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_titleleft.gif" width="15" height="19"></td>
<td valign="middle" height="19" bgcolor="#4478A0" width="355"><font face="Verdana" size="1" color="#BFD6E6">
$post[title]

</font></td>
<td valign="top" height="19" width="23"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_titleright.gif" width="23" height="19"></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td valign="top" height="12"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_titlebottom.gif" width="565" height="12"></td>
</tr>
</table>
</div>
</td>
<td valign="top" width="135">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="135">
<tr>
<td valign="middle" width="100" height="100" bgcolor="#497194" background="http://www.micbooth.com/forums/images/rhymeskin/images/avy100.gif">
<center>
$post[avatar]
</center>
</td>
<td valign="top" width="35"><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/postbit_avright.gif" width="35" height="100"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</center>
</div>






<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="0" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{secondaltcolor}" background="images/rhymeskin/images/secondpostback.gif" width="174" valign="top">
<table width="100%" cellpadding="8" cellspacing="0">
<tr><td>





<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="4" width="135">
<tr>
<td valign="top">
<div align="center">
<table border="1" cellpadding="2" cellspacing="0" width="135" style="border-collapse: collapse" bordercolor="#7C94B2">
<tr>
<td bgcolor="#284D6A"><font color="#BFD6E6" size="1" face="Verdana"><b>$post[usertitle]</b></font></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td valign="top">
<div align="center">
<table border="1" cellpadding="2" cellspacing="0" width="135" style="border-collapse: collapse" bordercolor="#7C94B2">
<tr>
<td bgcolor="#284D6A"><font size="1" face="Verdana" color="#BFD6E6"><b>Joined:</b>
</font><font size="1" face="Verdana" color="#DFDFDF"><b>$post[joindate]</b></font></td>
</tr>
</table>
</div>

</td>
</tr>
<tr>
<td valign="top">
<div align="center">
<table border="1" cellpadding="2" cellspacing="0" width="135" style="border-collapse: collapse" bordercolor="#7C94B2">
<tr>
<td bgcolor="#284D6A"><font size="1" face="Verdana" color="#BFD6E6"><b>Location:</b>
</font><font size="1" face="Verdana" color="#DFDFDF"><b>$post[field2]</b></font></td>
</tr>
</table>
</div>

</td>
</tr>
<tr>
<td valign="top">
<div align="center">
<table border="1" cellpadding="2" cellspacing="0" width="135" style="border-collapse: collapse" bordercolor="#7C94B2">
<tr>
<td bgcolor="#284D6A"><font size="1" face="Verdana" color="#BFD6E6"><b>Posts:</b>
</font><font size="1" face="Verdana" color="#DFDFDF"><b>$post[posts]</b></font></td>
</tr>
</table>
</div>

</td>
</tr>

<tr>
<td valign="top">
<div align="center">
<table border="1" cellpadding="2" cellspacing="0" width="135" style="border-collapse: collapse" bordercolor="#7C94B2">
<tr>
<td bgcolor="#284D6A"><font size="1" face="Verdana" color="#BFD6E6"><b>Style:</b>
</font><a href="showthread.php?styleid=$post[styleid]&postid=$post[postid]&s=$session[sessionhash]#post$post[postid]"><font size="1" face="Verdana" color="#DFDFDF"><b>$post[styletitle]</a></b></font></td>
</tr>
</table>
</div>

</td>
</tr>

</table>
</center>
</div>

<center>
<smallfont>$post[foldericon]
$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont>
</center>


</td></tr></table>

</td>

<td bgcolor="{firstaltcolor}" background="images/rhymeskin/images/firstpostback.gif" width="100%" valign="top">
<table cellpadding="4" width="100%">
<tr><td>

<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]&amp;postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
</td></tr></table>
</td>
</tr>

<tr>
<td bgcolor="$post[backcolor]" background="images/rhymeskin/images/secondpostback.gif" width="174" height="16" nowrap>

</td>

<td bgcolor="$post[backcolor]" background="images/rhymeskin/images/firstpostback.gif" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td>
</td>
<td align="right" nowrap>

</td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr>
</table>

<div align="center">
<table width="700" height="30" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>

<map name="FPMap3">
<area href="postings.php?do=getip&p=$post[postid]" shape="rect" coords="44, 2, 76, 23">
<area href="report.php?s=$session[sessionhash]&amp;postid=$post[postid]" shape="rect" coords="82, 3, 139, 21"></map><img border="0" src="http://www.micbooth.com/forums/images/rhymeskin/images/post_bottom.gif" usemap="#FPMap3" width="700" height="30">
</td></tr></table>
</div>



<br>
<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
<table background="images/rhymeskin/images/forumback.gif" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>

deSPIse
07-29-2004, 01:14 AM
up...