Omnimaga

Omnimaga => News => Topic started by: Eeems on March 15, 2014, 02:38:35 am

Title: Old links converted
Post by: Eeems on March 15, 2014, 02:38:35 am
All the old forum links on the site have been converted! Only topic and post links have been converted though. The next step will be to convert the download links.

An example script for how to update an entire forum to use the correct links for omnimaga will be released soon. There are some performance issues that Eeems is trying to resolve. These issues were not a problem for us due to how powerful our VPS is, but for external sites that don't have the same stats as Omnimaga might not be able to run the conversion scripts that Eeems has created in their current form.
Title: Re: Old links converted
Post by: DJ Omnimaga on March 15, 2014, 02:44:57 am
Yay! Although it isn't instant for the entire community it will at least help a lot finding stuff, since it became very hard to do so lately x.x

As for the script I guess one trick would be to convert a copy of Omnimaga to PhpBB3 to see how this goes on such install. I doubt that Cemetech's PhpBB2 has as many so-called security protections, but Cemetech was heavily modified so I wonder if the database format is still the same?
Title: Re: Old links converted
Post by: TeamFX on March 15, 2014, 06:13:32 am
But external links don't seem to work (e.g. from www.casiopeia.net).
I guess you are not planning to add some kind of compatibility layer, so I need to fix them myself...
Title: Re: Old links converted
Post by: DJ Omnimaga on March 15, 2014, 07:07:06 am
He's writting a script for other forum owners to allow them to do it easier. However, I don't know for which forum software the script will be made. (most other TI sites use PhpBB2/3, while Casiopeia uses VBulletin and Casiocalc Invisionboard)

