Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Import data phpbb 3.0.12 : modified image link

edited February 2016 in Vanilla 2.0 - 2.8

Vanilla 2.2
Theme Bootstrap
Serveur de Test :

Hello everyone,

I have a problem with importing phpbb to vanilla 2.2

Take for example this post:

When I do an import of the database phpbb, I find myself with links to fake pictures:

I want to say that it is not for all images

If I look at the code, we can realize that the import to change the link by removing all the points

Before the import in phpbb 3.0.12 :


After Import in vanilla 2.2 :

<img alt="httpwwwjournaldugeekcomfiles20130305136_thumbjpg">

I use the script vanilla porterplus :

Download :

Thank for your help



  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    This is the correct application for porting from other type forums

    Install this in the applications folder for vanilla

  • Options

    Thank you, but it does not convert bbcode

    Porterplus really is best studied for phpbb to vanilla 2

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    @Linc might be able to help with that. He knows more than anyone about this.

  • Options

    ok thank

  • Options

    porterplus.php is very old I wouldn't necessarily rely on it. most likely the newer poster superseded anything in it.

    grep is your friend.

  • Options

    I'll do my tests with the latest version of porterplus and you stay current

  • Options

    ok, I'll do my tests with the latest version of porterplus and you stay current

  • Options

    Hi all,

    I just import the phpbb3 base via script porterplus:

    I started the script and I got the error:
    Error: (2) array_pop() expects parameter 1 to be array, boolean given

    I made the correction that was told here:

    Open vanilla2export.php

    Find :
    return array_pop($value);

    Replaces with
    return $value ? array_pop($value) : '';

    Following this correction made on the script, it works

    Here is the result :

    Really boring export logs follow:
    Export Started: 2016-02-19 19:53:34
    Exported Table: User (30518 rows, 00:26.57)
    Exported Table: Role (14 rows, 00:00.00)
    Exported Table: UserNote (20 rows, 00:00.06)
    Exported Table: Rank (12 rows, 00:00.02)
    Exported Table: Permission (14 rows, 00:00.00)
    Exported Table: UserRole (57565 rows, 00:05.55)
    Exported Table: UserMeta (2086 rows, 00:01.06)
    Exported Table: Category (297 rows, 00:00.15)
    Exported Table: Discussion (6072 rows, 00:03.51)
    Exported Table: Comment (65351 rows, 00:54.25)
    Exported Table: UserDiscussion (133 rows, 00:00.02)
    Exported Table: Poll (13 rows, 00:00.03)
    Exported Table: PollOption (55 rows, 00:00.03)
    Exported Table: PollVote (218 rows, 00:00.03)
    Exported Table: Conversation (3388 rows, 00:00.98)
    Exported Table: ConversationMessage (6863 rows, 00:05.31)
    Exported Table: UserConversation (6300 rows, 00:00.60)
    Exported Table: Media (38 rows, 00:00.03)
    Exported Table: Ban (460 rows, 00:00.15)
    Export Completed: 2016-02-19 19:55:15
    Elapsed Time: 01:40.81
    It worked! You’re free! Sweet, sweet victory.

    The forum is imported into Vanilla 2. The problem images is corrected

    I have a new problem with avatars that do not appear.

    Also, the plugin "Default Avatar" no longer works. The following image is parametered in the plugin:

    Can you tell me what to do to correct the importing Member avatars?

    Thanks for your help.

  • Options
    edited February 2016

    Looking at the error avatar, here is my inquiry :

    Take for example the admin avatar:

    First, I see in the link of the avatar:


    I have a "phpbb" upload folder does not exist.

    I therefore creates and gives it a right to access 777

    I remake the import of phpbb with the script "porterexport"

    No avatar is placed in the folder uploads/phpbb

    I take all the avatars in phpbb and copies in the folder uploads/phpbb

    And then I realize that the script adds a letter to each avatar name.

    Example :

    **In phpbb for Admin Avatar : **

    In vanilla 2 Call link is:


    Here is a mistake I already found.

    the script adds the letter n in the name of the avatar file

    How to fix the script porterexport.php

    thank you for your reply

  • Options
    edited February 2016

    Could you correct my previous post:

    Change :

    Hi all,
    I just import the phpbb3 base via script porterplus:

    Remplace with

    Hi all,
    I just import the phpbb3 base via script porterexport:

    Thank and you can delete this post =)

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Vanilla uses the userpics folder to store the avatars . You can't use the other folder because vanilla looks for the userpics folder.

  • Options


    Why porterexport script modifies the source files avatars like this:


    It is an error in the script?

  • Options
    edited February 2016

    Hello everyone

    I can not get out of this bug!!!

    I use the script:

    I installed a new forum vanilla 2.

    I launch the script porter-master

    I select:

    • Source Forum Type: phpbb3
    • Table Prefix: phpbb_
    • Database: the database of my phpbb3 forum

    I do not select avatar


    Avatars are always imported with an error: the link is for example:"

    I edit the file phpbb3.php in folder ../porter-master/packages

    I changing the line 17 by 'Avatars' => 0,

    I raise an import operation and the error is always the same!

    For the import operation to phpbb3 of vanilla 2, I do not want to import the avatars

    I let you watch here the result of my problem:

    I sincerely believe that the script has a bug on the part avatars for forums under Phpbb3

    Thanks for your help

  • Options
    edited February 2016

    I just installed a new version of VANILLA 2

    I have the same error on my internal server:

    Why this folder and this letter : vanilla_original/uploads/phpbb/n88d2ccad8610c332e55d03fb89c92923_2.png

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    This might be due to the tags in the original forum. You will need to change the format to html before porting it over.

    After Import in vanilla 2.2 : It tried to convert the formatting because [img] is not html format and stripped it. 
    <img alt="httpwwwjournaldugeekcomfiles20130305136_thumbjpg">

    The correct format is this:

    <img src=""/>

  • Options
    edited February 2016


    Thank for your post.

    The image of my forum is ok with the script of poster-master

    I now have a problem only on the import of avatars of my phpbb3 forum to vanilla 2! =)

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Make sure you import them into the uploads/userpics folder

  • Options
    edited February 2016

    yes, but why the script adds a letter n front of the file name link?
    Look good the second image of my previous post

    or look here :

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    You can't use the folder phpbb for the userpics, you need to put the avatars in the userpics folder.
    Even if you make a phpbb folder with avatars, they should appear, however that is not the right place for the avatars. It is called userpics .

    Something in the script is adding that I suppose.. but I don't know.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    @Linc , is the author, I hope he can shed light on this bug..

Sign In or Register to comment.