Previous Thread
Next Thread
Print Thread
Hop To
#43454 12/13/2004 6:50 PM
Joined: Dec 2004
Posts: 6
M
stranger
stranger
M Offline
Joined: Dec 2004
Posts: 6
i started modding the forum and i guess i messed it up along the way so i backed so i backed up the tables and through phpmyadmin i saved the db as a csv now what do i do
ubbthread 6.5

#43455 12/13/2004 6:59 PM
Joined: Aug 2004
Posts: 460
Addict
Addict
Joined: Aug 2004
Posts: 460
Check out this thread. Get the MySQL Tool and use it to restore your forums to a fresh install of Threads. That's what I did and it worked brilliantly. I understand that your backup was done using the CP in Threads, right?

When backing up double-check that ALL tables have been backed up: https://www.ubbcentral.com/boards/showflat.php/Cat/0/Number/40232/an/0/page/2#40232

#43456 12/13/2004 7:04 PM
Joined: Dec 2004
Posts: 6
M
stranger
stranger
M Offline
Joined: Dec 2004
Posts: 6
i backed them up through the controla panel and phpmyadmin

#43457 12/13/2004 9:23 PM
Joined: Dec 2004
Posts: 6
M
stranger
stranger
M Offline
Joined: Dec 2004
Posts: 6
ok i got it all backed up just to find out it is a sql problem how do i find out what sql table controlls the moving of posts?

#43458 12/13/2004 11:26 PM
Joined: Jun 2006
Posts: 742
enthusiast
enthusiast
Joined: Jun 2006
Posts: 742
? The inability to move posts woulnd't be MySQL related. That's done with a script, changing the board keyword in the post table.


Joshua Pettit
Web Developer
www.ThreadsDev.net | www.JoshuaPettit.com
#43459 12/14/2004 2:47 PM
Joined: Dec 2004
Posts: 6
M
stranger
stranger
M Offline
Joined: Dec 2004
Posts: 6
ya i found the problem its the database names for each forum they have spaces in them somehow so now i gotta figure out how to fix that

#43460 12/15/2004 12:04 AM
Joined: Jun 2006
Posts: 742
enthusiast
enthusiast
Joined: Jun 2006
Posts: 742
Ah - yeah, when you create a forum, the forum keyword should be just one word. I think I reported a bug where it allowed you to enter multiple keywords.

You could fix it with a series of MySQL queries. Backup your database first.

First take a look at your w3t_Boards table. You can view all the keywords with this query:

SELECT * FROM w3t_Boards


First we need to fix the boards table

UPDATE w3t_Boards
SET Bo_Keyword = 'newword'
WHERE Bo_Keyword = 'wrong words'

Fix the announcements table

UPDATE w3t_Announcements
SET A_Board = 'newword'
WHERE A_Board = 'wrong words'

Update the post tracking table.

UPDATE w3t_Last
SET L_Board = 'newword'
WHERE L_Board = 'wrong words'

Fix the moderators

UPDATE w3t_Moderators
SET Mod_Board = 'newword'
WHERE Mod_Board = 'wrong words'

Fix the posts

UPDATE w3t_Posts
SET B_Board = 'newword'
WHERE B_Board = 'wrong words'


I *think* that's all you need to do to change keywords. Where I have newword make it the unique keyword (one word no special characters or spaces) for the forum, where I have 'wrong words' put the old multiple keywords you had there.

Hope that helps.


Joshua Pettit
Web Developer
www.ThreadsDev.net | www.JoshuaPettit.com
#43461 12/15/2004 6:21 PM
Joined: Dec 2004
Posts: 6
M
stranger
stranger
M Offline
Joined: Dec 2004
Posts: 6
i backed up the sql tables for the boards and posts and edited the names in ultra edit useing ctrl r "find and replace"
changes the db names in phpmyadmin then delted the post table and reuploaded it and restored it

#43462 12/16/2004 12:06 AM
Joined: Jun 2006
Posts: 742
enthusiast
enthusiast
Joined: Jun 2006
Posts: 742
Ah good - that'll do it.


Joshua Pettit
Web Developer
www.ThreadsDev.net | www.JoshuaPettit.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 375 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)