The Last Homely House

General => Council of Cobra => Topic started by: Kralik on May 05, 2008, 06:25:47 AM

Title: Rebuilding CC: Progress
Post by: Kralik on May 05, 2008, 06:25:47 AM
Here is the latest stream of communications between Conor and I:

Kralik:
Quote
Dear Cobra,

The CobraCards community has been very sad to see your website go down. I heard from another member that you offered to send SQL dumps so that it could be rebuilt elsewhere. I have been running the lotrtcgdb.com website for some time now as a resource for LotR players, and it has gained quite a following. Some forums recently have been posted at http://lotrtcgdb.com/forums as a replacement for CC, but it would be even better to have the old CC content again.

Would you still be willing to send the old forum data? I'm sure that CC members would be elated to have their old posts back.
Also, so that I could get it working, I was wondering... what version of phpBB were you using? Did you use the Backup/Restore feature from within phpBB or make your own dumps via phpmyadmin or something similar?

Thanks in advance!
Kralik

Conor: (Sunday morning)
Quote
Kralik,

The files were created in phpMyAdmin, one with the "CSV" option and the other with the "SQL" option, both leaving the default settings intact.  Let me know what version you'd like to work with, and I'll upload it to my other webspace.

I'm afraid I don't remember the exact version number I was using, but it was definitely 2 rather than 3.

I had made some of my own hacks to add specialized functions to the forum, some of which included additions to the database structure.  In particular, there's a new field which carries the "post-autolink" message (when a post was made, it was parsed for card names using the store's database, which were then turned into appropriate links, and the new version was stored alongside the original).  There are also a few fields that were used to enhance voting for the article contest.

These changes are additions only, I never modified the database structure in a "destructive" way, so I don't think this should cause any problems.  Just wanted to warn you though. ;)

--Conor

Kralik:
Quote
That's awesome, Conor! I'll try the SQL option. I wrote my own program a while back to add autolink capabilities for CC to lotrtcgdb.com, so I'd love to see what you had written and try to integrate it. Do you know offhand where you found the theme/stylesheet for CC? I would like as much as I could set up a mirror image of the original... :)

Cheers,
Kralik
Title: Re: Rebuilding CC: Progess
Post by: Celebrimbor on May 06, 2008, 02:35:25 PM
Regarding the SQL Dumps, kralik...I have a warning...
phpbb is a LOT different from simple machines forum.  If you use the mysql dump scripts to completely reconstruct the original CC forum, it will only be compatible with phpbb2. (not phpbb3).  Unless, however, you could convert them in to a format readable by simple machines, which could be difficult...

Anyway, that's my 2cents.

The major problem right now is that NBarden is hosting his own forum, and with yours up and running there is a conflict.  We really need to get that solved and agree on a centralization.
Title: Re: Rebuilding CC: Progess
Post by: DáinIronfoot on May 06, 2008, 03:36:10 PM
Via e-mail, at least, NBarden has fully endorsed this location now that we have MtG forums.

Hats off to NB for running that site, though. Saved our butts several times! Everyone give him some gold. ;D
Title: Re: Rebuilding CC: Progess
Post by: Kralik on May 06, 2008, 04:27:56 PM
Welcome CBB! A few thoughts:

1) You are right, phpBB2 and SMF are very different. Here's the plan to convert: set up a phpBB2 forum, import the database via phpMyAdmin, and then run SMF's phpBB2-->SMF converter tool to import the posts. From what I have read online the tool works rather well.

2) I think NB should keep his forums open and they should be the official backup for this site in case it happens to go down sometime in the future. As I have stated elsewhere, I didn't even know they existed, and if I had, I probably wouldn't have made these! The best scenario would be that everyone knew the backup plan so they could keep the community going during downtime.
Title: Re: Rebuilding CC: Progess
Post by: SomeRandomDude on May 06, 2008, 05:00:50 PM
Everyone give him some gold. ;D

yes, please do. I'm also accepting trading cards, pm me for my address.

Just kidding. It wasn't really a big deal...took me a lot less time.

I would go with phpbb2, Kralik. Simple Machines is so...geek friendly (meaning NOT non-computer-savvy user friendly).
Title: Re: Rebuilding CC: Progess
Post by: Kralik on May 06, 2008, 05:20:37 PM
I would go with phpbb2, Kralik. Simple Machines is so...geek friendly (meaning NOT non-computer-savvy user friendly).

Do you say that referring to the front-end user interface or the admin interface?
Title: Re: Rebuilding CC: Progess
Post by: Hobbit_Pizza on May 07, 2008, 11:37:00 AM
Quote
As I have stated elsewhere, I didn't even know they existed
Neither did I. I suppose a backup for the backup is always a good idea  :roll:
Title: Re: Rebuilding CC: Progess
Post by: Celebrimbor on May 08, 2008, 03:52:32 PM
Hey kralik...What I would personally like to see you do is run phpbb3.  It's what all of us CC members are used to.  Plus, phpbb has much more of a level of control. And them maybe upgrade from phpbb2 to phpbb3, which has many more advanced features.

Still yet, I'm not sure if all the many members here would like to re-register if you decide to phpbb... Anyway, that's just my two cent.

To sum it all up, In my opinion simple machines is a poor choice to choose.  I'd be happy with it, but not just as happy as the other route which I suggested... ;)
Title: Re: Rebuilding CC: Progess
Post by: Hobbit_Pizza on May 08, 2008, 03:57:49 PM
Quote
I'm not sure if all the many members here would like to re-register if you decide to phpbb...
I definately wouldn't...
Title: Re: Rebuilding CC: Progess
Post by: Kralik on May 08, 2008, 04:23:17 PM
I'm going to have to stick with SMF, since I have already spent time developing it, creating an autolink function, etc. Some of the admin backend is very nice, including an automatic upgrade feature for security patches, which I have already used. Furthermore, it should be easy to import old CC posts in here. SMF 2.0 shows a lot of promise! 8) I'll wait for that until it's out of beta.

Now, something that is worth considering, as far as what you are "used to," is that a ton of the main interface is controlled by theme settings. If you'd like to see buttons in a different place or whatever, it could probably be worked out.

And on the topic of rebuilding CC... I still haven't heard from Conor, but I may drop him a line again if I haven't heard from him by Sunday (a week from his first response).
Title: Re: Rebuilding CC: Progress
Post by: SomeRandomDude on May 10, 2008, 09:42:01 AM
I would go with phpbb2, Kralik. Simple Machines is so...geek friendly (meaning NOT non-computer-savvy user friendly).

Do you say that referring to the front-end user interface or the admin interface?

Huh?

/ungeek

Front-end user interface.
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 10, 2008, 10:08:00 AM

Huh?

/ungeek

Front-end user interface.

Let me know what you'd like to see differently... it's likely that everything you see can be changed by theme settings.
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 12, 2008, 09:00:18 AM
Well! I sent Conor another email and he responded with a link to his backup. It's 360MB! :o I am downloading it now and should be able to start the process of importing it within the next few days.  :mrgreen:
Title: Re: Rebuilding CC: Progress
Post by: DáinIronfoot on May 12, 2008, 10:17:48 AM
Excellent news. :mrgreen: Let me know if you need any help and I'll do what I can, my friend.
Title: Re: Rebuilding CC: Progress
Post by: MR. Lurtzy on May 12, 2008, 11:54:03 AM
Well! I sent Conor another email and he responded with a link to his backup. It's 360MB! :o I am downloading it now and should be able to start the process of importing it within the next few days.  :mrgreen:
Groovy. 8)
Title: Re: Rebuilding CC: Progress
Post by: Celebrimbor on May 12, 2008, 02:35:54 PM
Huh?

/ungeek

Front-end user interface.

OK so sticking with SMF...That's OK, as I'll just get used ter it.

I think I know what NB means in the quote - maybe install a different template (if you know how to do that, kralik).  I can vouch for NB's difficulty witht the front-end complexity factor ;)
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 12, 2008, 03:53:20 PM
OK all, some setbacks in importing the CC database as it is MASSIVE. It got about 85% done before (presumably) crashing my webhost's server. I think I'll start the process again with a staggered delay between chunks...

EDIT: I put it on the slow boat. Import 200k of data, wait five seconds, repeat. Hopefully that will keep the server load low enough that a) it will finish and b) my webhost won't ban me. :mrgreen: I was hoping to have it all ready by tonight, but we'll see... still hopeful...
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 12, 2008, 08:27:58 PM
Good news, bad news--

Good news: I have the CobraCards database up and "running." You can read old posts!
Bad news: It ain't purty. It won't let you log in. And the first try conversion to TLHH was unsuccessful (as many probably noticed!). Many parts of the forums are tied directly to cobracards.com and had issues... it took much tinkering for me to get it to work as it is!

