one of the bbcodes

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Locked
lol
I've Been Banned!
Posts: 56
Joined: Fri Apr 09, 2021 7:34 pm

one of the bbcodes

Post by lol »

hi,
i have several custom bbcodes, and one of them is:

Code: Select all

[mention={NUMBER}]{IDENTIFIER}[/mention]

<span class="mention"><a href="memberlist.php?mode=viewprofile&u={NUMBER}">@{IDENTIFIER}</a></span>
when i upgrade the phpbb to a new version, all of the bbcodes in old posts work good except this one.
rather than showing @username, it shows: [mention=12345]username[/mention]

why? why after upgrading the phpbb, all of the bbcodes in old posts work good except "mention"?

thank you,
😂
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3726
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: one of the bbcodes

Post by Kailey »

You have to reparse the posts after upgrading. Old Mentions Stopped Working
If you don't have CLI access, you will need to edit each post.

Start a topic here. Custom coding is not for extension support.
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
Locked

Return to “phpBB Custom Coding”