Reparse BBCode sets topic author to last poster. - Support Toolkit
Reparse BBCode sets topic author to last poster.
I'm converting a forum from Typo3/mm_forum to phpBB (3.0.10) using this tool :
viewtopic.php?f=65&t=2115251
Everything works fine but I found that I need to use the STK to reparse BBCode or else the quotes/ nested quotes do not show up. After running the 'Reparse BBCode' functions (I have to check the select the 'Reparse all BBCodes' option for it to reparse all the posts) on every topic the topic author is set to the details of the last poster in that topic.
Is this a know issue, maybe with phpBB 3.0.10? Is there any way around this or is there a bug fix?
Thanks!
-
- Registered User
- Posts: 13
- Joined: Sun Nov 30, 2014 8:12 pm
- Contact:
Re: Reparse BBCode sets topic author to last poster.
-
- Registered User
- Posts: 13
- Joined: Sun Nov 30, 2014 8:12 pm
- Contact:
Re: Reparse BBCode sets topic author to last poster.
Due to a bug in the BBCode Reparser in all Support Toolkit versions prior to v1.0.5, some topics might be marked as started by a guest. To resolve this issue run the following query against your database.Code: Select all
UPDATE phpbb_topics SET topic_first_poster_name = (SELECT username FROM phpbb_users WHERE user_id = topic_poster) WHERE topic_first_poster_name = '';
If you use a different prefix don't forget to change phpbb_ to the prefix that you've chosen during installation.
https://www.phpbb.com/customise/db/offi ... tk/faq/628
-
- Registered User
- Posts: 13
- Joined: Sun Nov 30, 2014 8:12 pm
- Contact:
Re: Reparse BBCode sets topic author to last poster.
('topic_replies' & 'topic_replies_real' in 'phpbb_topics' in the database)
-
- Registered User
- Posts: 13
- Joined: Sun Nov 30, 2014 8:12 pm
- Contact:
Re: Reparse BBCode sets topic author to last poster.
That doesn't happen on a standard board.usju wrote:I just noticed that after running the re-parse function the number of reply counts for each topic gets increased by one.
('topic_replies' & 'topic_replies_real' in 'phpbb_topics' in the database)
And the topic author isn't changed by reparsing BBCodes.
Seems the Typo3/mm_forum convertor has messed up.
3.0.x: Knowledge Base ★ Styles Support ★ MOD Requests
3.1.x: Knowledge Base ☢ Styles Support ☢ Extension Requests
- Oyabun1
- Former Team Member
- Posts: 23162
- Joined: Sun May 17, 2009 1:05 pm
- Location: Australia
- Name: Bill
- Contact:
Re: Reparse BBCode sets topic author to last poster.
-
- Registered User
- Posts: 13
- Joined: Sun Nov 30, 2014 8:12 pm
- Contact:
Re: Reparse BBCode sets topic author to last poster.
It's the generic message importer (through XML files here):
viewtopic.php?f=65&t=2115251
that we are noticing these issues with.
I just did a quick test with a freshly setup board and made some test posts (not imported with the generic XML import tool) and ran the BBcode re-parser. Everything works as expected in that case.
The post count issue is already there before running the BBcode re-parser.
The topic author problem will occur (before the BBcode re-parse tool) when you edit a post in an existing thread. I guess the BBcode re-parse just brings out this issue en masse because it touched all the posts.
So it seems indeed that the generic XML import tool has some faults and the re-parser itself is not at fault.
Oyabun1 I see that you actually made changes/contribution to the generic XML message importer tool in the past:
viewtopic.php?f=65&t=2115251&start=15#p13267042
If you have some time it would be greatly appreciated if you could go through the code again and try to fix the issues!
I have the opportunity to test any changes in the tool as I am in the process of converting an other forum with this tool and have several VMs running to test.
-
- Registered User
- Posts: 13
- Joined: Sun Nov 30, 2014 8:12 pm
- Contact: