HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED] Simple Forum Conversion Question

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#65619 (In Topic #14058)
box
Avatar

Fan in action

Hi,

In converting a simple forum, my impression is that I really only need to specify three main elements:

  1. the members (user_id, username, email address, groups to which they belong);
  2. the forum groups available, and the boards to which each group has access;
  3. the posts made (and for each post: user_id of the poster, board on which the post was placed, number of the post to which it responds, date of post)
If that's accurate, it seems like the conversion is something that can be done in a spreadsheet- just compare the formats of the existing forum and OCF, and substitute the new for the old.

Is it really that simple (if laborious), or have I misunderstood the problem?

(For the record, I'm converting an SMF 2 forum.)

Thanks!
J
Back to the top
 
Posted
Rating:
#65620
Avatar

We have an SMF importer. But if you are interested in doing it by hand, take a look at that importer (probably called smf.php) and see how it calls our forum API functions. You can then look to see what these functions require. Usually the API is easier to work with than direct DB access, and fills in the blanks nicely.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#65621
box
Avatar

Fan in action

Hi Chris,

I was under the impression that your importer only worked with SMF 1.1, and that while OCP could synchronize with SMF 2, it couldn't actually import it.

Perhaps I've misunderstood– the importer actually converts (or perhaps clones and then modifies) existing files of a given third-party forum script to OCF's format, is that correct?

This leads me to another question: As my intent is to stop using SMF and convert my existing SMF posts and users to OCF, on Step 3 of the install, do I

  1. specify OCF as the forum, on the understanding that I'll submit the address of the old SMF database to be copied on some subsequent step; or,
  2. or do I specify SMF as the forum, on the understanding that on some subsequent step I'll specify that I want the SMF forum to be converted?

Thanks! :)
Back to the top
 
Posted
Rating:
#65622
Avatar

Ah, you may be right. Regardless it may be easier if you're considering programming anyway for you to improve the smf importer than write something new.

You probably want to install with OCF, although you don't have to - the importer system does allow a switch over, but it's more complex that way.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#65626
box
Avatar

Fan in action

Just so that I understand completely, I should select
  1. OCF, then
  2. "No" for sharing a forum or keeping forum and portal in separate DBs?

Given that I want to convert my SMF to OCF, are those the correct choices?

Thanks.
Back to the top
 
Posted
Rating:
#65630
Avatar

yes


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: