Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
BETA: vBookie Details »»
BETA: vBookie
Version: 1.00, by tjdrico tjdrico is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-30-2004 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

vBookie

Beta release

What is vBookie?

vBookie is a 'bookmakers' or betting extension to vBulletin. It enables authorised members to post Events and Outcomes that forum members can bet on. Each Outcome has its own set of odds, and odds can be modified through the life of a bet.

Once the results are known, Events can be settled and forums members awarded their winnings.

vBookie uses its own vCash by default, but this has no more use than as 'bragging rights'. However, vBookie also comes with a built-in switch to allow it to use uCash instead. That means that all bets are paid for and settled using uCash, making betting even more attractive than just for fun on forums with uShop installed. Although vBookie does not have any built-in facility to integrate with any other store hacks, it's a very simple job to hack vBookie itself to integrate it with any store/points system you care to use. For example, you might wish to link vBookie with Petz, so that Petz players can gamble their points. It would be possible to reduce the amount of points awarded for posting etc. and make betting the best way to make money, which might go some way to tackling the 'forum spamming' that seems to be part and parcel of a Petz installation. If integration with any particular store hack or other system seems popular, I will build it in to vBookie, so please let me know if there are any requests.

For a more detailed explanation, the beta manual is online here.

Why is this a Beta?

I have tested vBookie on my own PC and on my main forum, and it works OK in both situations. However, there are quite a lot of changes, and there is also an installer that only I have run, so I would like to get some other people to check it out before I claim it's a release version.

Expansion

vBookie requires manual intervention for the settlement of bets as a human being has to select which outcomes are winning ones, and also to specify the available outcomes in the first place. However, if you have a PHP-based web site that has ladders or leagues/matches with a scoring system, it should be a fairly straight forward job to hack vBookie so it can be plumbed into that other system. No doubt some people will come up with other ideas, too. You could take an automated stock ticker and bet on the final value of Microsoft after each day, or something. =)

Feedback & Bugs

I welcome feedback, particularly the positive sort. If you find any bugs please do let me know. If they are esoteric, please try to give instructions for how to reproduce them.

Image attachment uploads don't seem to be working at the moment (I've tried GIF and PNG) so view the manual for screenshots.

Enhancements Not Yet Released

From 0.7 Beta 1
  • Added switch to specify whether punters may bet on more than one outcome
  • Added "decimal odds" display as well as the UK style fractional display
  • Added graphical display of the relative popularity of each outcome on a bet (like poll results)

TODO

This is the current list of things I plan on adding to vBookie imminently:
  • add option to award a gratuity to all users when a new bet is placed
    (so everyone always has *something* to play with, even if it's only a
    small amount). Alternatively, only make awards to people on zero.
  • Add 'accumulator' bets
  • Add "each way" betting
  • Build in a switch to use Petz points instead of vCash
  • Improve user feedback on bet status and why they can't bet.

Please email me any requests or add them to this thread.

Updates

Changes in 0.6 Beta 2

Daylight savings time is taken into account when editing events. That is to say, it's assumed that the person editing is entering the time they want in their local time, whether or not daylight savings is in effect or not.

To upgrade from 0.6 Beta 1 to 0.6 Beta 2 simply overwrite the vbookie.php file.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-01-2004, 06:52 AM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike11212
be cool if you could set it to work with paypal
I'm not sure about this, from an implementation point of view and from a legal perspective.

It's not possible to directly take money from someone's Paypal account, and donating money requires a confirmation, but I think the way round this would be for the forum in question to have something tacked onto the side using the Subscriptions system or something, but hacked up so that payments went to pay for vCash. There'd also need to be a system to pay people using Paypal again using their vCash total. When dealing with real money everything would have to be bulletproof to prevent fraud and theft, and I think it would be quite an effort to write something that I would be confident of.

Also, boards using it might need some sort of gambling/betting license, and I also don't know if I could be held liable in any way for providing a tool that uses real money.

All of which is a long way of saying I'm sure it's possible, but I have no plans to do it myself. =)
  #13  
Old 06-01-2004, 07:58 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't get the point of this, hard nut!
  #14  
Old 06-01-2004, 08:11 AM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
Can't get the point of this, hard nut!
What don't you understand? I suppose, if you can't understand what it's for, you don't want it anyway. =)
  #15  
Old 06-01-2004, 09:58 AM
Pady's Avatar
Pady Pady is offline
 
Join Date: Nov 2001
Location: UK
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks like a very impressive hack you have created, will watch this one with interest for when it goes final - thanks for sharing
  #16  
Old 06-01-2004, 10:04 AM
Mike11212 Mike11212 is offline
 
Join Date: Jul 2002
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
Can't get the point of this, hard nut!
its basically gambling.
  #17  
Old 06-01-2004, 02:23 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how much additional server load does this cause?
  #18  
Old 06-01-2004, 02:34 PM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the
how much additional server load does this cause?
I have absolutely no idea whatsoever, nor do I really know how to go about working that out. =) I don't expect there's a huge price to pay as there aren't any really nasty queries involved. There are no indexes on any of the tables though, apart from their primary keys, so there's some scope for tweaking some of the joins that are present when someone views the Stats page. Some of the row fetches might take a while on the viewitem page because it will display all bets by default - could be a lot of you had hundreds or thousands of users that like to gamble. I've only tested it with a small forum (200 members or so), and it hasn't had any really big Events to chew on yet.

I don't expect it adds any more load than adding a poll to a thread, but as I said before I really can't qualify this nor quantify the impact.

There is a setting to turn it all off though, so if you found it seemed to be a problem then it's easy to "remove" without editing any files.
  #19  
Old 06-01-2004, 02:51 PM
bradsears's Avatar
bradsears bradsears is offline
 
Join Date: Aug 2003
Location: Toronto
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm certain it is against paypal's terms of service to use them for gambling. For that you have to go to a dedicated (expensive) service like neteller.com. There is too much risk of chargeback from gambling transactions.
  #20  
Old 06-02-2004, 08:23 AM
tjdrico's Avatar
tjdrico tjdrico is offline
 
Join Date: Mar 2004
Location: Morecambe, UK
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just updated the first post with the following information:

TODO

This is the current list of things I plan on adding to vBookie imminently:
  • Add switch to specify whether punters may bet on more than one outcome
  • Add "decimal odds" display as well as the UK style fractional display
  • Add graphical display of the relative popularity of each outcome on a bet (like poll results)
  • Add 'accumulator' bets
  • Add "each way" betting
  • Build in a switch to use Petz points instead of vCash
  • Improve user feedback on bet status and why they can't bet.

Please email me any requests or add them to this thread.


Note to INSTALLERS

If you have installed vBookie, I am interested in hearing how it went and how it's still going, since this is a beta after all. Was the installation script OK? Were the code changes accurate? Is it working on your forum OK?

Please let me know, so I can prepare for a general full release, thanks.
  #21  
Old 06-03-2004, 10:43 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed it, installation was easy thank you, my only thing is that the templates could be worked on a bit.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05042 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete