Skip to:
Content
Pages
Categories
Search
Top
Bottom

import untouched content

  • @capsx

    Participant

    hello!

    is it possible to import untouched content ?
    i need to import forums from phpBB, and i need untouched content – import 1:1

    ???

Viewing 14 replies - 1 through 14 (of 14 total)
  • @netweb

    Keymaster

    When importing from phpBB BBCode is NOT converted, this will hopefully be an option in future releases.

    @capsx

    Participant

    wrong – check this link: example

    • This reply was modified 12 years, 4 months ago by capsx.
    • This reply was modified 12 years, 4 months ago by capsx.
    • This reply was modified 12 years, 4 months ago by capsx.

    @netweb

    Keymaster

    Have a look at the raw data in your MySQL database not the rendered HTML output, apart from some ‘line breaks’ (<br />) you will find this data is identical.

    phpBBv3: phpbb_posts.post_text   bbPress: wp_posts.post_content 

    If you are actually wanting the importer to convert phpBB’s BBCode during import that is being worked on for future versions of bbPress and the import/conversion tool.

    • This reply was modified 12 years, 4 months ago by Stephen Edgar.
    • This reply was modified 12 years, 4 months ago by Stephen Edgar. Reason: markdown

    @capsx

    Participant

    those was RAW data from MYSQL DB …

    i actually DON’T NEED to convert BBCodes – i need original post texts, and that is the problem, cause bbpress converter convert [quote] to DIV

    temporary fix was – to get original text from the phpbb_posts table via wp_postmeta key _bbp_post_id

    • This reply was modified 12 years, 4 months ago by capsx.
    • This reply was modified 12 years, 4 months ago by capsx.

    @netweb

    Keymaster

    OK, I’m with you now, are you going to use a BBCode plugin for bbPress to render the HTML output?

    I have just started working on a patch to add CSS for bbcode_quote, bbcode_quote_head, bbcode_quote_body and a few of the other CSS classes that are are parsed with bbp-parser.php

    @capsx

    Participant

    this textarea suck …

    cant post normal CODE …

    see here

    • This reply was modified 12 years, 4 months ago by capsx.
    • This reply was modified 12 years, 4 months ago by capsx.

    @capsx

    Participant

    @capsx

    Participant

    also btw – in the bbpress is bug in link parsing:

    link:

    <a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/">http://www.flickr.com/photos/29725651@N ... 105769752/</a>

    is parsed to:

    <a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/"></a><a href="http://www.flickr.com/photos/29725651@N">http://www.flickr.com/photos/29725651@N</a> &#8230; 105769752/

    @capsx

    Participant

    in example above, the problem is the DOTS.if we will remove those dots, parsing will be correct:

    <a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/">http://www.flickr.com/photos/29725651@N105769752/</a>

    is parsed to:

    <a href="http://www.flickr.com/photos/29725651@N02/sets/72157630105769752/">http://www.flickr.com/photos/29725651@N105769752/</a>

    @johnjamesjacoby

    Keymaster

    I don’t understand. Do you mean here at bbPress.org? If not, and you mean the bbPress software, it’s using whatever WordPress core uses.

    @capsx

    Participant

    check those two posts:

    link in standart WP post: http://wordpress.versuspro.lv/uncategorized/test/

    the same link in the forum: http://wordpress.versuspro.lv/forums/topic/test/

    @netweb

    Keymaster

    @capsx Those are phpBB ‘magic_url’ and phpBB by default will truncate/shorten all URL’s to 55 characters. It does this so there are not extremely long URL’s in posts. eg. This URL is 63 characters in length, phpBB will leave the ‘href’ in tact but shorten the displayed URL to 55 characters.

    <a href="http://www.example.com/directory/directory/directory/directory/">http://www.example.com/directory/directo ... directory/</a>

    phpBB SQL DB stores this in the posts table with the following code

    <!-- m --><a href="http://www.example.com/directory/directory/directory/directory/">http://www.example.com/directory/directo ... directory/</a><!-- m -->

    There is more info on ‘magic_url’ here and here.

    Thanks for posting your example code above.You may also want to look at https://bbpress.trac.wordpress.org/ticket/1884

    • This reply was modified 12 years, 4 months ago by Stephen Edgar. Reason: code formatting

    @capsx

    Participant

    i understand that phpBB truncate those urls

    the problem is – BBPRESS CANT SHOW THOSE URLS

    WP CAN …

    p.s. maybe we can talk in IRC ???

    @netweb

    Keymaster

    Sure jump into #bbpress on irc.freenode.net

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.
Skip to toolbar