Skip to:
Content
Pages
Categories
Search
Top
Bottom

import untouched content


  • capsx
    Participant

    @capsx

    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)

  • Stephen Edgar
    Moderator

    @netweb

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


    capsx
    Participant

    @capsx

    wrong – check this link: example

    • This reply was modified 2 years ago by  capsx.
    • This reply was modified 2 years ago by  capsx.
    • This reply was modified 2 years ago by  capsx.

    Stephen Edgar
    Moderator

    @netweb

    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 2 years ago by  Stephen Edgar.
    • This reply was modified 2 years ago by  Stephen Edgar. Reason: markdown

    capsx
    Participant

    @capsx

    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 2 years ago by  capsx.
    • This reply was modified 2 years ago by  capsx.

    Stephen Edgar
    Moderator

    @netweb

    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

    @capsx

    this textarea suck …

    cant post normal CODE …

    see here

    • This reply was modified 2 years ago by  capsx.
    • This reply was modified 2 years ago by  capsx.

    capsx
    Participant

    @capsx


    capsx
    Participant

    @capsx

    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

    @capsx

    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>

    John James Jacoby
    Keymaster

    @johnjamesjacoby

    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

    @capsx

    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/


    Stephen Edgar
    Moderator

    @netweb

    @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 http://bbpress.trac.wordpress.org/ticket/1884

    • This reply was modified 2 years ago by  Stephen Edgar. Reason: code formatting

    capsx
    Participant

    @capsx

    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 ???


    Stephen Edgar
    Moderator

    @netweb

    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.