Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Help to change v7.02.07

Asked Modified Viewed 937 times
G
Gary
G
Gary 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi there not sure if this is the correct place to post this. What I want to do is change over from SMF 2.0.9 over to PHPFusion v7.02.07.

Can anyone tell me if this is possible here as I would like to do this the same way it can be done in Simple Machines with many forums

Thanks
0 replies

1 post

D
DwB
D
DwB 10
  • Junior Member, joined since
  • Contributed 21 posts on the community forums.
  • Started 4 threads in the forums
answered
Junior Member

I'd say it is possible to do so.
Although you have to create an individual importer by yourself. I've created one for another CMS a few years ago, had some issues but it worked.
The way to do it would be roughly:
[ulist=disc]have a look at the database structure of SMF and PHPF
create some content in PHPF to identify the necessary fields and the corresponding ones in SMF
read the database of SMF and convert the database fields in the one PHPF uses[/ulist]
For example:

The table "SMF_topics" contains the threads of your board. The corresponding table within PHPF would be "PHPF_threads". Now here you have on both sites some information that could be easily transfered:

SMF_topics.id_topic = PHPF_threads.thread_id
SMF_topics.id_board = PHPF_threads.forum_id

But now comes the tricky part: you need to get the subject of the thread since this information ist stored in PHPF within the table "PHPF_threads" but in SMF in the table "SMF_messages". Now I don't have SMF installed to verify but I assume that

SMF_topics.id_first_msg = SMF_messages.id_msg

therefore

SMF_messages.subject of SMF_topics.id_first_msg = SMF_messages.id_msg = PHPF_threads.thread_subject

Now there are severals tables which don't have a counterpart in PHPF, such as all log_*-tables.
AND: importing the user-tables could be a pain in the ass since, if I've read Sbs-Auth.php correctly, SMF uses SHA1 with the password, PHPF still doesn't have a selection what kind of password protection you prefer. It is until now hard coded with SHA256. So you have either tell every single user that by changing the CMS they have to make a new password by themselves OR you change the encryption of PHPF by yourself to use SHA1 instead of SHA256 (although I don't recommend it).

Enjoy.

Edit: just found by Google that there are several importer-scripts available for SMF into other CMS/forums. Might be a good idea to have a look at them to get to know how to proceed for PHPF. Also have a look at e107, they come with an importer mentioned ony for user import of SMF buth the code also imports forums, threads and posts. And maybe #1434 of the Roadmap will be developed as well (among the other conversions scripts).
Edited by DwB on 13-01-2015 09:52,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

D
D
DwB 10
  • Junior Member, joined since
  • Contributed 21 posts on the community forums.
  • Started 4 threads in the forums
G
G
Gary 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet