PDA

View Full Version : [fixed] Moved Thread Bug (2)



Cary
Wed 25th Sep '02, 12:09am
Ok... Lemme see if I can explain this...

In this same forum (The Troubleshooting Forum), there is a thread entitled "Moved: Moved Thread Bug"...

Even though that thread was moved into the test forum, it's possible to reply to the Moved Copy. (Adding posts to the thread in this forum, while not adding them to the "real" thread.) So... I can bump the "Moved: Moved Thread Bug" Thread anytime I want.

(See: http://www.vbulletin.com/forum/showthread.php?s=&postid=352262 )

Anybody who's reading this is probably confused ;)
Let me know if I'm making any sense ;)

tubedogg
Wed 25th Sep '02, 12:21am
How did you do that? When I click on Moved Thread Bug, it took me to the thread in the test forum. So how did you reply to a thread that doesn't exist (and where did the poll come from?)

Cary
Wed 25th Sep '02, 12:31am
One day I was just playing around with the Thread ID's and I came across a Moved Thread (like http://www.vbulletin.com/forum/showthread.php?s=&postid=352262) so I played around with it more until I found exactly how it was done...

I have no clue where the poll came from...

John
Wed 25th Sep '02, 6:24am
The poll came from the fact that pollid is used to store the new threadid when one is moved.

Scott MacVicar
Wed 25th Sep '02, 9:42am
[newreply.php]

look for

$permissions=getpermissions($threadinfo[forumid]);

above it add


if ($threadinfo['open'] == 10) {
//send them to their correct thread
header("Location: newreply.php?s=$session[sessionhash]&threadid=$threadinfo[pollid]");
exit;
}

[showthread.php]

look for the second occurrence of


$forum=getforuminfo($thread['forumid']);

above it add


if ($thread['open'] == 10) {
// send them to their correct thread
header("Location: showthread.php?s=$session[sessionhash]&threadid=$thread[pollid]");
exit;
}

that was the only references where it could appear, if you find another way to reply or to view the moved thread just say.