apokphp
07-18-2004, 10:09 PM
Online Chess Club: http://lgames.sourceforge.net/index.php?project=OCC
It's open source, pure PHP (no db).
Someone modified it to integrate with Mambo. I have it installed on a Mambo beta site: http://www.debateforum.net/beta/index.php?option=com_staticxt&staticfile=occ/index.php&Itemid=27
Login: Dummy
Pass: password
Now, on my vb3 beta site, that will use CMPS, I have it installed, and it is found here: www.myfamilycorner.net/chess That is what it looks like w/o any integration whatsoever. You can login w/ the same info above.
*Important Info* - OCC uses .php files for its member accounts, games, and history. The accounts.php file requires the admin to manually add people to the Chess Club. No database is used in this system, not even w/ the Mambo integrated system.
That being said, I see 2 possibilities...
1) Easiest - simply hack OCC so that it at least appears to be integrated with the vb site/forums. I use CMPS, so eventually, I'm going to try to get it integrated with that...but first things first...I'm requesting a vb integration. Perhaps just something w/ headers/footers? I don't know.
2) Difficult - complete, 100% integration, using the vb database to pull member info for the Chess Club. I think this would require a lot of work though, as it would remove the ability to manually add players, and force management to be done through the Admin CP.
Perhaps it should go in phases? First, hack it so that it is merely integrated in vb pages or style...so that it does not seem like the user has left the site. This requires manual adding of members to the Chess Club, but it's not that difficult or time consuming...not all members of a community even want to play. The basic code for adding someone is merely: "UserName" => "password", in the accounts.php file. That's it. For those who don't like updating a .php file like this, I'm sure a quick and easy script could be written to enter them for you...I don't know.
But I'm most concerned with just having a basic integration. As it stands now, it is plain: www.myfamilycorner.net/chess Obvoiusly, that won't do. I could edit each file to use a header/footer, or create a new tabled page...but it just seems more logical to go through a vb integration of some sort, if it is possible.
Can someone take a look at the code and see if it can be done? I've been told by another coder that it doesn't look too difficult...but he doesn't have the time to fiddle with it. I'd greatly appreciate this, and I'm sure, that many other vb.org users would too. ;)
I would imagine a complete integration would warrant a Hack of the Month nomination. hehe
It's open source, pure PHP (no db).
Someone modified it to integrate with Mambo. I have it installed on a Mambo beta site: http://www.debateforum.net/beta/index.php?option=com_staticxt&staticfile=occ/index.php&Itemid=27
Login: Dummy
Pass: password
Now, on my vb3 beta site, that will use CMPS, I have it installed, and it is found here: www.myfamilycorner.net/chess That is what it looks like w/o any integration whatsoever. You can login w/ the same info above.
*Important Info* - OCC uses .php files for its member accounts, games, and history. The accounts.php file requires the admin to manually add people to the Chess Club. No database is used in this system, not even w/ the Mambo integrated system.
That being said, I see 2 possibilities...
1) Easiest - simply hack OCC so that it at least appears to be integrated with the vb site/forums. I use CMPS, so eventually, I'm going to try to get it integrated with that...but first things first...I'm requesting a vb integration. Perhaps just something w/ headers/footers? I don't know.
2) Difficult - complete, 100% integration, using the vb database to pull member info for the Chess Club. I think this would require a lot of work though, as it would remove the ability to manually add players, and force management to be done through the Admin CP.
Perhaps it should go in phases? First, hack it so that it is merely integrated in vb pages or style...so that it does not seem like the user has left the site. This requires manual adding of members to the Chess Club, but it's not that difficult or time consuming...not all members of a community even want to play. The basic code for adding someone is merely: "UserName" => "password", in the accounts.php file. That's it. For those who don't like updating a .php file like this, I'm sure a quick and easy script could be written to enter them for you...I don't know.
But I'm most concerned with just having a basic integration. As it stands now, it is plain: www.myfamilycorner.net/chess Obvoiusly, that won't do. I could edit each file to use a header/footer, or create a new tabled page...but it just seems more logical to go through a vb integration of some sort, if it is possible.
Can someone take a look at the code and see if it can be done? I've been told by another coder that it doesn't look too difficult...but he doesn't have the time to fiddle with it. I'd greatly appreciate this, and I'm sure, that many other vb.org users would too. ;)
I would imagine a complete integration would warrant a Hack of the Month nomination. hehe