EDIT: Hmm it looks like Casiopeia switched to PhpBB.
Title: Re: Old links converted
Post by: Hayleia on March 15, 2014, 07:55:55 am
But external links don't seem to work (e.g. from www.casiopeia.net).
I guess you are not planning to add some kind of compatibility layer, so I need to fix them myself...
That compatibility layer is what we kept asking for here (http://www.omnimaga.org/news/ourl-ca-gets-a-home-page!/msg378666/#msg378666) (see following posts) and here (http://www.omnimaga.org/news/smf-upgrade-the-dawn-of-a-new-era/msg378663/#msg378663) (see following posts too). But they took that decision because that's what they decided, that's what we kept getting as an answer.
Title: Re: Old links converted
Post by: Juju on March 15, 2014, 12:25:48 pm
Yeah it's pretty much the whole dealing with the Minus World stuff and its negative IDs. If you didn't got that explained, I'll explain it and blame the admins for not explaining further. So yeah, when upgrading to SMF 2 (who dislikes negative IDs and IDs not in chronological order), we added a set number to every post and topic ID so everything is in the positive and it works, at the cost of breaking nearly every link to Omnimaga on Internet. The admins deemed it preferable getting rid of negative IDs and upgrading the board correctly over keeping the URLs working.
Title: Re: Old links converted
Post by: DJ Omnimaga on March 15, 2014, 05:09:26 pm
Actually, on this server, even SMF1 had troubles with the negative topic IDs and on Amazon, some db tweaks had to be done in order to allow them and there were still some glitches. Remember, for example, how the board said we had 2 million posts due to the stat count doubling everytime they were recounted. There were also major slowdowns. SMF2 just made it worse. Incrementing everything by 100000 to prevent overlaps then remapping old ID links to new ones would have been the ideal scenario for other sites, but the debate is closed by now since what's done is done.
Title: Re: Old links converted
Post by: Eeems on March 15, 2014, 05:37:44 pm
Incrementing everything by 100000 to prevent overlaps then remapping old ID links to new ones would have been the ideal scenario for other sites, but the debate is closed by now since what's done is done.
You keep saying that, but in all honesty, that would cause all sorts of problems down the road. Out of all the solutions this one is the one that causes less impact overall in the future. All the other "solutions" are just bandaids that temporarily fix the problem. If I've learned anything as a professional web developer, temporary solutions are never the best option. It's better to spend the money now to solve something, even if it causes a few temporary issues that can easily be resolved then to put in a bandaid that will cost more to fix in the long run.

EDIT: FYI - I literally am a professional web developer. It is literally my job.
Title: Re: Old links converted
Post by: DJ Omnimaga on March 15, 2014, 05:38:50 pm
Weird I didn't realize it could cause any issue D:
Title: Re: Old links converted
Post by: chronomex on March 16, 2014, 06:47:01 pm
All the old forum links on the site have been converted! Only topic and post links have been converted though. The next step will be to convert the download links.

An example script for how to update an entire forum to use the correct links for omnimaga will be released soon. There are some performance issues that Eeems is trying to resolve. These issues were not a problem for us due to how powerful our VPS is, but for external sites that don't have the same stats as Omnimaga might not be able to run the conversion scripts that Eeems has created in their current form.


http://www.w3.org/Provider/Style/URI.html
Title: Re: Old links converted
Post by: Eeems on March 16, 2014, 07:10:16 pm
All the old forum links on the site have been converted! Only topic and post links have been converted though. The next step will be to convert the download links.

An example script for how to update an entire forum to use the correct links for omnimaga will be released soon. There are some performance issues that Eeems is trying to resolve. These issues were not a problem for us due to how powerful our VPS is, but for external sites that don't have the same stats as Omnimaga might not be able to run the conversion scripts that Eeems has created in their current form.


http://www.w3.org/Provider/Style/URI.html
Thats nice.
Title: Re: Old links converted
Post by: TIfanx1999 on March 16, 2014, 08:29:06 pm
All the other "solutions" are just bandaids that temporarily fix the problem. If I've learned anything as a professional web developer, temporary solutions are never the best option. It's better to spend the money now to solve something, even if it causes a few temporary issues that can easily be resolved then to put in a bandaid that will cost more to fix in the long run.

Perfectly said. That pretty much sums up why this route was taken. :)
Title: Re: Old links converted
Post by: Sorunome on March 17, 2014, 01:03:18 pm
Good to hear that internal links are fixed :)
Title: Re: Old links converted
Post by: Hayleia on March 17, 2014, 03:59:22 pm
Seems like two links are still broken on that post (http://www.omnimaga.org/ti-nspire-projects/rainbow-dash-1-5-clouds-strike-back/msg363834/#msg363834).
Title: Re: Old links converted
Post by: TravisE on March 17, 2014, 08:10:29 pm
All the other "solutions" are just bandaids that temporarily fix the problem. If I've learned anything as a professional web developer, temporary solutions are never the best option. It's better to spend the money now to solve something, even if it causes a few temporary issues that can easily be resolved then to put in a bandaid that will cost more to fix in the long run.

Perfectly said. That pretty much sums up why this route was taken. :)

Indeed. Another example might be something like relying on logs in lieu of proper server backups, and things like that. Glad to see things are being worked out. :)
Title: Re: Old links converted
Post by: Eeems on March 17, 2014, 08:12:28 pm
Seems like two links are still broken on that post (http://www.omnimaga.org/ti-nspire-projects/rainbow-dash-1-5-clouds-strike-back/msg363834/#msg363834).
Seems to actually be a problem with ourl.ca causing a redirection loop. I'll fix that up.
Title: Re: Old links converted
Post by: DJ Omnimaga on March 17, 2014, 10:55:20 pm
Will links in older IRC logs (that didn't use Ourl) be fixed?

Seems like two links are still broken on that post (http://www.omnimaga.org/ti-nspire-projects/rainbow-dash-1-5-clouds-strike-back/msg363834/#msg363834).
Seems like they work for me ???
Title: Re: Old links converted
Post by: Hayleia on March 18, 2014, 01:42:49 am
Seems like two links are still broken on that post (http://www.omnimaga.org/ti-nspire-projects/rainbow-dash-1-5-clouds-strike-back/msg363834/#msg363834).
Seems like they work for me ???
Yeah, they were fixed in the meantime :)