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

  #841  
Old 09 Jun 2012, 07:05
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
does this work with vb4.2.0?

Or do I have to do any fixes from some of the above posts?
Will dartho be up dating this for 4.2.0?
Reply With Quote
  #842  
Old 09 Jun 2012, 13:57
thenamesgould thenamesgould is offline
 
Join Date: Mar 2008
Originally Posted by sutto View Post
Followed these steps, however I don't quite understand how to add the subnav aswell.
The nav is there and is working, however I just don't see any other options.

cheers
I'm not sure how to add the subnav parts either (assuming this is the links to the vBookie Home, Your Bets, Bet Statistics, Books part that goes below the vBookie tab).

Can anyone help with some explanation on how to do it? Pleeeease?
Reply With Quote
  #843  
Old 09 Jun 2012, 21:15
sitwi sitwi is offline
 
Join Date: Jun 2012
Originally Posted by ChromeDome View Post
I get this error when I surf on one of the vbookie pages:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I realise this was over six months ago, but would you be kind enough to share your solution please? What was the problem with vBExperience, as I'm getting exactly the same error message.

Thanks.
Reply With Quote
  #844  
Old 10 Jun 2012, 10:01
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Yes the sub nav isnt working even if you add that patch^


Hey, dartho, is there a way to change the display name of the vcash? even just how it reads under the avatars. I'd like to use a custom name. Thanks.

edit: i figured it out myself. search in phrases "vcash". edit phrase "vbookie_vcash" to whatever you want. i usually jsut add things to the "english translation" box and leave the original code.

Last edited by wilford brimley; 03 Sep 2012 at 20:24.
Reply With Quote
  #845  
Old 10 Jun 2012, 13:00
sitwi sitwi is offline
 
Join Date: Jun 2012
A partial solution to the sub-nav - here are the pages that it should link to:

vBookie summary: domain.com/vbookie.php
vBookie stats: domain.com/vbookie.php?do=stats
Open bets: domain.com/vbookie.php?type=OPEN
Settled bets: domain.com/vbookie.php?type=SETTLED
Your bets: domain.com/vbookie.php?do=bets

I'd be grateful if someone could give me some guidance on why my bookie page is breaking out of the template, please? See this page. (As opposed to the usual template). Thanks!
Reply With Quote
  #846  
Old 10 Jun 2012, 13:59
EasyEazy EasyEazy is offline
 
Join Date: Feb 2011
Originally Posted by sitwi View Post
I'd be grateful if someone could give me some guidance on why my bookie page is breaking out of the template, please? See this page. (As opposed to the usual template). Thanks!
Not sure if this will work but you could try inserting the code below in your VBOOKIE template of your custom style

{vb:raw headinclude_bottom}

Insert is just above the </head>
Reply With Quote
  #847  
Old 10 Jun 2012, 14:40
sitwi sitwi is offline
 
Join Date: Jun 2012
That actually worked a treat, first time.

Thanks so much for taking the time - learning already how great the VB.org community is!
Reply With Quote
  #848  
Old 10 Jun 2012, 15:08
New Joe's Avatar
New Joe New Joe is offline
 
Join Date: May 2009
Originally Posted by New Joe View Post
does this work with vb4.2.0?

Or do I have to do any fixes from some of the above posts?
Will dartho be up dating this for 4.2.0?
Anyone

Reply With Quote
  #849  
Old 11 Jun 2012, 15:07
sitwi sitwi is offline
 
Join Date: Jun 2012
Originally Posted by New Joe View Post
Anyone

Seems to work, apart from the nav bar. It doesn't want to work with that, currently.
Reply With Quote
  #850  
Old 16 Jun 2012, 09:46
sitwi sitwi is offline
 
Join Date: Jun 2012
Can anyone please give any pointers why this doesn't work with the navbar on 4.2, please?

It doesn't show, even on an otherwise vanilla installation with the default style?

Appreciate any help.
Reply With Quote
  #851  
Old 19 Jun 2012, 02:26
dartho dartho is offline
 
Join Date: Sep 2005
Short story is, it doesn;t work correctly with 4.2 as it wasn;t written for 4.2, but you would have seen that it wasn't compatible when you upgraded your test site before upgrading your live site.

I really don't have the time to look at this at the moment, but will happily post fixes if someone has them to put forward.
Reply With Quote
  #852  
Old 19 Jun 2012, 06:37
sitwi sitwi is offline
 
Join Date: Jun 2012
It is on a test site.

Thanks though.
Reply With Quote
  #853  
Old 21 Jun 2012, 12:34
thecelticway thecelticway is offline
 
Join Date: Aug 2009
Dathro

clear your PM's

regards
Reply With Quote
  #854  
Old 21 Jun 2012, 13:05
thecelticway thecelticway is offline
 
Join Date: Aug 2009
4.2.0

anyone to help with getting this to work in 4.2.0
we've ran it for years in the 4.0.2 version and the members love it,
PM's welcome
Thanks
Reply With Quote
  #855  
Old 22 Jun 2012, 03:40
Kenas Kenas is offline
 
Join Date: Mar 2011
Database error in vBulletin 4.1.2:

Invalid SQL:
SELECT
SUM(bet_amount_won) AS sumbets
FROM vbookie_bets_placed
WHERE bet_settled='Y' AND userid=1
AND dateline > 315532800
GROUP BY userid;

MySQL Error : Unknown column 'dateline' in 'where clause'
Error Number : 1054
Request Date : Friday, June 22nd 2012 @ 04:38:21 AM
Error Date : Friday, June 22nd 2012 @ 04:38:21 AM
Script : http://www.gXXXXXXm.eX/vbookie.php
Referrer : http://www.gXXXXXXm.eX/showthread.ph...lXXXXXa-GXXXXa
IP Address : 8X.5X.2XX.3X
Username : Kxxxx
Classname : vB_Database
MySQL Version : 5.0.77-log

I am getting this exact same problem i tried
Originally Posted by EasyEazy View Post
Not sure if this will work but you could try inserting the code below in your VBOOKIE template of your custom style

{vb:raw headinclude_bottom}

Insert is just above the </head>
but still not working
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 23:14.

Layout Options | Width: Wide Color: