Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
4 registered (mjuby, KuKuKaChu, tradge, Gizmo), 28 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: Yesterday at
Posts: 1
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#170604 - 12/19/06 02:51 PM Post IDs and external links
MacW Offline
newbie
Registered: 09/26/04
Posts: 35
Hello,

it seems that the importer renumbers posts. This breaks all external links to topics on the forum during the migration to version 7.

Is there a way to get a "old id, new id" map somewhere (MySQL)?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#170605 - 12/19/06 03:13 PM Re: Post IDs and external links [Re: MacW]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Please take a look at the following post which should help you.

http://www.ubbcentral.com/forums/ubbthreads.php?ubb=showflat&Board=11&Number=170348

.
Top
#170609 - 12/19/06 03:59 PM Re: Post IDs and external links [Re: ntdoc]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
Hmmm...

I just tried the .Classic redirect scripts for the first time and they don't seem to be entirely working...

/ubb/ultimatebb.php - Kinda works...

http://www.gangsterbb.net/ubb/ultimatebb.php?ubb=get_topic;f=12;t=000022
takes me to
http://www.gangsterbb.net/threads/ubbthr...ite_id=1#import

However, links like

http://www.gangsterbb.net/ubb/ultimatebb.php?ubb=forum;f=13
just takes me to the main Threads cfrm page, not the particular forum


/cgi-bin/ultimatebb.cgi - Gives me a blank page even with $redirect = 0;
Since most of my SE links are to the cgi pages, I've reverted back to the original for now.


For both redirect scripts:

$URL = "http://www.gangsterbb.net/threads";
$site_id = 1;
$redirect = 302; (0 doesn't help)
$search_friendly = 0;

Path to PERL is correct.

Clues?
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#170611 - 12/19/06 04:30 PM Re: Post IDs and external links [Re: jgeoff]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Well not sure about classic because I actually went from 6.5 Threads to 7.0 Threads and it worked for me and others.
Top
#170613 - 12/19/06 05:38 PM Re: Post IDs and external links [Re: ntdoc]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Links directly to the forum will just redirect to the main page, as we don't actually map the old forum ids to the new ones.

As for the cgi redirect problem. You might try looking at the server error logs if you have access to it, perhaps there is something in there as to what's going wrong.
Top
#170617 - 12/19/06 06:21 PM Re: Post IDs and external links [Re: Rick]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
Okay, I don't know what's going on, but the cgi links are now taking me to the Threads home page, instead of a blank page (with $redirect = 0;)

e.g.,
http://www.gangsterbb.net/cgi-bin/ultimatebb.cgi?ubb=print_topic;f=9;t=001279
(I reverted back to the original again; with the redirect that went to cfrm page)

Seems most of my .classic links are for print_topic and recent_user_posts (not sure if that gives a clue)


I'm not getting any errors in the log right now, but there are a few of these from around the time I was testing it before - which is the same error I got a while back, about the /none "directory":

[Tue Dec 19 15:35:14 2006] [error] [client xx.xx.xxx.xx] script not found or unable to stat: /home2/gbb/public_html/cgi-bin/none



Edited by jgeoff (12/19/06 07:15 PM)
Edit Reason: reverted .cgi script back
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#170639 - 12/19/06 08:09 PM Re: Post IDs and external links [Re: ntdoc]
MacW Offline
newbie
Registered: 09/26/04
Posts: 35
Thanks, that did it \:\)

Missed this part while migrating my forum to the v7.
Top
#170640 - 12/19/06 08:24 PM Re: Post IDs and external links [Re: MacW]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Great, glad to hear it.
Top
#170661 - 12/20/06 07:08 AM Re: Post IDs and external links [Re: ntdoc]
MacW Offline
newbie
Registered: 09/26/04
Posts: 35
Yeah. But there are still some error reports coming in from users about links not longer working. I'll analyze this further and see what the problem is.
Top
#170732 - 12/20/06 05:06 PM Re: Post IDs and external links [Re: MacW]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Perhaps ask them to logout and delete there cookie for your site and see if it makes any difference.
Top
#170741 - 12/20/06 05:59 PM Re: Post IDs and external links [Re: ntdoc]
MacW Offline
newbie
Registered: 09/26/04
Posts: 35
They have. It seems that the new post id is in fact different from the original post id for these posts. And the "mapper" scripts from the Imports folder can of course not fix that.
Top
#170743 - 12/20/06 06:16 PM Re: Post IDs and external links [Re: MacW]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Not sure if you're coming from threads or classic, but it should redirect you to the proper new post if you edited and uploaded all of the redirect scripts.
Top
#170869 - 12/22/06 01:45 PM Re: Post IDs and external links [Re: Rick]
MacW Offline
newbie
Registered: 09/26/04
Posts: 35
Hi, Rick

I've upgraded from 6.5 to the 7.x. For most posts it works, but for some posts it fails. Not sure what the difference is, and it will be hard to verify if these links worked with the old forum.

I guess I can live with the current status quo, if nothing else comes up.
Top
#170870 - 12/22/06 02:18 PM Re: Post IDs and external links [Re: MacW]
Mors Offline
addict
Registered: 06/26/06
Posts: 471
Loc: So. California
What are the messages.. post no longer exists ??
_________________________
Happy Customer !!!
Top
#170931 - 12/23/06 02:34 PM Re: Post IDs and external links [Re: Mors]
MacW Offline
newbie
Registered: 09/26/04
Posts: 35
"Page not found"
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181695 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image