Jump to content
Pete M

got a CC project for everyone... solved!! holy crap!

Recommended Posts

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. :L: 

Share this post


Link to post
Share on other sites

have I asked for the impossible?  :pcwhack:

Share this post


Link to post
Share on other sites

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:cool:

Share this post


Link to post
Share on other sites

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.   :redx:

 

It's not easy, I know that.  :peep:   and there's no guarantee of success either. :( 

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites
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.  :popcorn:

Share this post


Link to post
Share on other sites

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:

 

Share this post


Link to post
Share on other sites

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. 

 

 

Share this post


Link to post
Share on other sites

build threads in long-ago member's signatures might be a good place to look. 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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=17030
https://comancheclub.com/topic/16070-im-building-another-trailer/

 

https://comancheclub.com/forums/viewtopic.php?t=78
https://comancheclub.com/topic/67-my-lift-pix/

 

https://comancheclub.com/forums/viewtopic.php?t=110
https://comancheclub.com/topic/95-won't-start/

 

http://www.comancheclub.com/forums/viewtopic.php?f=7&t=26095
https://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.

Share this post


Link to post
Share on other sites

:banana:  :jump:  :jammin:  :applause::beerchug:   :bowdown:

 

that deserves a whole bunch of emoticons! 

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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=17030
https://comancheclub.com/topic/16070-I'm-building-another-trailer/

 

https://comancheclub.com/forums/viewtopic.php?t=78
https://comancheclub.com/topic/67-my-lift-pix/

 

https://comancheclub.com/forums/viewtopic.php?t=110
https://comancheclub.com/topic/95-won't-start/

 

http://www.comancheclub.com/forums/viewtopic.php?f=7&t=26095
https://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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...