Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Copying only Boards and Catagories

Aloittaja RoflGuy, toukokuu 24, 2011, 01:30:58 IP

« edellinen - seuraava »

RoflGuy

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...

starcarlton

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

RoflGuy

Um, i didn't get it... i do what u say.. i get .txt i import it it give me error

IchBin™

You should probably post the error you got then if you want someone to help.
IchBin™        TinyPortal

RoflGuy

Well it cannot be copied... and its so long :S


but something about freehoster1 ... (my old hoster) ..

sharks

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.

Aleksi "Lex" Kilpinen

Hi killerftw, did you get this done or do you still need assistance with this? :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: