Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBookie for vBulletin 3.5 Details »»
vBookie for vBulletin 3.5
Version: 1.0.7, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-11-2005 Last Update: 02-17-2006 Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vBookie

Introduction

This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work

A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.

Supporters / CoAuthors

Show Your Support

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

Comments
  #2222  
Old 05-30-2009, 06:40 AM
merk_aus merk_aus is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 582
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Guys - I have started recoding this, slowly seem I am only new to coding - I am coding it all up to meet the new standards outlined by vBulletin. I can say that it will not work on vb4.0 when it is released - when the coding is finished it will however work on 3.8.x

Ok so here are some new features etc that will be in the new version:-
+ Ajax Betting Updates
You can open a betting event at 1/1 and when people bet on something the odds will improve for that bet, just like proper betting the odds will move up and down depending on what people are betting on - if someone bets 1000 credits on 1 event obviously that teams odds will become shorter while the other teams will blow out.

+ Ability to cater for Horse Racing
There will be a new selection option where you can select if this is a Horse Racing Event, this would allow you to add a "Place/Show" odds as well, this would also help if you run a motorsport betting system - you would be able to bet on a win or placing.

+ Easier installation
Our aim is to provide an easier installation, with limited template edits, we are hoping to make it a product install only - however as I mentioned I am only new to coding and therefore it would depend on how well things go.

-------------
I am still open to ideas, and am open to anyone with coding knowledge to help me out.

At the moment I am the only one Andreas has given the re-code permission to and my hope is to try and get this set up and running well... to work on 3.8.x and we will have to see what the coding involved with 4.0 is before deciding whether it would work on there.

If you are interested in helping please pm me.
Reply With Quote
  #2223  
Old 05-30-2009, 12:27 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk_aus View Post
Ok Guys - I have started recoding this, slowly seem I am only new to coding - I am coding it all up to meet the new standards outlined by vBulletin. I can say that it will not work on vb4.0 when it is released - when the coding is finished it will however work on 3.8.x

Ok so here are some new features etc that will be in the new version:-
+ Ajax Betting Updates
You can open a betting event at 1/1 and when people bet on something the odds will improve for that bet, just like proper betting the odds will move up and down depending on what people are betting on - if someone bets 1000 credits on 1 event obviously that teams odds will become shorter while the other teams will blow out.

+ Ability to cater for Horse Racing
There will be a new selection option where you can select if this is a Horse Racing Event, this would allow you to add a "Place/Show" odds as well, this would also help if you run a motorsport betting system - you would be able to bet on a win or placing.

+ Easier installation
Our aim is to provide an easier installation, with limited template edits, we are hoping to make it a product install only - however as I mentioned I am only new to coding and therefore it would depend on how well things go.

-------------
I am still open to ideas, and am open to anyone with coding knowledge to help me out.

At the moment I am the only one Andreas has given the re-code permission to and my hope is to try and get this set up and running well... to work on 3.8.x and we will have to see what the coding involved with 4.0 is before deciding whether it would work on there.

If you are interested in helping please pm me.
YES!!

About time someone takes this on!! I have mine working for 3.8 already, but I would love to have the new features.

I'll definitely be dropping a few suggestions in this thread when I get them. The ones you mentioned already sound great!
Reply With Quote
  #2224  
Old 05-31-2009, 01:06 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For starters, I'd like for my users to be able to make bets between other users. If a person wants to bet x amount of money on a certain event, they can post it along with the amount of people (limit) they'd like to bet that amount against.

Whoever creates a bet can send people invites to bet, or anyone can bet depending on what that user wants to do.
Reply With Quote
  #2225  
Old 06-01-2009, 11:29 PM
highblue highblue is offline
 
Join Date: Feb 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by merk_aus View Post
Ok Guys - I have started recoding this, slowly seem I am only new to coding - I am coding it all up to meet the new standards outlined by vBulletin. I can say that it will not work on vb4.0 when it is released - when the coding is finished it will however work on 3.8.x

Ok so here are some new features etc that will be in the new version:-
+ Ajax Betting Updates
You can open a betting event at 1/1 and when people bet on something the odds will improve for that bet, just like proper betting the odds will move up and down depending on what people are betting on - if someone bets 1000 credits on 1 event obviously that teams odds will become shorter while the other teams will blow out.

+ Ability to cater for Horse Racing
There will be a new selection option where you can select if this is a Horse Racing Event, this would allow you to add a "Place/Show" odds as well, this would also help if you run a motorsport betting system - you would be able to bet on a win or placing.

+ Easier installation
Our aim is to provide an easier installation, with limited template edits, we are hoping to make it a product install only - however as I mentioned I am only new to coding and therefore it would depend on how well things go.

