Ok i tried at the SMF forum they said try here, I have two forums on my server. The first forum is active with members and posts, the second was for testing and adding mods, i now want to move all my members and posts to the new forum. how can i move members and posts?
I tried pointing the second forum to the first database but it just duplicated my first forum for me and lost all my mods and locked me out. :tickedoff:
so anyone got any ideas?
I have made a back up from the first forum, so if you can tell me a way to use it so i only get members and posts back that would be fantastic..
ANY IDEAS ;)
yep - you need to download a copy of the database open it with a text editor, and use phpmyadmin to upload the bits you need eg smf_members etc.
it may be easier to remove some of the mods, as that will mean less chance of incompatibilities.
well the only mods i got on there now, since i lost my last forum is TP and some themes for TP.
Do you know where i can get a text editor for the DB back up, I can't open it as its a gz file?
Quote from: Hugh Jorgen on July 04, 2006, 04:44:26 AM
well the only mods i got on there now, since i lost my last forum is TP and some themes for TP.
Do you know where i can get a text editor for the DB back up, I can't open it as its a gz file?
Maybe import it into a new db in phpmyadmin, and then re-export it without gz compression.
ok that looks like that might work. ok i have taken the table members from my first forum database, you think i should just drop it in my new one.?
most compression tools should be able to do a .gz file...
you will need to do more then just the members... matter of fact, it will be a little work...
one way to do it is to export using phpmyadmin to export just the data, not the tables themselves - that will cut the size down heaps. if you can (and you should be able to) you will need to use the "replace" tag instead of "insert"
you should be putting in all the data except the ones that are specific to the mods...
whatever you do, make a backup or two, that way if you get in strife you can put it all back and try again.
Hey guys, I could really use your expertise right now. As above, on my server, I have my current database and then I recently set up a new database with SMF 1.1 RC3 and TP.
Current database/messageboard:
http://www.thethirdoption.net/forums/index.php
Test database:
http://www.thethirdoption.net/smf/index.php
What I would like to do is move all the posts, members, etc to this new database but I've been digging through this messageboard and can't seem to find specific guidelines. Is there anyone out there who could possibly walk me through is? I've been in phpmyadmin before, but don't really understand it or databases all that well.
I would really, really appreciate it.
Muldoon
Sorry but you didnt look too well there is loads of post here and on smf about moving forums/database.
here are just a few
look at this (http://www.simplemachines.org/community/index.php?topic=15252.0) Topic it is 25 page long though
this (http://docs.simplemachines.org/index.php?board=83.0;sort=subject) on SMF in the docs
Ok thank you for the link.
My question is though, if I follow this:
You now need to import the database back into the new server. (It's actually on the same server though)...If I import the old database with the posts/members, etc. will I lose all work I did with Tiny Portal already on the new site, since it is a mod for SMF, with its current database?
All of the TP stuff that you wrote is in the same database as SMF. If you export and then import the database, your TP stuff will be part of it.
Ok, my concern is, with my old/current database with all the posts etc. is that when I copy it over to the new database, it will wipe out Tiny Portal since I'm overwriting this new database with the old one. Earlier in this thread it is recommended that someone should download a copy of the database and then open it in a text editor and use phpmyadmin to upload the bits you need eg smf_members etc. So if this is the way to go...what are the 'bits' that I need to upload to maintain all members/posts/pm's, and whatever else I need that I'm not thinking of...
As long as the versions of SMF do not differ between the 2 forums and the versions of TP do not differ between the 2 sites there will be no issues.
In fact when the versions are the same its as easy as just uploading a fresh SMF and doing a Database restore and then running the repair settings file to fix the paths.
Always remember - with the exception of 'custom themes' and mods everything else in TP and SMF IS the database. So as long as you have a full DB backup, u can get ur site back up within mins even if u accidently delete all the files
Well, I guess I don't know what to do then, because my old database runs SMF 1.0.7 WITHOUT Tiny Portal, while my new database (where I want to move everything from the old messagebard to) is SMF 1.1 RC3 along with Tiny Portal.
I don't know what to do...
Dont worry - its very easy
Go to simplemachines.org and go to their downloads section and get the RC3 upgrade package and run it - it will upgrade the whole forum system. Then u can easily transfer it.
Also do a search on SMF for 'repairsettings.php" or "repair.settings.php" (cant remember the exact name) thats the file u will need to repair all the paths for ur DB and forum once on the new server / domain
Oh and dont forget: always take a backup!
Thank you so much Aku. I'll give it a shot and let you know how it turns out.
Well the upgrade went well. And the transfer went great! Now I need to do some trouble shooting over at SMF about signing in, since some are signing in and it takes them to the old board.
Aku thank you so much!!!
yup thats where repair settings file comes in - it fixes ur "forum paths" for everything including database and files - welcome :up:
Everything seems to be in working order...thanks again!
http://www.thethirdoption.net/smf/index.php
oohh nice that theme suits ur site
thats a "fixed width theme" so not usable by a lot of sites which need wider displays - but fits urs perfectly :up:
welcome
Thx Aku!!
Just one thing, please put Blocs TP copywrite back in the footer of your site, it seem to be missing on both frontpage and forum
can u give me an example...I never deleted anything...that is how it turned out. I'd like to have it show the real/official way and also the code, if there is anything special to doing this so I don't screw it up. My apologies, I didn't mean for this to happen.
Oh, I do see what you mean, as it shows in the default theme, but not this one.... hmm
http://www.thethirdoption.net/smf/index.php
ok, should be fixed...
Heaps better :)