Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (MikeBTech, Ruben Rocha, 1 invisible), 25 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/29/08
Posts: 20
Top Posters (30 Days)
Ruben Rocha 159
Rick 116
Gizmo 105
Thelockman 61
driv 50
AllenAyres 38
ScriptKeeper 32
Mark S 30
Ian 30
ntdoc 24
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
#172824 - 01/09/07 04:04 AM All Forum IDs Changed
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 386
I imported my UBB Threads database and every single forum ID (we have over 400 sites) just changed. Why? Now every old link in our system and archives has broken, and I have to go through my live site and update every ID number to point to its new match - and there's no rhyme nor reason as to the change. I can't just subtract 2 everywhere, sometimes it's off by 1, sometimes by 4, etc.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#172825 - 01/09/07 04:06 AM Re: All Forum IDs Changed [Re: BellaOnline]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11968
Loc: Portland, OR; USA
UBB7 is a new product, from the ground up... You can't even really call it UBB.threads (other than the fact UBB.Threads7 was the name chosen for it). When things where imported, they where assigned new id's; this counts for users, posts, forums, threads, categories, etc.

You can use the redirector scripts that come with the UBB7 import files to redirect _old_ links to _new_ links.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#172827 - 01/09/07 05:12 AM Re: All Forum IDs Changed [Re: Gizmo]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 386
The redirector script doesn't do that. It doesn't know what the old ID was, to equate it to the new ID. I had to go into my live system database and change every ID by hand, to get at least the main links working. Every old URL in our system, in newsletters and articles and such - are all now invalid. The links to the "low carb forum" at ID xxx now point to the Entertainment News forum, because the ID has changed.

I agree the software is changed. But I don't see the need to randomly change the IDs of forum rows in the database, since they had IDs in the old system and IDs in the new system.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#172828 - 01/09/07 05:37 AM Re: All Forum IDs Changed [Re: BellaOnline]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11968
Loc: Portland, OR; USA
Topic/Posts/Forum id's should have transversed, they should be in the import_maps table which works only for the redirectors...
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#172829 - 01/09/07 05:50 AM Re: All Forum IDs Changed [Re: Gizmo]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 386
If you mean by transversed that the forum ID should have remained the same from the old to the new software, that isn't the case. Every forum ID except the first few (maybe IDs 1-10) changed. Some changed by 1, some changed by 2 and so on up to 4 I believe.

The redirectors send the incoming person to the wrong destination forum based on the ID #.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#172833 - 01/09/07 06:51 AM Re: All Forum IDs Changed [Re: BellaOnline]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11968
Loc: Portland, OR; USA
No, that isn't what i meant.

All of the id's of the old forums, posts, threads, users, etc should be stored in a separate table (import_maps), which only the redirector scripts use to send users to the proper locations.

The redirectors should have come with your importer.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#172851 - 01/09/07 10:59 AM Re: All Forum IDs Changed [Re: Gizmo]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
Loc: NJ

FWIW, I remember having the same problem when I imported. But since no one else was complaining about it, I figured it was just me... ;\)
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#172881 - 01/09/07 05:45 PM Re: All Forum IDs Changed [Re: jgeoff]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 11968
Loc: Portland, OR; USA
 Originally Posted By: jgeoff

FWIW, I remember having the same problem when I imported. But since no one else was complaining about it, I figured it was just me... ;\)
No bug, everything is re-indexed when inserted into the new MySQL database; the import_map was added in one of the early versions when we where tinkering with the importers, so the old data could reach the proper new locations.
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#172888 - 01/09/07 06:44 PM Re: All Forum IDs Changed [Re: Gizmo]
AllenAyres Moderator Offline

****

Registered: 12/29/03
Posts: 1631
Loc: Texas
True, the re-directors included with the import scripts *should* re-direct everyone to the correct place.
_________________________
- Allen
- ThreadsDev | PraiseCafe

Top
#172922 - 01/10/07 03:36 AM Re: All Forum IDs Changed [Re: AllenAyres]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 386
Here's an original URL -

http://forums.bellaonline.com/postlist.php?Cat=0&Board=225

all the redirector - the one supplied by UBB - does is send the person to the new forum's home page.

If I use the new forum URL with the old ID, it goes to the wrong board completely. So I just finished re-coding my entire live site with all new forum IDs. However, this doesn't help all those old URLs hard coded into articles and such.

If you believe the redirector is broken, I'd be pleased to see how that is to be fixed.
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
Page 1 of 3 1 2 3 >


Shout Box

Today's Birthdays
Eric Flyxe, mark_l_88@yahoo.com
Recent Topics
restricting a media tag to a single forum...
by bakerzdosen
11/21/08 12:52 PM
Recover topics??
by femistyle
11/21/08 12:22 PM
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
11/21/08 05:54 AM
Order of variables in language files should be permanent
by alnadabi
11/21/08 05:12 AM
How do I set Moderation Queue for an individual user?
by luket
11/20/08 11:28 AM
Forum Stats
4249 Members
33 Forums
30488 Topics
154665 Posts

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