Problem with bbcode in news block

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Niks
Active Member
Posts: 1
Joined: 14. January 2010 09:19

Problem with bbcode in news block

Post by Niks »

Your Portal Version: 1.0.4
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Advanced Knowledge
Boardlink: Local only for moment

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
I try to display an other thing that the field 'post_text' inside each news block.
For that i've created an other field named 'heading' in phpbb_posts table.
It works, but bbcode inside heading field are not convert in html tag.

I think there is something to do there (in portal/includes/functions.php):

Code: Select all

// Second parse bbcode here
		if ($row['bbcode_bitfield'])
		{
			$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
		}
I changed it by:

Code: Select all

// Second parse bbcode here
		if ($row['bbcode_bitfield'])
		{
			$bbcode->bbcode_second_pass($message, $row['bbcode_uid'], $row['bbcode_bitfield']);
                        $bbcode->bbcode_second_pass($message2, $row['bbcode_uid'], $row['bbcode_bitfield']);
		}
Content of 'heading' is inside $message2 but bbcode are not convert...

Any help would be appreciated :) . Thanks.[/i]
Locked

Return to “board3 Portal 1.0.x - English Support”