The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBookie for vBulletin 4 Details »» | |||||||||||||||||||||||||||||||||||||||
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 [S]4. Edit "newthread" template as per readme.txt ionstructions[/S] 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
Screenshots
Supporters / CoAuthors Show Your Support
|
7 благодарности(ей) от: | ||
DS MrSinister, gagan007, RichieBoy67, snowlion, talkncaasports, tbworld |
Comments |
#152
|
||||
|
||||
Dartho is re doing the MOD, without auto bitfield. This could be causing some issues. Please bear with him :up:
|
#153
|
|||
|
|||
offcourse! Glad that someone will fix this for us for free. I didnt read the topic good enough. My bad
|
#154
|
|||
|
|||
For people with 4.0.4:
issue with stats only occurs iof there are no vBookie events after installing (The query ois empty coz there ios nothing to query) issue with vCash not showing up an no one being able to bet is a bug which can be fixed by changing cash type to something otehr than vCash, and then back to vCash again. I've got a new version ready which no longer uses bitfields for permission checking which worked 'out of the box' on a clean install. I'll post it up shortly |
#155
|
|||
|
|||
4.0.5 Released - no longer uses bitfields for permissions, fixed vCash display, fixed stats page error.
To upgrade, install product, upload all files, and recheck you settings You can also delete the bitfield_vbookiehack.xml from your includes/xml folder as it is no longer needed (perform a rebuild bitfields afterwards) - however leaving it shouldn't have any effect. Fingers crossed |
#156
|
|||
|
|||
I haven't had a problem with this since installing, but I upgraded anyways.
Nice work. |
#157
|
|||
|
|||
working nicely my end ')
|
#158
|
|||
|
|||
Great job all seems fine with our install now, thanks again
One question, I would like the VBookie tab in the navbar to only show when in the forum section, not in CMS etc, would that be possible at all? |
#159
|
|||
|
|||
can u explain what is Odds and playing with it ? how we calculate price for the winner ?
|
#160
|
|||
|
|||
mm... I could try, but would probably fail miserably. Have a read of http://en.wikipedia.org/wiki/Odds#Ga..._probabilities
[Edit] OK - I'll have a try anyway: A simple example is tossing a coin and picking the outcome (Heads or Tails) the probablility is 1 to 2 (or 0.5) of getting either, so teh odds may well be 1 to 2 also (although in real life the bookie may make the odds more in his favouir so her makes a profit). In gambling 1 to 2 means to win 1, you must be 2. Your original bet is also returned if you win. Say you put $10 on heads at 1 to 2 odds. In order to win 1, you must bet 2. Given we have bet $10, we will win $5 if the outcome is heads, you will also get your original $10 back. |
#161
|
|||
|
|||
Just made the jump from 4.0.1 to 4.0.5 I get a database error when clicking on stats.
Code:
Database error in vBulletin 4.0.1: Invalid SQL: SELECT COUNT(*) as numitems FROM vb_`vbookie_news`; MySQL Error : Table 'rassa_vb.vb_' doesn't exist Error Number : 1146 Request Date : Tuesday, January 26th 2010 @ 05:20:24 PM Error Date : Tuesday, January 26th 2010 @ 05:20:24 PM Script : http://www.mysite.com/vbookie.php?do=stats Referrer : http://www.mysite.com/vbookie.php?do=bets Classname : vB_Database MySQL Version : 5.1.42 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|