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: Apr 2019 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (54 votes - 4.87 average) Installs: 375
Released: 19 Jan 2010 Last Update: 24 Jan 2013 Downloads: 2798
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:	11877
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 15:37
vBookie - vBulletin Betting Hack tjdrico vBulletin 3.0 Full Releases 777 16 Feb 2009 18:55

  #826  
Old 23 May 2012, 08:44
UK CHI3F's Avatar
UK CHI3F UK CHI3F is offline
 
Join Date: Dec 2011
Real name: Paul
Yes we had it on 4.1.12 and it was working fine,

Unfortunately we have finished the 4.2 upgrade and all the navigation bar options have disappeared, ie blog, articles etc.

Appears on all other tabs just not bookie.
Reply With Quote
  #827  
Old 23 May 2012, 17:28
Trevor Hannant's Avatar
Trevor Hannant Trevor Hannant is offline
 
Join Date: May 2003
Real name: Trevor
Originally Posted by UK CHI3F View Post
Yes we had it on 4.1.12 and it was working fine,

Unfortunately we have finished the 4.2 upgrade and all the navigation bar options have disappeared, ie blog, articles etc.

Appears on all other tabs just not bookie.
Find this near the bottom of vbookie.php:


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

and add these lines above:


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

And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated
Reply With Quote
  #828  
Old 27 May 2012, 15:27
UK CHI3F's Avatar
UK CHI3F UK CHI3F is offline
 
Join Date: Dec 2011
Real name: Paul
Thanks for the promp reply, and apologies for the delay in my reply

Find this near the bottom of vbookie.php:

Code:
$templater = vB_Template::create('VBOOKIE');
and add these lines above:

Code:
$navbits = construct_navbits($navbits);
$navbar = render_navbar_template($navbits);
And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated
Worked like a charm, thank you very much
Reply With Quote
  #829  
Old 28 May 2012, 18:21
VieNoc VieNoc is offline
 
Join Date: May 2010
Originally Posted by Trevor Hannant View Post
Find this near the bottom of vbookie.php:


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

and add these lines above:


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

And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated
Thanks
Reply With Quote
  #830  
Old 29 May 2012, 07:26
sutto sutto is offline
 
Join Date: Jul 2008
Real name: Chris
Originally Posted by Trevor Hannant View Post
Find this near the bottom of vbookie.php:


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

and add these lines above:


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

And add a new link to vbookie.php in the Navigation Manager and the relevant sub-nav until the product gets updated
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
Reply With Quote
  #831  
Old 30 May 2012, 08:36
mentalageof2 mentalageof2 is offline
 
Join Date: Apr 2006
Bitfield Collision in 4.2.0

Hi all,

After an upgrade to 4.2.0 I've now got this message when trying to install plugins:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
Bitfield Collision: canwrtmembers = canpostvbookieevent
A quick look through /includes/xml/bitfield_vbulletin.xml shows:


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

>
And in /includes/bitfield_bookiehack.xml:


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

So direct conflict with a core vb permissions bitfield in the new version by the look of it.

Have had to disable my vBookie for now to get vbseo running again, so any advice greatly appreciated.

Cheers
J
Reply With Quote
  #832  
Old 30 May 2012, 08:42
nektar nektar is offline
 
Join Date: Apr 2004
I'm having the same problem.

I tried to update one plugin and I got this message:

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
  • Bitfield Collision: canwrtmembers = canpostvbookieevent
Reply With Quote
  #833  
Old 30 May 2012, 12:46
dartho dartho is offline
 
Join Date: Sep 2005
I think that bitfield file is left over from vb3! vBookie 4 has never used bitfields for permissions, feel free to delete it (/includes/xml/bitfield_bookiehack.xml)

Last edited by dartho; 31 May 2012 at 07:49. Reason: corrected file name to delete
Reply With Quote
  #834  
Old 30 May 2012, 14:40
nektar nektar is offline
 
Join Date: Apr 2004
Originally Posted by dartho View Post
I think that bitfield file is left over from vb3! vBookie 4 has never used bitfields for permissions, feel free to delete it (/includes/xml/bitfield_vbulletin.xml)
Excuse me but can you please be more precise on what to delete?
Delete /includes/xml/bitfield_vbulletin.xml file???

Thank you.
Reply With Quote
  #835  
Old 31 May 2012, 06:53
mentalageof2 mentalageof2 is offline
 
Join Date: Apr 2006
Quality

Originally Posted by dartho View Post
I think that bitfield file is left over from vb3! vBookie 4 has never used bitfields for permissions, feel free to delete it (/includes/xml/bitfield_vbulletin.xml)
Thanks mate, resolved, looks like a good clean-out is required on the board in question. (yay!)
Reply With Quote
  #836  
Old 31 May 2012, 06:57
nektar nektar is offline
 
Join Date: Apr 2004
Originally Posted by mentalageof2 View Post
Thanks mate, resolved, looks like a good clean-out is required on the board in question. (yay!)
Can you tell me how you resolved it?

Thank you.
Reply With Quote
  #837  
Old 31 May 2012, 07:04
dartho dartho is offline
 
Join Date: Sep 2005
You need to delete the /includes/xml/bitfield_bookiehack.xml file.

Last edited by dartho; 31 May 2012 at 07:49. Reason: fixed file name
Reply With Quote
  #838  
Old 31 May 2012, 07:26
nektar nektar is offline
 
Join Date: Apr 2004
Originally Posted by dartho View Post
You need to delete the /includes/xml/bitfield_vbulletin.xml file.

Are you sure?

I deleted it and then tried to install a product and I got the following error: (part of it as it is quite big)


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

Reply With Quote
  #839  
Old 31 May 2012, 07:36
nektar nektar is offline
 
Join Date: Apr 2004
I deleted /bitfield_bookiehack.xml and it seems to be ok now.
I guess this is what you meant since the one you propose to delete is a vbulletin file...
Reply With Quote
  #840  
Old 31 May 2012, 07:48
dartho dartho is offline
 
Join Date: Sep 2005
OOPS.. yes - bitfield_bookiehack.xml - bad copy and paste on me behalf there. I'll edit my above posts.
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 20:05.

Layout Options | Width: Wide Color: