Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-7537 now.

Topic Started by Link (fix completed in vcs)

Sorry of this problem is already in, couldn't seem to find a specific search to locate a possible duplicate.

This problem was pre-existing before the 3.0.2 upgrade as well.
I have this problem in prosilver. I am not sure about any other style.

If person A starts a topic, then person B posts on that topic, then person A deletes their post, the started by link in viewforum now says person B like it should, but when you click on it, it takes you to the profile of person A.

Comments / History

Posted by Eelke (QA Team) on Jul 14th 2008, 11:06

Confirmed on 3.0.1. This is when you click the link in the Author column in viewforum, the links in viewtopic are fine.

Changed ticket severity from "Uncategorised/normal" to "Severe"

Action performed by Acyd Burn (Server Manager) on Jul 14th 2008, 14:00

Posted by karlsemple (Former Team Member) on Jul 14th 2008, 14:27

Confirmed in phpBB 3.0.2 also!

Posted by AtomicUs5000 on Jul 22nd 2008, 18:35

I just wanted to ask that please, when there is a fix for this, to please include a way to fix or resync the currently messed up topics.
I have many topic author links that are not right, and that number grows almost daily for me.

Posted by blueray2048 on Jul 22nd 2008, 20:02

Hi,

I have experienced this issue also and found that there is missing update a field's value.

Here is my fix.
Test it on a test board before apply to live forum.

Open includes/functions_posting.php
FIND
Code: Select all
         $sql_data[TOPICS_TABLE] = 'topic_first_post_id = ' . intval($row['post_id']) . ", topic_first_poster_colour = '" . $db->sql_escape($row['user_colour']) . "', topic_first_poster_name = '" . (($row['poster_id'] == ANONYMOUS) ? $db->sql_escape($row['post_username']) : $db->sql_escape($row['username'])) . "'";


REPLACE WITH
Code: Select all
         $sql_data[TOPICS_TABLE] = 'topic_poster = ' . intval($row['poster_id']) . ', topic_first_post_id = ' . intval($row['post_id']) . ", topic_first_poster_colour = '" . $db->sql_escape($row['user_colour']) . "', topic_first_poster_name = '" . (($row['poster_id'] == ANONYMOUS) ? $db->sql_escape($row['post_username']) : $db->sql_escape($row['username'])) . "'";

Assigned ticket to user "Acyd Burn"

Action performed by Acyd Burn (Server Manager) on Jul 23rd 2008, 09:43

Posted by Acyd Burn (Server Manager) on Jul 23rd 2008, 09:44

This should fix it, yes... the topic poster was still the old one.

Changed ticket status from "New" to "Fix in progress"

Action performed by Acyd Burn (Server Manager) on Jul 23rd 2008, 10:21

Posted by blueray2048 on Jul 24th 2008, 11:23

Hmm...

Can you post the fix ?

Posted by ToonArmy (Development Team Member) on Jul 24th 2008, 12:05

It will appear in subversion in good time and then it will be in 3.0.3.

Posted by blueray2048 on Jul 24th 2008, 15:26

OK, Thanks,

Linked ticket with changeset: r8690

Action performed by Anonymous (I am too lazy to register) on Jul 28th 2008, 13:23

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by Acyd Burn (Server Manager) on Jul 28th 2008, 15:09

Ticket details

Related SVN changesets