-------------
I am still open to ideas, and am open to anyone with coding knowledge to help me out.

At the moment I am the only one Andreas has given the re-code permission to and my hope is to try and get this set up and running well... to work on 3.8.x and we will have to see what the coding involved with 4.0 is before deciding whether it would work on there.

If you are interested in helping please pm me.
Really can't thank you enough for working on this! I sure wish I could write code because I'd be trying to help every step of the way. As it is, about all I can offer are a few suggestions.

I'll just hit the first two off the top of my head... the Edit VBookie Event function should be a clickable button instead of clickable white text. That's already confused a couple of people in my forum, and I'll admit it's not as people-friendly as it could be... more easily visible, that is.

I'd also go back to an earlier suggestion. People should have the option to change their bets before the cut-off date. Particularly in the case of horseracing, that would clean up any problems connected to scratched horses. We ran into that issue last weekend, and it wasn't a problem for me to go into Admin CP and give them their points back, but if they'd been able to change their own bets, it would've saved me some time. Besides, horseracing bettors will often change their minds anyway.

I'm sure I'll have more suggestions as you go along, but those two are at the top of the list right now... sorry, and one other problem. The other day, when a horse scratched out of a race, I tried to change the Number of Outcomes. So I reduced the Number of Outcomes by one and clicked the button to Update Event. Even though it was supposed to reduce the number by one (I assume, since I changed the number), it still showed the same Number of Outcomes as the original setting after I'd clicked Update. In short, reducing the Number of Outcomes had no effect at all. It wasn't a major problem... just a glitch in the original code, I suppose.

Thanks again, and I'll try to come up with some more suggestions. I really think this could be a MOTM because it's definitely got tons of potential. I'd vote for it!
Reply With Quote
  #2226  
Old 06-01-2009, 11:34 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd love to see this mod back on my site. We used to bet on everything!
Reply With Quote
  #2227  
Old 06-01-2009, 11:51 PM
highblue highblue is offline
 
Join Date: Feb 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One of the bettors on my site just brought up a really good and very important point.

vBookie would be more workable for horseracing if the Ajax calculations for a pari-mutuel type of betting system could be disabled. We've got some excellent handicappers in our forum, and if all of them bet on the same horse, or even if most of them bet on the same horse - knowing it's going to win - then the vBookie odds on that race wouldn't even come close to reflecting the real world odds in the race.

In the real world race, that winning horse might go off at 1-1 or better, but in the vBookie race with most of the people betting on it, the horse could go off at 1-20 odds.

So for horseracing purposes, ideally we would have the option to disable the Ajax function that's calculating the odds based on the amounts being bet on the event. It might also be useful to have the option of disabling it for other events too.
Reply With Quote
  #2228  
Old 06-03-2009, 03:43 AM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I downloaded this but it doesn't seem to work,

I clicked on Manage Products in my Admin Panel, then added Import and Imported the product XML, all installed but it doesn't work.
It show in my vBulletin Options but when I go to make a Thread the option isn't there to use the vBookie.
Any ideas why?
Reply With Quote
  #2229  
Old 06-03-2009, 08:16 AM
markhendo1986 markhendo1986 is offline
 
Join Date: Jan 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by markhendo1986 View Post
Hi there,

Got this installed and all is up and running. Members are able to post a new event to bet on and are able to bet/settle bets.

However, when members are betting, their vCash doesn't go down and automatically returns to 500 vCash even after betting and losing their cash.

Any ideas how to fix this? I've not been 'giving to the poor' or anything like that...
Is anybody able to help me regarding this problem? I've managed to get this up and running in the past before but for some reason, this just isn't happening...
Reply With Quote
  #2230  
Old 06-03-2009, 12:53 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by New Joe View Post
I downloaded this but it doesn't seem to work,

I clicked on Manage Products in my Admin Panel, then added Import and Imported the product XML, all installed but it doesn't work.
It show in my vBulletin Options but when I go to make a Thread the option isn't there to use the vBookie.
Any ideas why?
sounds like you are running vb 3.6 or high.. you need to apply the fix and make the template edits. so it will work..

https://vborg.vbsupport.ru/showthrea...92#post1035092
Reply With Quote
  #2231  
Old 06-03-2009, 02:19 PM
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Posts: 1,128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
sounds like you are running vb 3.6 or high.. you need to apply the fix and make the template edits. so it will work..

https://vborg.vbsupport.ru/showthrea...92#post1035092
Done that but it still doesn't show in the options when I go to start a new Thread.
Reply With Quote
Reply


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 12:38 AM.


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.06012 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
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
  • (5)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
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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