Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: RoflGuy - toukokuu 24, 2011, 01:30:58 IP

Otsikko: Copying only Boards and Catagories
Kirjoitti: RoflGuy - toukokuu 24, 2011, 01:30:58 IP
Hmm , title says it but i don't want to copy the comments and threads in it

Only the boards and catagories and its detailes...
Otsikko: Re: Copying only Boards and Catagories
Kirjoitti: starcarlton - toukokuu 24, 2011, 11:50:55 IP
log in with your php admin - you can export the single files for the boards and categories - export each one  - one at a time - not together to be safe.

smf_boards
smf_categories

then on your new site and database - log into php admin - delete the same name of the boards / categories - and import the saved versions you have.

I did it this way and it worked for me.

back up everything before doing this
Otsikko: Re: Copying only Boards and Catagories
Kirjoitti: RoflGuy - kesäkuu 03, 2011, 11:33:50 AP
Um, i didn't get it... i do what u say.. i get .txt i import it it give me error
Otsikko: Re: Copying only Boards and Catagories
Kirjoitti: IchBin™ - kesäkuu 03, 2011, 04:45:06 IP
You should probably post the error you got then if you want someone to help.
Otsikko: Re: Copying only Boards and Catagories
Kirjoitti: RoflGuy - kesäkuu 05, 2011, 06:19:52 AP
Well it cannot be copied... and its so long :S


but something about freehoster1 ... (my old hoster) ..
Otsikko: Re: Copying only Boards and Catagories
Kirjoitti: sharks - kesäkuu 05, 2011, 09:54:52 AP
I'm not sure what are the exact tables in the database but i would probably go about this using phpmyadmin and then select the tables that i would not want to copy and "drop" them, so they will be deleted, leaving only what you need. then you can download these tables. i'm not a master coder, so i would probably use the simpler techniques to achieve the same thing, although a bit longer.

Here is my suggestion. You create a new forum with a different prefix, and then import these selected tables. Then delete the duplicate tables with the new prefix and finally rename the imported data tables to the new prefix. That should work, although your new smf forum should be exactly the same version as your imported forum, to minimize the risk of crashes or incompatibilities.
Otsikko: Re: Copying only Boards and Catagories
Kirjoitti: Aleksi "Lex" Kilpinen - kesäkuu 27, 2011, 03:29:07 AP
Hi killerftw, did you get this done or do you still need assistance with this? :)