Pete M Posted April 16, 2019 Share Posted April 16, 2019 we need a handful of examples of old broken links that are here on CC that are supposed to link back to a CC thread PLUS the actual current address to that thread. they happened when we got a forum upgrade a few years ago. If we can find a pattern to it, we may be able to auto-fix them. Link to comment Share on other sites More sharing options...
Pete M Posted April 17, 2019 Author Share Posted April 17, 2019 have I asked for the impossible? Link to comment Share on other sites More sharing options...
13 Legion Posted April 17, 2019 Share Posted April 17, 2019 Pete if my VCR wasn’t obsolete, it would still be flashing the time. I’m not real computer savvy, but could you break down what your asking so even a caveman could help Link to comment Share on other sites More sharing options...
Pete M Posted April 17, 2019 Author Share Posted April 17, 2019 this is a working link to a CC thread: https://comancheclub.com/topic/20486-official-mjs-earning-their-keep-thread/ this is an old non-working link to a CC thread: viewtopic.php?f=3&t=21845 when we changed to the current forum, the previously used embedded links stopped working due to (I'm guessing) incompatibilities between the softwares. what I'm looking for is the abbreviated, non-functioning link AND the actual address of the thread it was supposed to link to. If we can find a pattern, we might be able to fix them. It's not easy, I know that. and there's no guarantee of success either. Link to comment Share on other sites More sharing options...
gogmorgo Posted April 18, 2019 Share Posted April 18, 2019 Here's one that points at itself!! The second link in CWLONGSHOT's sig points at this thread. Erm... I think. http://www.comancheclub.com/forums/viewtopic.php?f=3&t=17030 Part of why this is difficult is it's tough to be 100% certain you've got the correct thread. What I did was go waaaay back to the beginning of the tech forum and start hunting for the first posts linking back to previous content. I figured it would be easier to confirm what thread it was pointing at when the selection was limited to only a small number of threads prior... but then my challenge became finding links at all. It's been a time consuming task and I haven't come up with many links so far. In fact only that one and the other one Pete used as an example. I stumble on those dead links every so often, but finding what they point at is tough. Link to comment Share on other sites More sharing options...
Pete M Posted April 18, 2019 Author Share Posted April 18, 2019 14 minutes ago, gogmorgo said: but finding what they point at is tough. a-yup. that's why I wanted to get the word out to everyone. maybe a couple of easy ones will get noticed. maybe. Link to comment Share on other sites More sharing options...
gogmorgo Posted April 18, 2019 Share Posted April 18, 2019 Found another one! This is apparently pointing at thread 78. From way back in 2005. https://comancheclub.com/forums/viewtopic.php?t=78 I'm noticing the new link puts it at 67. What's the chance they're both just numbered chronologically but some content has been deleted/lost along the way, leading to lower numbers on newer links? Seems to be a trend... if three results is enough to show a trend. Or possibly the later links are numbered chronologically by last post instead of first when shifted? Or not... That wouldn't necessarily make sense because the thread that I found the last one in is 45, and it predates the 78/67, but the last post is in 2006, by Eagle. I've got to say, it's pretty cool going way back and seeing posts by people who are still active 13 years later. That's a passion there, and a hell of an archive of knowledge. This is the thread I found the link in, BTW: Link to comment Share on other sites More sharing options...
gogmorgo Posted April 18, 2019 Share Posted April 18, 2019 And another one: https://comancheclub.com/forums/viewtopic.php?t=110 points to https://comancheclub.com/topic/95-won't-start/ I've been doing a bit of messing around. The early mismatches between numbers seem to be out from each other by about 16%, so I found another (dead number 486) and attempted to pull up threads by their numbers based off around 16% under... So I was going to start at 410 and work up to 430 in the new link format. Except then I discovered that the thread title is important to the address. As an example this thread is: https://comancheclub.com/topic/58110-got-a-cc-project-for-everyone/ but if you just put in https://comancheclub.com/topic/58110/ it gets you nowhere. Although it's a different sort of nowhere as the "file not found" dead links. Its late and I've been staring at old threads for too long. Link to comment Share on other sites More sharing options...
Pete M Posted April 18, 2019 Author Share Posted April 18, 2019 build threads in long-ago member's signatures might be a good place to look. Link to comment Share on other sites More sharing options...
kryptronic Posted April 18, 2019 Share Posted April 18, 2019 I'll post an example. I ran across one when I bought my 92. Here is an ad terrawombat posted years before he sold it to me: https://comancheclub.com/topic/50575-1992-jeep-comanche-sport-2wd-md/ In that thread, he says there's more info in his build thread and posted a link to this URL, which does not work (Not Found): http://www.comancheclub.com/forums/viewtopic.php?f=7&t=26095 The only build thread for this 92 I could find authored by terrawombat is at this URL, so I assume this is the URL that the above should be directed to: https://comancheclub.com/topic/24491-the-dailyest-of-drivers-1992-mj/ I see the same correlation as if post #26095 became post #24491 during the forum upgrade years ago. I'm going to do some digging in the database itself, but need more examples, please. Link to comment Share on other sites More sharing options...
kryptronic Posted April 18, 2019 Share Posted April 18, 2019 This is solved. By reverse engineering the links @Pete M and @gogmorgo posted, we were able to find an old conversion table in the database that mapped old topic ids from the old PunBB software to new topic ids used by IPB, which was upgraded to on August 20, 2012. This mapping was then verified against the test cases in this thread, and proved true: http://www.comancheclub.com/forums/viewtopic.php?f=3&t=17030https://comancheclub.com/topic/16070-im-building-another-trailer/ https://comancheclub.com/forums/viewtopic.php?t=78https://comancheclub.com/topic/67-my-lift-pix/ https://comancheclub.com/forums/viewtopic.php?t=110https://comancheclub.com/topic/95-won't-start/ http://www.comancheclub.com/forums/viewtopic.php?f=7&t=26095https://comancheclub.com/topic/24491-the-dailyest-of-drivers-1992-mj/ So we created a conversion script at /forums/viewtopic.php which uses the database to look up the id mapping, then redirect to the proper URL using the new format (which is topic id dash seo title). All the help is appreciated. Without people posting up what they thought were matches, we would not have discovered the mapping data was available. Link to comment Share on other sites More sharing options...
Pete M Posted April 19, 2019 Author Share Posted April 19, 2019 that deserves a whole bunch of emoticons! Link to comment Share on other sites More sharing options...
gogmorgo Posted April 19, 2019 Share Posted April 19, 2019 Wow. That's awesome. And it was waaaay quicker than I expected... In fact I wasn't even convinced it was a possibility. You guys rock! I did enjoy digging for links. I probably didn't need to go back quite so far for it, but it was cool to see stuff from when MJs were only 15-20 years old. It's pretty awesome that all this stuff is still around, and even better that it's functional again. Thank you guys a ton! Link to comment Share on other sites More sharing options...
Minuit Posted April 19, 2019 Share Posted April 19, 2019 Man, I'm glad someone knows how to do this stuff... you guys might as well be doing black magic from where I'm standing. Link to comment Share on other sites More sharing options...
JMO413 Posted April 19, 2019 Share Posted April 19, 2019 You guys are awesome! Link to comment Share on other sites More sharing options...
ComancheKid45 Posted April 19, 2019 Share Posted April 19, 2019 Awesome! It's great to have the links back to members projects Link to comment Share on other sites More sharing options...
Eagle Posted April 19, 2019 Share Posted April 19, 2019 On 4/18/2019 at 6:51 PM, kryptronic said: This is solved. By reverse engineering the links @Pete M and @gogmorgo posted, we were able to find an old conversion table in the database that mapped old topic ids from the old PunBB software to new topic ids used by IPB, which was upgraded to on August 20, 2012. This mapping was then verified against the test cases in this thread, and proved true: http://www.comancheclub.com/forums/viewtopic.php?f=3&t=17030https://comancheclub.com/topic/16070-I'm-building-another-trailer/ https://comancheclub.com/forums/viewtopic.php?t=78https://comancheclub.com/topic/67-my-lift-pix/ https://comancheclub.com/forums/viewtopic.php?t=110https://comancheclub.com/topic/95-won't-start/ http://www.comancheclub.com/forums/viewtopic.php?f=7&t=26095https://comancheclub.com/topic/24491-the-dailyest-of-drivers-1992-mj/ So we created a conversion script at /forums/viewtopic.php which uses the database to look up the id mapping, then redirect to the proper URL using the new format (which is topic id dash seo title). All the help is appreciated. Without people posting up what they thought were matches, we would not have discovered the mapping data was available. Who is this "we" to whom you make reference? I'm not sure, but I sort of think that "we" means Kryptonic and Kryptonic, and his other brother, Kryptonic. Nice work, Amigo. We are in your debt. Link to comment Share on other sites More sharing options...
kryptronic Posted April 19, 2019 Share Posted April 19, 2019 3 minutes ago, Eagle said: Who is this "we" to whom you make reference? I'm not sure, but I sort of think that "we" means Kryptonic and Kryptonic, and his other brother, Kryptonic. Nice work, Amigo. We are in your debt. This place is a team effort :) Happy to help. Link to comment Share on other sites More sharing options...
cruiser54 Posted April 20, 2019 Share Posted April 20, 2019 Unreal. Great job!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now