Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBookie for vBulletin 4 Details »
vBookie for vBulletin 4
Mod Version: 4.2.1, by dartho (Coder/Designer) dartho is offline
Developer Last Online: Feb 2021 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (54 votes - 4.87 average) Installs: 374
Released: 18 Jan 2010 Last Update: 24 Jan 2013 Downloads: 2801
Not Supported DB Changes Uses Plugins Template Edits Auto-Template  

Please See the first post for a F.A.Q.
I will endevour to link to useful posts within this thread there as I spot them. You should check there before posting issues etc.

This is a port of vBookie for vBulletin 3.5 by Andreas which was a port of vBookie - vBulletin Betting Hack by tjdrico. Permission was given by tjdrico to port this.

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 an Event (bets that are placed are stored with the prevailing odds, so even if the odds change, your users are paid at the correct rate).

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'.

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.

Install Instructions
1. Unzip product file
2. Upload files from 'Upload' folder to your forum
3. Install product XML
4. Edit "newthread" template as per readme.txt ionstructions
5. Set usergroup permissions
6. Set vBookie settings
7. Enjoy.
8. Check out Dismounted's Activity Stream addon
9. Click Mark As Installed and Rate

Upgrade instructions
same as above, but undo edits made in point 4 if upgrading from pre 4.0.7! (see readme.txt for more info)

Version Control
4.0.0 (19 Jan '10 ) - Initial Release
4.0.1 (21 Jan '10 ) - Removed some junk from templates, added enable private bets option
4.0.2 (24 Jan '10 ) - fixed options for hiding vcash, added some more stuff to teh settings screen, added some vCash utilities (reset balances, give to everyone, set default balance) and fixed some template bugs.
4.0.3 (25 Jan '10) - fixed bugs I introduced in 4.0.2 see post #109
4.0.4 (25 Jan '10) - fixed time zone not being saved, can delete events, + plus a couple other things.
4.0.5 (Australia Day '10) - no longer uses bitfields for permissions, fixed vCash display, fixed stats page error
4.0.6 (27 Jan '10) - fixed TABLE PREFIX issue in vBookie stats page
4.0.7 (23 Mar '10) - fixed redirect bug when editing events, fixed display of cash holdings in events, added plugin to make template mods (no template mods needed now) and updated code to 4.0.2 standards, added hooks for vbcredits integration.
NOTE 0- if upgrading from pre 4.0.7, you will need to eitehr revert your "newthread" temp[late, or manually undo template edits as there is now a plugin which does this for you. Check teh readme.txt in the archive for more info.
4.0.8 (31 May '10) - hopefully fixed bug with updating number of outcomes when editing events. To upgrade from previous version (4.0.7) just overwrite vbookie.php
4.0.9 (25 July 10) - Added ability to select Reputation points for currency. Phrased had coded text. Fixed bug in displaying vCash balance in postbit.
4.2.0 (21 August 12) Added in navigation manager Code for vBulletin 4.2, disabled old nav plugin
4.2.1 (24 January 13) Added missing template, fixed Nav code, fixed some small bugs

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	screenshot1.jpg
Views:	11898
Size:	68.0 KB
ID:	110412  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBookie for vBulletin 3.5 Andreas vBulletin 3.5 Add-ons 2436 06 Oct 2013 14:37
vBookie - vBulletin Betting Hack tjdrico vBulletin 3.0 Full Releases 777 16 Feb 2009 17:55

  #706  
Old 19 Aug 2011, 23:35
pharlap pharlap is offline
 
Join Date: Oct 2010
Originally Posted by dgparent View Post
OK I finally figured out how to add a event but now I figure out how to actually bet on it ?? I registered as a new user and I still can't figure this freaking thing out each user is given 1000 by default.
ALTER TABLE user CHANGE COLUMN vbookie_cash vbookie_cash BIGINT(20) UNSIGNED NULL DEFAULT 1000 ;

change 1000 to the start value you want for new users
Reply With Quote
  #707  
Old 24 Aug 2011, 05:19
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
How can I add the VCash to the postbit manually?
Reply With Quote
  #708  
Old 25 Aug 2011, 21:26
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Not taking the money from the bookie

Little problem with this.

When I had the original on vb3 it would give and take money from the bookie.

so whatever the members betted, went into the bookies cash, and if they won they would receive the money from the bookie, if they lost the bookie would keep the cash.

My users liked this as it put an edge on the game - nicking a little from there friends.

Now when they play the money goes no where but they win or lose the amount.

Does anyone have any ideas why the bookie is not getting the money before the game ?

Thanks for any help.

Mick
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #709  
Old 27 Aug 2011, 05:40
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Real name: Bob
Originally Posted by Mickie D View Post
Little problem with this.

When I had the original on vb3 it would give and take money from the bookie.

so whatever the members betted, went into the bookies cash, and if they won they would receive the money from the bookie, if they lost the bookie would keep the cash.

My users liked this as it put an edge on the game - nicking a little from there friends.

Now when they play the money goes no where but they win or lose the amount.

Does anyone have any ideas why the bookie is not getting the money before the game ?

Thanks for any help.

Mick
That must have been a customization that someone had done for you as vbookie has never been that way.
__________________
Please Do Not PM me for vBulletin assistance... I am currently only doing customization & addon's for Xenforo.
Reply With Quote
  #710  
Old 02 Sep 2011, 06:58
talkncaasports talkncaasports is offline
 
Join Date: Sep 2008
Originally Posted by dgparent View Post
Ok I am starting a game on my site using this I need to be able to do this

1. Each week I post 15 games with lines to bet on users bet vcash on them
2. I want them all in 1 thread not 15 threads

How do you do that? So users can pick and choose between 15 games each week in 1 thread ? If you start with 30 outcomes will that work ? I don't think so.

Basically I need the ability to add as many games with 2 outcomes as I want to ONE thread.
Unless someone knows something I don't, which is probably going to be the case, that is the way to do it.

That is at least the way I have done it in the past.

If you are wanting all your weeks games to be in one thread, just use as many outcomes as you need. You can have multiple winners for each event.
Reply With Quote
  #711  
Old 04 Sep 2011, 18:05
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Originally Posted by bobster65 View Post
That must have been a customization that someone had done for you as vbookie has never been that way.
You could probably ask 500 of my members that use it regularly, that is how it worked and I never made any customizations, or anyone else.

I would however pay for someone to do that no problem, as it was much more fun for everyone.

Still loving this mod though!

Mick
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #712  
Old 04 Sep 2011, 22:53
dartho dartho is offline
 
Join Date: Sep 2005
Bobster is correct, that was never default behaviour. There are instuctions in the 3.5 version thread on how to make this change, but I ran into an issue when having a quick look at it under 4.0, so it is more than a quick job (and not one I can do at the moment).

BTW - I still use vb3.8 and have that same code modification.
Reply With Quote
  #713  
Old 04 Sep 2011, 23:08
Mickie D Mickie D is offline
 
Join Date: Jun 2002
No problem Dartho, thanks for looking.

Can you point me to that information please, I will take a little look.

But I can promise you I never done this modification, very strange?

Regards
Mick
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #714  
Old 04 Sep 2011, 23:22
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Found it here.

http://www.vbulletin.org/forum/showp...&postcount=716

Will have a look at it tomorrow.

Regards
Mick
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #715  
Old 04 Sep 2011, 23:39
dartho dartho is offline
 
Join Date: Sep 2005
Ah - I remember now, you're probably using this version whioch would explain why you did not have to modifiy the code: http://www.vbulletin.org/forum/showt...17#post2157617
Reply With Quote
  #716  
Old 05 Sep 2011, 17:23
Mickie D Mickie D is offline
 
Join Date: Jun 2002
That was exactly the one I installed

Thought I was going crackers there.

I have just got in from work but seen that the switch uses "vcash" instead of "vCash"

Looking over it now hopefully I can get it going

Mick
__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #717  
Old 05 Sep 2011, 19:16
Mickie D Mickie D is offline
 
Join Date: Jun 2002
I got it working!

It was a very easy fix - you just change the "CASE".

If anyone is interested and all credits to the original add on maker... I done nothing really!

You will need to follow the instructions from this post
http://www.vbulletin.org/forum/showp...&postcount=716

But when it comes to the edit for function_vbookie.php use this code below


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Digitalworldz Satellite Cable TV Forums
Cable, Satellite, Consoles, Mobile Phones, Audio Visual, and general chat
Reply With Quote
  #718  
Old 05 Sep 2011, 22:32
dartho dartho is offline
 
Join Date: Sep 2005
Excellent - glad you go it working!
Reply With Quote
  #719  
Old 08 Sep 2011, 18:16
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Originally Posted by dartho View Post
I used to have a max limit on my site (although users could get around this by placing multiple bets) - I'll have a look
Hi dartho, is this something you would be interested in doing. Would be of good use for us.
Reply With Quote
  #720  
Old 08 Sep 2011, 19:07
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Originally Posted by CharlieDelta View Post
Hi dartho, is this something you would be interested in doing. Would be of good use for us.

Would also be of use to us too
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:00.

Layout Options | Width: Wide Color: