import from smf 2.0.17

Converting from other board software? Good decision! Need help? Have a question about a convertor? Wish to offer a convertor package? Post here.
JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

import from smf 2.0.17

Post by JeanCremers »

Hi,
Just a few days ago i tried to setup a smf forum but i can't get that forum to send email. Phpbb worked right out of the box but i can't find a way to convert the smf user base, the converters i found seem to be for older versions. Any suggestions please?
User avatar
janus_zonstraal
Registered User
Posts: 6615
Joined: Sat Aug 30, 2014 1:30 pm

Re: import from smf 2.0.17

Post by janus_zonstraal »

I think it is easier to start all over again with phpbb (if your board is only a couple of days old) or try to get the mail working on your SMF board.
Sorry! My English is bat ;) !!!
JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

Re: import from smf 2.0.17

Post by JeanCremers »

thanks for your reply. I finally got mail working by using a different smtp port.
User avatar
wintstar
Registered User
Posts: 363
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: import from smf 2.0.17

Post by wintstar »

JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

Re: import from smf 2.0.17

Post by JeanCremers »

Thank you. I installed a fresh phpbb but the extension doesn't show up in the ACP. I found a support thread and posted there.
If all succeeds, i already have the stopforumspam which i love working, i can choose the board i like best. :)
User avatar
wintstar
Registered User
Posts: 363
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: import from smf 2.0.17

Post by wintstar »

JeanCremers wrote: Thu Jul 09, 2020 11:06 am Thank you. I installed a fresh phpbb but the extension doesn't show up in the ACP. I found a support thread and posted there.
If all succeeds, i already have the stopforumspam which i love working, i can choose the board i like best. :)
There is no configuration area. If you have activated the extension, load the original phpBB install directory into root, where the config.php is. Then add the files from the install/convertors directory to the original phpBB install directory. Then go to www.deinforum.dev/install and click on the Convert tab. Then choose the converter "Simple Machines Forum 2.0.x 0.4.5 Dicky, A_Jelly_Doughnut, prototech, Juju".

Converter https://github.com/juju2143/smf2-phpbb-convertor
Last edited by wintstar on Thu Jul 09, 2020 5:02 pm, edited 1 time in total.
JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

Re: import from smf 2.0.17

Post by JeanCremers »

He thanks.

I am at the settings page for the converter. It asks for a prefix, is that the one from phpbb or smf?
For board path i can do something like ../forum for my smf board?
User avatar
wintstar
Registered User
Posts: 363
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: import from smf 2.0.17

Post by wintstar »

From your SMF Board Database. Default is smf_
JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

Re: import from smf 2.0.17

Post by JeanCremers »

it says it can'f find the original board. I entered ../forum
I also tried ../forum/
After the first time it does not give any errors but stays on the settings page, no conversion yet.

I have this for smf and phpbb

[site]/forum
[site]/phpbb
User avatar
wintstar
Registered User
Posts: 363
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: import from smf 2.0.17

Post by wintstar »

../forum

You may receive an error message Illegal use $_SERVER. Before you convert open with a suitable editor

phpbb/config/default/container/parameters.yml
change core.disable_super_globals:true to core.disable_super_globals:false. Clear the cache! After the conversion change back to core.disable_super_globals:true

Code: Select all

parameters: 
    # Disable the usage of the super globals (_GET, _POST, _SERVER...)
    core.disable_super_globals: true

    # Datetime class to use
    datetime.class: \phpbb\datetime

    # Mimetype guesser priorities
    mimetype.guesser.priority.lowest: -2
    mimetype.guesser.priority.low: -1
    mimetype.guesser.priority.default: 0
    mimetype.guesser.priority.high: 1
    mimetype.guesser.priority.highest: 2

    # List of default password driver types
    passwords.algorithms:
        - passwords.driver.argon2id
        - passwords.driver.argon2i
        - passwords.driver.bcrypt_2y
        - passwords.driver.bcrypt
        - passwords.driver.salted_md5
        - passwords.driver.phpass
Info for this https://www.ryadel.com/en/phpbb-turn-of ... variables/.
JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

Re: import from smf 2.0.17

Post by JeanCremers »

wintstar there's no error message, when i click Submit the page refreshes and all fields are back empty.
User avatar
wintstar
Registered User
Posts: 363
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: import from smf 2.0.17

Post by wintstar »

I think that error messages are disabled on your server. There must be an error, otherwise the converter would start after correct input.
JeanCremers
Registered User
Posts: 12
Joined: Tue Jul 07, 2020 9:48 am

Re: import from smf 2.0.17

Post by JeanCremers »

Edited the yml file and the import worked. I got a bunch of errors sql though, like 'unable to insert'. Most seems to be converted though.
Only the forum doesn't let me login, and if i try to get an email it it tells me invalid form and i could try submitting again.
Maybe i could hack somewhere in the db with phpadmin?
If you don't know a solution, I don't mind giving up at this stage, i still have the smf working.

Jean
User avatar
wintstar
Registered User
Posts: 363
Joined: Sat Mar 07, 2009 12:39 pm
Location: Central Hessen, close to the "heart of nature", Germany

Re: import from smf 2.0.17

Post by wintstar »

You should contact the author of the converter. The problem is that most converters are 1-time products and are not maintained. I can understand it because it is time consuming to create a converter. Most are created in private leisure time. And the authors hardly get a thank you for creating a converter, extension or style.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28941
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: import from smf 2.0.17

Post by Paul »

That most likely is caused by wrong cookie settings. You can try in a different browser, as that might work. Otherwise, you will need to check your cookie settings in phpmyadmin, and after that remove all files except .htaccess and index.htm from the cache/ directory.

Return to “[3.3.x] Convertors”