Author Topic: Old links converted  (Read 9315 times)

0 Members and 1 Guest are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Old links converted
« 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.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Old links converted
« Reply #1 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?

Offline TeamFX

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +9/-0
    • View Profile
Re: Old links converted
« Reply #2 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...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Old links converted
« Reply #3 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.
« Last Edit: March 15, 2014, 07:11:00 am by DJ Omnimaga »

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Old links converted
« Reply #4 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 (see following posts) and here (see following posts too). But they took that decision because that's what they decided, that's what we kept getting as an answer.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Old links converted
« Reply #5 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.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Old links converted
« Reply #6 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.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Old links converted
« Reply #7 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.
« Last Edit: March 15, 2014, 05:47:28 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Old links converted
« Reply #8 on: March 15, 2014, 05:38:50 pm »
Weird I didn't realize it could cause any issue D:

Offline chronomex

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +1/-0
    • View Profile
Re: Old links converted
« Reply #9 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

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Old links converted
« Reply #10 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.
/e

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Old links converted
« Reply #11 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. :)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Old links converted
« Reply #12 on: March 17, 2014, 01:03:18 pm »
Good to hear that internal links are fixed :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Old links converted
« Reply #13 on: March 17, 2014, 03:59:22 pm »
Seems like two links are still broken on that post.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline TravisE

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 182
  • Rating: +33/-0
    • View Profile
    • ticalc.org
Re: Old links converted
« Reply #14 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. :)
ticalc.org staff member—http://www.ticalc.org/