parsing with decode_message without BBCODE_UID?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
mcopta
New member
New member
Posts: 1
Joined: 09 Apr 2015, 12:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

parsing with decode_message without BBCODE_UID?

Postby mcopta » 09 Apr 2015, 12:58

Hello,
i want to pass some posts from a phpbb3 forum with BBCode into another phpbb3 database.
The problem i have is, i lost* the BBCode releated database fields like bbcode_bitfield and bbcode_uid

*converting to MyBB and now back to phpbb3

This was my idea:

parse the post with decode_message($row['content'], $row['bbcode_uid']);

and then with

generate_text_for_storage($some_text, $new_uid, $new_bitfield, $bbcode_options, true, true, true)

to get all BBCode releated datas.

Problem is, for decode_message i need the bbcode_uid and i haven't that.

Anybody an idea?

Greets Markus

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB 3.0.x "Olympus" discussion”

Who is online

Users browsing this forum: No registered users and 9 guests