Problem: old links

Oct 17, 2010 at 5:38 PM
Only Love, Maximum Love, Forever
"Life begins and ends with Nu."
Join Date: May 6, 2009
Location: somewhere new
Posts: 2135
Age: 29
Pronouns: he/him
Any links to a thread in any threads made before the move still link to miraigamer.net/forums (example: woodenrat's new post your pic thread, first post).
Not like it's a huge deal, but most of the time the links are broken because those threads don't exist on the forums anymore, with exception to the satellite lounge.
 
Oct 17, 2010 at 6:42 PM
Not anymore
"Run, rabbit run. Dig that hole, forget the sun."
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Pronouns: he/him
Replacing miraigamer.net with cavestory.org in the URL works well, since the topic and post numbers are all the same.

Even so, I don't think it's feasible to fix all the old links.
 
Oct 17, 2010 at 8:09 PM
/end
"Life begins and ends with Nu."
Join Date: Apr 29, 2008
Location:
Posts: 2459
Age: 20
It's sort of possible, but it's not easy.
 
Oct 18, 2010 at 6:11 AM
Pirate Member
"Heavy swords for sale. Suitable for most RPG Protagonists. Apply now!"
Join Date: Dec 26, 2007
Location: Lithuania
Posts: 1946
Hmm, I guess we should start editing some posts then! At least the official/important/stickied threads.
 
Oct 18, 2010 at 2:30 PM
Administrator
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6224
Age: 39
Pronouns: he/him
I've started fixing the links. Only 1219 posts to go. :D
 
Oct 18, 2010 at 4:23 PM
inactive user
"All your forum are belong to us!"
Join Date: Feb 13, 2010
Location: undead parish
Posts: 625
Ctrl+H
 
Oct 18, 2010 at 6:17 PM
Been here way too long...
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Sep 16, 2009
Location:
Posts: 519
You're not really doing them manually are you?
 
Oct 23, 2010 at 3:28 PM
Administrator
Forum Administrator
"Life begins and ends with Nu."
Join Date: Jul 15, 2007
Location: Australia
Posts: 6224
Age: 39
Pronouns: he/him
Vercci said:
You're not really doing them manually are you?
Well I was doing it manually with a script that pulled the matching links from each post and displayed them on a page, but now I've written and run a complex php script to pull all of the links from each post, check that they point to a forum/thread/post/whatever in the database, rewrite only the links that point to a forum, thread or post that exists within these forums and save it back to the database entirely without my input. I wrote it so that it doesn't receive false positives in any way or form. That should be over 80% of the links fixed. Now all that's left are the other types of links in the database (such as SP's 50+ http://miraigamer.net/forums/search.php? links :rolleyes: ) as well as any links in signatures or VM. But all of those need to be done manually.

EDIT: DONE!
All of the links should be fixed in VMs, posts and signatures with the exception of links that are broken regardless of which site they point to, like links to a deleted post, deleted thread, or a thread merged within another.
 
Oct 23, 2010 at 4:22 PM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
You're the bomb, Andwhy. I didn't think this was possible.
 
Oct 23, 2010 at 5:05 PM
Bonds that separate us
Forum Administrator
"Life begins and ends with Nu."
Join Date: Aug 20, 2006
Location:
Posts: 2856
Age: 34
Pronouns: he/him
A work ethic to strive for. If I do I might even get an assignment in on time for once >_>

I have four more to do in like a week ;_;
 
Back
Top