BBCode Links Missing Colon

stoptime - December 16, 2008 - 22:47
Project:phpBB2Drupal
Version:6.x-1.4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there - 1st off, thank you! This is a great project.

My issue is that it seems bbcode links that look like this in the phpbb database:
[url]http://www.some-site.com[/url]

Are being transformed into either this (if keeping bbcode):
[url]http//www.some-site.com[/url]

Or this (if ditching bbcode):

As a result, Drupal is thinking these are local links, and doing this:

Any ideas? I'm using the latest version of the bbcode module (6.x-1.2). Thanks!

#1

nbz - December 16, 2008 - 22:49

I cannot see the latter, but the problem is probably with the bbcode module as that is used for the transformation.

WHen I imported data, I did not transform the bbcod -I kept it as it and just activated the bbcode filter as part of the default filter (but turned off the smart line break option that is part of bbcode.)

#2

stoptime - December 16, 2008 - 22:49

Sorry, the actual html got stripped out, but the "a" link has the same problem as the bbcode link.

#3

stoptime - December 16, 2008 - 23:06

For the Input format - did you select "not set yet"? Tx!

#4

nbz - December 16, 2008 - 23:12

no - I think you have to choose a format if you want to lose the bbcode.

#5

stoptime - December 17, 2008 - 14:46

Think I got it! In case anyone else needs this:

1. Make sure you have a BBCode Input Format setup.
2. In migration configuration, select BBCode Under Input Format settings.
3. In migration configuration, under Encoding setting, make sure "Change encoding of text strings during the import" is NOT checked.

This seemed to work better for me than trying to change BBCode into HTML.

Cheers.

#6

nbz - December 17, 2008 - 15:29

I doubt number three from that list has any impact on this, but the other two will allow your imported data to work correctly.

#7

Phliplip - October 3, 2009 - 14:33

Hi,

This probably helps #594980: Fix for empty bbcode uid

 
 

Drupal is a registered trademark of Dries Buytaert.