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 phpBB 3.1.x discussion forum.
Post Reply
mcopta
New member
New member
Posts: 1
Joined: 09 Apr 2015, 12:42

parsing with decode_message without BBCODE_UID?

Post by mcopta »

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
Post Reply