I'm going to give it a break for tonight, but I think I've accomplished enough for one day, since I had a normal work day, two needy kids at home, and I only just got the database this morning. ;)

"Browse" the forums here (http://lotrtcgdb.com/community). Do not attempt to login or post, please!
Title: Re: Rebuilding CC: Progress
Post by: Hobbit_Pizza on May 12, 2008, 10:14:29 PM
Gah. Sounds like a nightmare.
Title: Re: Rebuilding CC: Progress
Post by: MR. Lurtzy on May 12, 2008, 10:18:18 PM
Good news, bad news--

Good news: I have the CobraCards database up and "running." You can read old posts!
Bad news: It ain't purty. It won't let you log in. And the first try conversion to TLHH was unsuccessful (as many probably noticed!). Many parts of the forums are tied directly to cobracards.com and had issues... it took much tinkering for me to get it to work as it is!

I'm going to give it a break for tonight, but I think I've accomplished enough for one day, since I had a normal work day, two needy kids at home, and I only just got the database this morning. ;)

"Browse" the forums here (http://lotrtcgdb.com/community). Do not attempt to login or post, please!
Thanks! :)
Title: Re: Rebuilding CC: Progress
Post by: lem0nhead on May 13, 2008, 01:19:08 AM
Hey thats awesome, thanks Kralik. Is there anyway you can get images back? The avatar i had on there was a unique one i made and i want it back!?
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 13, 2008, 05:47:03 AM
Hey thats awesome, thanks Kralik. Is there anyway you can get images back? The avatar i had on there was a unique one i made and i want it back!?

I just got another email from Cobra on that very question... and the answer is... sadly... no. He doesn't have anything except for the database dump, which means that all images, themes, custom code, the riddle game, etc. are lost. I did actually find the theme he was using (I had to find it to make it work), but as you can see it isn't displaying properly.
Title: Re: Rebuilding CC: Progress
Post by: lem0nhead on May 13, 2008, 06:17:14 AM
Noooo ah well thanks for trying, shame you cant get the theme sorted either. A bit of nostalgis would be nice.
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 13, 2008, 06:20:22 AM
Good news #2: I was able to hack my way into the admin interface and switch the theme to the default! The forum is now readable! Note that child boards (for example, Expanded/Standard/etc.) are not listed correctly under their parents (Deck Clinic)
Title: Re: Rebuilding CC: Progress
Post by: lem0nhead on May 13, 2008, 06:22:24 AM
Bow to the genius that is Kralik. Nice one man. This ace for us DC-ers.
Title: Re: Rebuilding CC: Progress
Post by: DáinIronfoot on May 13, 2008, 07:01:56 AM
Awesome possum. At least we can see it all now, like a massive historical archive. 'Twould be nice to still get it all integrated, but if that's not possible, I'm content just knowing it's still there. Bravo.

If you need any help, again, just let me know. Send me a PM with how to get into the admin tools, though, if you DO need me.
Title: Re: Rebuilding CC: Progress
Post by: AgentDrake on May 13, 2008, 07:46:38 AM
Nice!
Like lem0n said... especially important to us DC peoples. ...Now I can go and retrieve all my Children of Hurin DCs that I never actually saved on my computer.
Title: Re: Rebuilding CC: Progress
Post by: Celebrimbor on May 13, 2008, 10:52:16 AM
Cool...wow.  All of our old posts up.  The main problem now is that any links existing within the posts, are under Cobracards.com domain...which is bad...

Unless you want to kill yourself trying to change all of them, I wouldn't recommend it.
Title: Re: Rebuilding CC: Progress
Post by: AgentDrake on May 13, 2008, 10:54:00 AM
Meh. We can hunt around for stuff if we need to.
Title: Re: Rebuilding CC: Progress
Post by: sickofpalantirs on May 13, 2008, 11:18:59 AM
well...if we do change post counts here to what they were on CC>..I guess I could live with it (GP counts too...)
Title: Re: Rebuilding CC: Progress
Post by: Celebrimbor on May 13, 2008, 11:19:33 AM
BUMP...

And BTW you might already know this kralik, but all the block formats aren't nicely nested under one forum, like the original CC.
Title: Re: Rebuilding CC: Progress
Post by: Kralik on May 13, 2008, 11:25:32 AM
Good news #2: I was able to hack my way into the admin interface and switch the theme to the default! The forum is now readable! Note that child boards (for example, Expanded/Standard/etc.) are not listed correctly under their parents (Deck Clinic)

Quoting myself...