![]() |
vBookie for vBulletin 4
1 Attachment(s)
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 :o 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 |
F.A.Q.
Q. Is there a release for 4.2? A. Not yet, but this post tells you how to get it mostly working: Q. How can I use vbexperience with vBookie? A. See this post: https://vborg.vbsupport.ru/showpost....&postcount=435 Q. vBookie page doesn;t display quite right (vBookie 4.0.9 or earlier) A. Check this post: https://vborg.vbsupport.ru/showthrea...06#post2077906 Q. How can I limit the amount a member may bet? A. Check this post: https://vborg.vbsupport.ru/showpost....&postcount=678 Will be resolved in next release. Q. How do I clear all past vBookie events? A. See: https://vborg.vbsupport.ru/showthrea...87#post1959987 |
Wow bro awesome work.
Edit: How can you edit how is displays in postbit? |
Wow,
Did not expect to see this ported.... Thank you |
Bout Bloody TIME ;) goodonya mate.
Can't wait :up: |
Tagged for future use :) , looks awsome
|
Every time you change the user group settings they go right back to 'No'
how do we go about fixing this? |
rebuild bitfields I think
..../admincp/index.php?do=buildbitfields |
Quote:
/admincp/index.php?do=buildbitfields |
Yeah I ended up finding that in the other thread. Thanks guys for the quick help.
|
Awesome to see this ported :-)
|
Quote:
|
Quote:
|
Thanks .
|
Quote:
|
Great MOD tagged this :)
|
There is a template issue in alignment.
the private betting check mark is on the far left while the rest is centered. |
Same problem as the last version, where it won't save the permissions on the usergroups as to who can; post, edit or bet
|
read the 2nd post how to fix
|
Thanks for the heads up GreigM ;)
all working |
fantastic <clicks install> :up:
|
How can we change the starting value for vcash? I am sure it was a DB query on the old mod would it still be the same?
Also on the main forum display a vbookie thread displays the poll icon, thread view shows the vbookie icon, would that be able to be changed? Also when a bet is settled it does not seem to give the details of who won etc http://i68.photobucket.com/albums/i3...7/39c6cdb7.jpg other than that all seems great, so nice to see this mod back, thanks :-) |
Quote:
Quote:
Quote:
I've notice one or two other "small things" which I'll fix up soon also. |
actually - the small things are a little obtrusive, although they won;t affect any data - just look odd to your users, I'll fix up tonight (next few hours) and get a new release out.
If you want to manually get rid of the most obvious one in the mean time, edit the vbookie_eventresults_table template, scroll to the end and you'll see a table with data such as "Hello World" etc. Delete that whole table block :o To see who won, click on the winning "Outcome" in the thread |
Quote:
edit: actually this will work for members currently registered but anyone new would still start with 500, would it be possible to add a admincp option to set the default vcash value? I guess the 500 default is set in the xml import, maybe we could just change it in there? |
Note:
The postbit icon isnt displaying for us. Also wish to change title of navbar menu name from vbookie to The Bookies |
Okies Icon is displaying lol ( thought it would be in the postbit ...duhhh)
Ste btw love the roman numerals postcount on twf |
Quote:
Other wise you can just change teh phrase "vbookie" to be what you want and this will change all occurences Quote:
see here: https://vborg.vbsupport.ru/showthread.php?t=222213 Should work under 4.0 also :up: |
Quote:
|
Changed navbar link plugin to:
Code:
if (defined('The Bookies') ) |
Not plugin changes, that messes up your Navbar links!
Template changes! |
k so changed it to this:
Code:
<vb:if condition="$vboptions['selectednavtab'] == 'The Bookies'"> |
I'll forgive you as you're English, and you're in Queensland ;)
As stated back a few posts, change {vb:rawphrase vbookie} on the 3rd and the 2nd last lines of that template - they are unchanged in the code you pasted ... Revert the template, try again :) |
bro pls teach me how 2 use vbookie? any tutorial i dunno how 2 add new bets
|
Create a new thread and tick the box for, Yes, post a vBookie Event with this thread, this will open the options for your bet, and odds etc and is well documented in that page :)
|
Quote:
Code:
ALTER TABLE user CHANGE COLUMN vbookie_cash vbookie_cash BIGINT(20) UNSIGNED NULL DEFAULT 1000 ; |
Quote:
Simple, Easy ;) thanks |
Quote:
Code:
<vb:if condition="$vboptions['selectednavtab'] == 'vbookie'"> |
Actually no we havent removed it just Commented it out. I was playing with <!-- and -->
It will be reinstated mate, I NEVER remove copyright from other authors work |
Reinstated, and all footer copyrights intact ( sorry was playing with target=_blank for your link
Many thanks for your code, all sorted now |
All times are GMT. The time now is 06:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|