Import data phpbb 3.0.12 : modified image link
Vanilla 2.2
Theme Bootstrap
Serveur de Test : http://88.181.151.128:8080/
Hello everyone,
I have a problem with importing phpbb to vanilla 2.2
Take for example this post:
http://www.tablette-chinoise.net/forum/tout-comprendre-sur-la-4g-lte-t3581#p43986
When I do an import of the database phpbb, I find myself with links to fake pictures:
http://88.181.151.128:8080/discussion/3581/tout-comprendre-sur-la-4g-lte
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 :
[img=center]http://www.journaldugeek.com/files/2013/03/05136_thumb.jpg[/img]
After Import in vanilla 2.2 :
<img alt="httpwwwjournaldugeekcomfiles20130305136_thumbjpg">
I use the script vanilla porterplus :
http://vanillawiki.homebrewforums.net/index.php/Importing
Download : https://dl.dropbox.com/u/15933183/porterplus/porterplus.php
Thank for your help
Comments
This is the correct application for porting from other type forums
https://vanillaforums.org/addon/porter-core
Install this in the applications folder for vanilla
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thank you, but it does not convert bbcode
Porterplus really is best studied for phpbb to vanilla 2
@Linc might be able to help with that. He knows more than anyone about this.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
ok thank
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.
I'll do my tests with the latest version of porterplus and you stay current
ok, I'll do my tests with the latest version of porterplus and you stay current
Hi all,
I just import the phpbb3 base via script porterplus:
https://vanillaforums.org/addon/porter-core
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:
https://vanillaforums.org/discussion/31407/vanilla-porter-error-2-array-pop-expects-parameter-1-to-be-array-boolean-given#latest
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 :
The forum is imported into Vanilla 2. The problem images is corrected
I have a new problem with avatars that do not appear. http://88.181.151.128:8080
Also, the plugin "Default Avatar" no longer works. The following image is parametered in the plugin:
http://88.181.151.128:8080/uploads/Icones/Avatar_default.png
Can you tell me what to do to correct the importing Member avatars?
Thanks for your help.
Looking at the error avatar, here is my inquiry :
Take for example the admin avatar:
First, I see in the link of the avatar:
src="http://88.181.151.128:8080/uploads/phpbb/n88d2ccad8610c332e55d03fb89c92923_2.png"
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 : **
88d2ccad8610c332e55d03fb89c92923_2.png
In vanilla 2 Call link is:
n88d2ccad8610c332e55d03fb89c92923_2.png
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
Could you correct my previous post:
Change :
Remplace with
Thank and you can delete this post
Vanilla uses the userpics folder to store the avatars . You can't use the other folder because vanilla looks for the userpics folder.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
ok,
Why porterexport script modifies the source files avatars like this:
src="http://88.181.151.128:8080/uploads/phpbb/n88d2ccad8610c332e55d03fb89c92923_2.png"
It is an error in the script?
Hello everyone
I can not get out of this bug!!!
I use the script: https://vanillaforums.org/addon/porter-core
I installed a new forum vanilla 2.
I launch the script porter-master
I select:
I do not select avatar
RESULT:
Avatars are always imported with an error: the link is for example:
http://88.181.151.128:8080/uploads/phpbb/n88d2ccad8610c332e55d03fb89c92923_13745.gif"
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: http://88.181.151.128:8080/
I sincerely believe that the script has a bug on the part avatars for forums under Phpbb3
Thanks for your help
I just installed a new version of VANILLA 2
I have the same error on my internal server:
http://192.168.1.10/vanilla_original/uploads/phpbb/n88d2ccad8610c332e55d03fb89c92923_2.png
Why this folder and this letter : vanilla_original/uploads/phpbb/n88d2ccad8610c332e55d03fb89c92923_2.png
This might be due to the tags in the original forum. You will need to change the format to html before porting it over.
The correct format is this:
<img src="http://www.journaldugeek.com/files/2013/03/05136_thumb.jpg"/>
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@vrijvlinder
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!
Make sure you import them into the uploads/userpics folder
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
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 : http://88.181.151.128:8080/
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.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@Linc , is the author, I hope he can shed light on this bug..
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