Where's Curmudge
Moderator: jingle_jangle
Where's Curmudge
Hey Curmudge, where are you?
Life, as with music, often requires one to let go of the melody and listen to the rhythm
Please join the Official RickResource Forum Facebook Page https://www.facebook.com/groups/379271585440277
Please join the Official RickResource Forum Facebook Page https://www.facebook.com/groups/379271585440277
- jingle_jangle
- RRF Moderator
- Posts: 22679
- Joined: Wed Dec 22, 2004 6:00 am
- Contact:
Re: Where's Curmudge
Right here, Peter. Had a spot of trouble getting in, but after a shower and comb-out, I'm rarin' for action again.
Here's my smiley quotient for life:
...There. I feel better and relieved.
Except I lost about 350 posts in the switch-over.
Here's my smiley quotient for life:
...There. I feel better and relieved.
Except I lost about 350 posts in the switch-over.
“I say in speeches that a plausible mission of artists is to make people appreciate being alive at least a little bit. I am then asked if I know of any artists who pulled that off. I reply, 'The Beatles did.”
― Kurt Vonnegut
― Kurt Vonnegut
Re: Where's Curmudge
Nobody lost any posts.
As I explained:
Discus didn't really count the posts, only incremented their number, so:
1. Posts that were gone forever (some posts were not kept in the archive and were not converted) are not counted (again: discus counted them too as it only incremented and didn't count)
2. If a thread was removed - the posts count for your posts on this thread are gone too (again: discues counted them too.........)
As I explained:
Discus didn't really count the posts, only incremented their number, so:
1. Posts that were gone forever (some posts were not kept in the archive and were not converted) are not counted (again: discus counted them too as it only incremented and didn't count)
2. If a thread was removed - the posts count for your posts on this thread are gone too (again: discues counted them too.........)
So long and thanks for all the fish!
- jingle_jangle
- RRF Moderator
- Posts: 22679
- Joined: Wed Dec 22, 2004 6:00 am
- Contact:
Re: Where's Curmudge
Whatever, Gil...that's a computer techie explanation that sort of goes over my head.
Thanks for your efforts.
Thanks for your efforts.
“I say in speeches that a plausible mission of artists is to make people appreciate being alive at least a little bit. I am then asked if I know of any artists who pulled that off. I reply, 'The Beatles did.”
― Kurt Vonnegut
― Kurt Vonnegut
Re: Where's Curmudge
Actually this is not a computer thingy at all if you read it without thinking about computers 
Nevertheless:
1. All available posts are here, I actually counted the amount of posts I recieved on html from Peter and they are all here.
2. You are in a rick-a-holic status anyway, why the hell do YOU care?
Nevertheless:
1. All available posts are here, I actually counted the amount of posts I recieved on html from Peter and they are all here.
2. You are in a rick-a-holic status anyway, why the hell do YOU care?
So long and thanks for all the fish!
Re: Where's Curmudge
It is entirely possible that the number of posts varies from the old to the new forum. This is especially true for "old timers" who have been around for years. Over the course of time, I have deleted a number of threads and the old discus software did not make allowances for this. My apology to those who lost posts in this way. We have, however, been able to save more that one-third of a million posts over the past seven years. So, this should give you some reading material when we are in read only mode. We will strive harder in the future.
Life, as with music, often requires one to let go of the melody and listen to the rhythm
Please join the Official RickResource Forum Facebook Page https://www.facebook.com/groups/379271585440277
Please join the Official RickResource Forum Facebook Page https://www.facebook.com/groups/379271585440277
- jingle_jangle
- RRF Moderator
- Posts: 22679
- Joined: Wed Dec 22, 2004 6:00 am
- Contact:
Re: Where's Curmudge
Yeah, Gil...not caring is a hobby of mine.
Just asking.
One more thing and I'll be as happy as a pig in pigskin...please give us back out old-style email notifications. They make scanning and selecting threads a walk in the park. I'm begging you, please...

Just asking.
One more thing and I'll be as happy as a pig in pigskin...please give us back out old-style email notifications. They make scanning and selecting threads a walk in the park. I'm begging you, please...
“I say in speeches that a plausible mission of artists is to make people appreciate being alive at least a little bit. I am then asked if I know of any artists who pulled that off. I reply, 'The Beatles did.”
― Kurt Vonnegut
― Kurt Vonnegut
Re: Where's Curmudge
I will take a look at it, this is not going to be simple.
So long and thanks for all the fish!
Re: Where's Curmudge
I concur with Paul! The old-style notifications with the text of the posts embedded was a dream. To date, the job you have done on all this is simply amazing, Gil, I am very impressed (and I am in the computer business myself, running a North American telecommunications carrier that also provides Internet services and hosting...)
Do unto others as you would have them do unto you, and sit in with the band whenever you can, to keep your chops up!
Re: Where's Curmudge
At last! someone who can understand the technical aspect of converting a forum from html to phpbb 
Anyways - I will do my best to have this feature back. I will keep you posted on any development.
Anyways - I will do my best to have this feature back. I will keep you posted on any development.
So long and thanks for all the fish!
Re: Where's Curmudge
Wow, thank GIl! I can just imagine how complex the scripts must have been that you wrote to convert the format and content of the stored archives into the proper file format to be read properly by PHPBB. It must have been far from trivial! Heck, you may have even written code and compiled it, not scripts, to do the data import and conversion...
Do unto others as you would have them do unto you, and sit in with the band whenever you can, to keep your chops up!
Re: Where's Curmudge
The basic parts were written in bash, the more complex ones (with some fancy regex, complex arrays, more "logic, sql etc...) were written in php.
What I did is:
What I did is:
- I reverse engineered the entire structure of the discus html export in order to know exactly what to look for
- I wrote a converter to convert the posts from the html archives to an interim mysql table, I extracted all the valuable data from the html files (post id, poster, ip, date, post text, subject (by going to the "last" page and looking at it) and poster parent id (thread id - by going to the "last" page and from there going to the first archive to get the first post ID...)
I had to deal with 4 different html formats with different data inside, the old ones for example only had the poster name posted, not the username. - I then wrote a converter to build an interim user table containing all the users data from a csv export, some users had missing or malformed registration date so:
- I wrote another script to search for each user's first post and user it as the registration date should it be earlier than the listed registration date.
- I wrote a script to match users to their posts by matching real names (partial matches as well - requires some complex regex)
- I then wrote more scripts to convert the posts from the interim table to phpbb, I had to reverse engineer phpbb a little bit to get to know what exactly it expects to have for each post, this script involved writing html to bbcode converter that will also put a UID for several bbcode tags, I also converted the old attachments links to the new format (needs to be done carefully in order to mess up with other links).
- I moved all the previous attachments to their right place so they will be recognized.
- and, at the end - I wrote another script to go over phpbb and fix the statistics (per forum, user posts count, etc...)
So long and thanks for all the fish!
Re: Where's Curmudge
They would love to see that over at phpbb.com! I am sure that DiscusWare would not be too happy at seeing anyone publish a ready migration tool or utility away from them to any open source equivalent product, but that's too bad because there is nothing wrong at all with publishing it or using it. Your job was made harder because Discus changed their formats over time, as you pointed out. You would be doing a great service to the open source community to contribute your work on these conversion tools
Do unto others as you would have them do unto you, and sit in with the band whenever you can, to keep your chops up!
