From: Adam M. <ad...@tu...> - 2002-10-01 12:05:07
|
Don, That sounds like an awsome idea! And I think it can be done with phpws 0.9.x. I'm not a huge sports nut so forgive me if I fumble through some of this. I am a uge code nut though, so I'll give you any help in that department that I can. Some things to keep in mind so you can implement this module the way you want: - Look into dynamic table creation. This would allow you to add/remove fantasy leagues or teams. Or if you have a database-savvy person on your team, they may be able to come up with a better solution. This was just the first thing that came to my mind since I recently implemented that in a module I created for ASU. - Transfer variables are your friend. Matt could probably shed more light on this subject than I can but I believe you could have your module show up wherever you wish and show whatever content you wish. This would allow you to show arbitrary data to the anonymous user on the mainpage and user-specific data to a user that has logged in. You could even have several blocks show up upon login that could show anything you like (e.g.: the icons you mentioned, or maybe scores from a game that the user wanted to monitor?) I am working on the core classes some more this week (just changing naming conventions and shuffling a bit to get us up to par with the PEAR style). As I finish each class I'm going to put together some documentation on that classes functions and what they do. This should be a good reference for you and other module developers out there. I'll be sure to post to the list when it becomes available. I hope some of this info is useful to you. If you run into problems or have any questions, post to this list and I'll try to help in any way I can. Good Luck! Adam > hullo. > > I and a select group of others, including mhnoyes of mhnoyes fame, are > developers on the ffl project at sourceforge. I'll spare your frenzied > searching and tell you that it is a php/mysql cms for fantasy football. > Originally the project was me going solo. > > However mhnoyes got me and the developers of the other sourceforge ffl > projects together for a meeting of the proverbial Five Families. Except > there were only 4 of us. And 2 were on the same project. Whatever. > You know what I mean. Basically we agreed that we need to come > together and make a kick-ass fantasy sports website that would support > any sport using a fantasy "core" and sport-specific "modules". > > We were going to write it all from the ground up. Mike (mhnoyes) > proposed just writing it as a big fat module for phpwebsite. I knew > nothing of phpws and shrugged the idea off. However now I've seen the > light and the 0.9 version is it. > > Contrary to what you're thinking, I didn't write to give you my personal > A&E Biography. I'd like to know what your thoughts are on how to go > about implementing a fantasy sports site that would support multiple > leagues. Obviously if it were to only support a single league then > there is no problem. > > What I'd like to see is when the user logs in he/she will be presented > with icons or a menu with a link to each of his existing fantasy teams > on the various leagues installed on that site. Then an option to join > others etc. If user is not logged in just show basic non-league > specific blah. > > I'm going back and forth on whether or not this would work as a phpws > module. Mike brought up the idea of the branch creator, but as I > understand it that would be a separate install, and I would like all the > leagues in the one database so a single login would give access to them > all. > > So I thought I'd go to the source and see what the masters think. > > Don. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------- Adam Morton Developer - Web Technology Group Appalachian State University http://phpwebsite.appstate.edu ad...@tu... |