Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
6 registered (blaaskaak, Jake, Mark S, Ruben Rocha, WebMagic, 1 invisible), 16 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/14/07
Posts: 8
Top Posters (30 Days)
Ruben Rocha 177
Gizmo 110
Rick 109
Thelockman 80
driv 48
AllenAyres 35
Ian 31
ntdoc 27
Sirdude 23
ScriptKeeper 21
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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: 7898
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
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
changing colors in quoted thread box
by sbserves
11/30/08 07:08 AM
[7.3.1] Image Not Found
by BellaOnline
11/29/08 09:48 PM
Private topic (PM) to a user that doesn't exist...
by bakerzdosen
11/29/08 10:56 AM
Forum Permissions - Can see forum
by Geoff
11/29/08 08:55 AM
Forum Stats
4261 Members
33 Forums
30528 Topics
154942 Posts

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