Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
8 registered (carolinasoutdoor, David Dreezer, DougMM, Mark S, Ruben Rocha, Sirdude, 2 invisible), 22 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/04/09
Posts: 1
Top Posters (30 Days)
Ruben Rocha 96
Rick 85
Mark S 74
Gizmo 50
Thelockman 49
driv 35
Sirdude 32
ntdoc 28
packlite 26
AllenAyres 26
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#217515 - 10/02/08 02:23 PM Custom forum upgrade to UBB7.x problem
bandrej Offline
stranger

Registered: 09/08/07
Posts: 4
Hi all,
several years ago I have, for the purpose of learning, developed my own forum, which became in a certain smaller group of users (developers) somewhat popular.

But as time passed by, i kinda forgot about that community (i know it's no excuse, but i had others, larger ones to care for), so i really never upgraded that forum.

So now, after approximately seven years, i used my copy of ubbthreads to migrate whole community to a more stable environment. after a whole days work i finally managed to get this custom migration script working.

Most things work now, but there is only one problem left - i still don't have a working copy of POST_BODY in _posts table, only POST_DEFAULT_BODY.

It's obvious, with 15k+ posts i really don't want to edit every single message manually to repair it.

Is there any simple "rebuild all posts" type of command, or at least a sample part of generic importer code, which i could use to just get rid of this simple annoyance?


Thanks for your help.

Top
#217518 - 10/02/08 03:24 PM Re: Custom forum upgrade to UBB7.x problem [Re: bandrej]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
If you're running 7.3, then what you could do is use the Content Rebuilder section, and rebuild the post content. This will take what is in the POST_DEFAULT_BODY and then populate the POST_BODY field.

If your POST_DEFAULT_BODY already contains all of the marked up code and could be used directly, another option is just to run a simple query and set the POST_BODY to be the same as POST_DEFAULT_BODY

update ubbt_POSTS set POST_BODY = POST_DEFAULT_BODY
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#217520 - 10/02/08 03:35 PM Re: Custom forum upgrade to UBB7.x problem [Re: Rick]
bandrej Offline
stranger

Registered: 09/08/07
Posts: 4
Thank you very much Rick, looks like i'm gonna upgrade first and then let content rebuilder do its magic smile

Top


Shout Box

Today's Birthdays
theregit
Recent Topics
7.4.1 show/hide category bug
by Seattlebrian
Today at 11:56 AM
7.4.2 Discussion
by Rick
Today at 10:21 AM
UBBCentral now running 7.4.2
by Rick
Today at 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Forum Stats
4298 Members
33 Forums
30692 Topics
156037 Posts

Max Online: 978 @ 06/24/07 08:19 PM