php forum
php mysql forum
php mysql smarty
 
Topic Options
#222178 - 08/08/02 12:33 PM WAY out there idea.. Forum Funnnnn
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
How about a PHP poker table or blackjack table that is incorporated with the forums?<br /><br />You would get so many 'credits' per post and be able to play against other visitors to the forum. Maybe invite them into the game if they are online. Of course a chat would be nice, but not really necessary.<br /><br />The forums already tracks total posts, so the initial credits would be easy. The modified credits would be a little harder unless you change the string to a different one for each person.<br /><br />Yes, I used to be an old SysOp for a local BBS around 10 years ago.
_________________________
Silly ricer.. Wings are for airplanes!

Top
#222179 - 08/08/02 12:55 PM Re: WAY out there idea.. Forum Funnnnn [Re: Franky]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
I would guess that there are a lot of poker scripts on the net, so it would probably only need to be an integration of a script.<br /><br />I do like the idea of having some BBS-like extra fun, I ran a BBS too a long time ago. Don't know if I'd use a poker script, but some other small scripts would definitely be fun.<br /><br />I don't quite get what you mean by the modified credits needing a different string for each person? Wouldn't it be possible to just add another field to w3t_Users called U_Credit or something, which would be used in the poker game and shown on the profile. It could even use one of the extras.<br /><br />I've been thinking of adding a credit system which is based on more things than just the number of posts. Number of logins, having filled out the profile, voting in polls etc, would all give credits. It should also be possible to add extra points for people that have sponsored the site and stuff like that.<br />A lot of people were crazy about the credits on the bbs:es I visited (and my own) and the post count surely is important for a lot of people on my current board. So it would probably be a good way to increase activity, even though I don't really understand why the "credit hunt" is so important.
_________________________
/Gardener | Complete list of my mods

Top
#222180 - 08/08/02 02:32 PM Re: WAY out there idea.. Forum Funnnnn [Re: c0bra]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
[]I don't quite get what you mean by the modified credits needing a different string for each person? Wouldn't it be possible to just add another field to w3t_Users called U_Credit or something, which would be used in the poker game and shown on the profile. It could even use one of the extras.<hr /></blockquote><br />ok. User has 100 posts, therefore they have 100 credits(for simplicity). The next time they post, how does that post toss the new credit on top of the now credits without adding the 100 again. I am making this more complicated than it needsto be, I know.<br /><br />excelsiorcode ahead--<br />login to game<br /><br />if user=new <br />then $U_credits = $posts<br /><br />else $U_credits = $U_credits + $posts - $lastvisit_posts<br /><br />just thinking.<br /><br />Poker seems like a good start for me. Then you could work into those old style BBS games of chance. Luck of the draw. lotto, etc.<br /><br />I could see credit hungry members compete or try those games of chance just to get to the top.<br />
_________________________
Silly ricer.. Wings are for airplanes!

Top
#222181 - 08/08/02 02:48 PM Re: WAY out there idea.. Forum Funnnnn [Re: Franky]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
If you want the credit to be raised with each new post it would be easy to add some code on the addpost page to update the credits field as well.<br /><br />How would the poker game work? Would you play against the computer, or against other visitors in real time?<br /><br />Some of the simpler games of chance would be quite easy to do.<br /><br />Maybe this would need a small API, where each game can call a function to read the credits and set them, so they all use the same credits. Hmm. But what happens if the credits gets updated by other games while they are playing something else (if they are playing several games at the same time)?
_________________________
/Gardener | Complete list of my mods

Top
#222182 - 08/08/02 03:44 PM Re: WAY out there idea.. Forum Funnnnn [Re: c0bra]
ExcelsiorDDZ Offline
Member

Registered: 08/09/99
Posts: 234
Loc: New York
poker would be like a table and you would play against other players...<br /><br />And one would not be able to play several games at once if they are forced to enter a portal. <br /><br />credits would be updated at each turn/hand/play. If not, you would have to set something up to prevent one from just leaving if they have lost a lot of credits before it updates. Out of credits, go post something or whatever.<br /><br />Games of chance would be simple.<br /><br />It seems that PHP would be the easiest solution. Can Javascript or even flash access and update info into a MySQL database? <br /><br />FLASH would be almost perfect for those game of chance now that I think about it.
_________________________
Silly ricer.. Wings are for airplanes!

Top
#222183 - 08/08/02 04:36 PM Re: WAY out there idea.. Forum Funnnnn [Re: Franky]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
I know flash 5 (or something) can read from a database, but it is quite limited. It is also possible to post (the same as an html form) information, which can be saved to the database. But I haven't got a clue as to how this works, I've never done any flash programming. And I guess that Flash MX has some better possibilites, but of that I know nothing.<br />It isn't possible to save to the database from javascript either, unless you post information as a form. Can be done invisbly to a frame of course.<br /><br />If it is PHP (or Perl, JSP, Javascript etc) I can fix things though. But I have a lot of things on my todo-list which I'll have to do before I could start thinking of this. I could code the threads part though, that keeps credits updated and such.
_________________________
/Gardener | Complete list of my mods

Top


Who's Online
0 registered (), 18 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks