Author Topic: Several members' post counts re-synced  (Read 6297 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Several members' post counts re-synced
« Reply #15 on: February 08, 2012, 03:03:38 pm »
It would be a bit unfeasable to try and completely merge the old forums with the current forums, especially because the old posts have been separated for so long and are considered a different era of Omnimaga's history altogether, not to mention all the broken links everywhere. I think the best way is probably just moving the old posts to the same hosting/smf board and keeping the link for the archive on the forum board list page currently there.
Well it depends. If on Netham45 server it's possible to write a script or .htaccess command that redirects to an incremented post ID when typing a too low one, it could allow links on this forum to work. Otherwisethey could simply increment the old board IDs, but then all old posts would show up above the rest, which would suck to find old stuff and would cause many necroposts.

The other solution could be that Netham45 or Juju writes a SMF mod that allows topic lists to be sorted exactly by start date or post date, rather than topic ID or post ID. It would probably not be too hard to write, because post dates in Linux format are already in one number like this 1328695284
« Last Edit: February 08, 2012, 03:04:23 pm by DJ_O »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Several members' post counts re-synced
« Reply #16 on: February 08, 2012, 04:42:42 pm »
I'm currently backing up the old forums, in case they go down.
Fixing the url isn't such a hard thing anyway, I have done harder stuff :)

Also, those "Linux" dates are just seconds since epoch (January 1, 1970). PHP et all have very good support for this :)

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: Several members' post counts re-synced
« Reply #17 on: February 08, 2012, 10:53:02 pm »
I'm currently backing up the old forums, in case they go down.
Fixing the url isn't such a hard thing anyway, I have done harder stuff :)

Also, those "Linux" dates are just seconds since epoch (January 1, 1970). PHP et all have very good support for this :)
I should try this Python script to convert them to SMF.

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: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Several members' post counts re-synced
« Reply #18 on: February 08, 2012, 11:33:05 pm »
I'm currently backing up the old forums, in case they go down.
Fixing the url isn't such a hard thing anyway, I have done harder stuff :)

Also, those "Linux" dates are just seconds since epoch (January 1, 1970). PHP et all have very good support for this :)
Ah ok, when I tried backing them up and tried one of the HTML page generated from HTTrack, it would randomly freeze Opera during about 10 minutes. O.O

As for the timestamps, the problem is that SMF and mods for it lacks the support to sort topics by last post timestamps/date  or topic start timestamp/date. It actually sorts by last post ID or by topic start ID, depending of which you choose. So basically if the old posts were imported in here, they would all show above the rest instead of below, because even though their date would be older, their IDs would be newer. Changing the current post IDs is out of the question, because all links will be broken.

One solution, however, could be to just increment the old board IDs anyway, then modify the Custom Board Sort mod (and if necessary, write a mod that modifies the behavior of Last reply default sorting) so that any topic ending with post IDs from a certain range gets sorted at the bottom of the pile and if a board is sorted by topic start date, have topics from a certain ID range be sorted at the bottom too.
« Last Edit: February 08, 2012, 11:39:21 pm by DJ_O »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Several members' post counts re-synced
« Reply #19 on: February 09, 2012, 11:13:52 am »
It would be really cool if the old board is able to be integrated with this one. Seems like it might not be too hard. I don't really know much about this kind of thing though. Regardless, it's cool that the old content is at least online. :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Several members' post counts re-synced
« Reply #20 on: February 10, 2012, 04:09:35 am »
Well as I said, the main issue is if we don't want to break all links through the 228000 posts on the current board, then we have to make the old posts so they have higher ID numbers than new ones, and this is where the problem arises: SMF appears to sort topics by last reply ID instead of timestamp. The author of the Custom Board Sort mod claims otherwise about his mod, though, so maybe it could be solved with that (Juju would need to check if we run the latest version). Merging by itself seems like it might be easier, since the instructions are available somewhere on SMF site, the problem is just choosing between having all old posts appearing above most of the new ones, breaking all post links like what happened to United-TI two years ago or writing/modifying an SMF mod.

It would be really great, though, to have all old posts merged here, all sorted into the current categories. The projects and ideas board would end up having over 65000 posts too O.O