vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Post ID not being carried to the edit link... help! (https://vborg.vbsupport.ru/showthread.php?t=39812)

CdaKnight 06-13-2002 01:12 PM

Post ID not being carried to the edit link... help!
 
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!!!

PHP Code:

<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!


All times are GMT. The time now is 10:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00962 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete