Version: 1.0.7, by Andreas
Developer Last Online: Jan 2023
Version: 3.5.3
Rating:
Released: 08-11-2005
Last Update: 02-17-2006
Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage
No support by the author.
vBookie
Introduction
This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work
A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.
When i select "post a vbookie event" and click to post tthread, it just comes up a normal thread and not the options to do my vbookie event, any ideas? Doesn't matter, i've fixed that.
My next problem no matter what date or time i set on an event i can't place any bets, all my permissions are set correctly, i'm 100% sure of that. Any ideas?
The times are backwards, my board time is gmt and my bookie is gmt but i have to set it for 4am if i want it to end at 4pm how do i fix that
I'm having the same problem, my permissions stay at yes but when I go to post the event and check the box for it the event never shows up, it just shows up as a regular thread. Any help would be greatly appreciated.
I'm having the same problem, my permissions stay at yes but when I go to post the event and check the box for it the event never shows up, it just shows up as a regular thread. Any help would be greatly appreciated.
You didn't apply Paul M's "fix" There are a ton of references to this..
I must be an idiot cause I have no idea what you're referring to...
That's because you didn't read back far enough.... Its the single most talked about subject besides the bitfields..
Step 1. Log into your Admin Control Panel.
Step 2. Scroll down the left hand nav menu until you get to the Plugins & Products Area.... expand it.. click on Plugin Manager. This will then bring up all the plugins that you have installed within vbulletin...
Step 3. Scroll down the list and look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....
Step 4. Find the specific plugin that needs to be modified (vBookie: Redirect to vbookie.php when posting new Event) and then click on [edit]. This will open the plugin so that you can replace the block of code with the block that Paul had in his post (which is located below)
In case anyone wants to make it so only admins can settle bets (I know I needed that and I saw someone else post way back the same thing).
It's an ugly fix in that I didn't add any options to the actual mod. I just hardcoded in so that it would always be like that.
pretty easy.
plugin:
vBookie: Show Events in Showthread
find
PHP Code:
if ( ($eventinfo['item_pay_after'] < TIMENOW) ) { if ($eventinfo['item_status'] == 'CLOSED') { if ($show['editevent']) { $showsettlebutton = 1; // only show settlement button if it's someone that can edit this event } } else if ($eventinfo['item_status'] == 'SETTLED') { $showresults = 1; } }
replace with
PHP Code:
if ( ($eventinfo['item_pay_after'] < TIMENOW) ) { if ($eventinfo['item_status'] == 'CLOSED') { $userinfo = fetch_userinfo($vbulletin->userinfo['userid']); if ($show['editevent'] AND ($userinfo['usergroupid'] == "6")) { $showsettlebutton = 1; // only show settlement button if it's someone that can edit this event } } else if ($eventinfo['item_status'] == 'SETTLED') { $showresults = 1; } }
Database error in vBulletin 3.6.10:
Invalid SQL:
;
MySQL Error : Query was empty
Error Number : 1065
Date : Tuesday, September 9th 2008 @ 10:01:05 AM
Script : http://www.xx.com/forums/vbookie.php?do=stats
Referrer : http://www.xx.com/forums/vbookie.php
IP Address : xx
Username : xx
Classname : vB_Database
Also, I did the templete add in "newthread" and have my forums permissions set that admin's can post a new vbookie event yet when I click New Thread, there is no option to add a vbookie event. What am I missing?
Also, I did the templete add in "newthread" and have my forums permissions set that admin's can post a new vbookie event yet when I click New Thread, there is no option to add a vbookie event. What am I missing?
Anyone have any thoughts on this. I have confirmed that the admin has all the forum permissions checked yes in the forum I am trying to start a vbookie event. Also confirmed all the files are uploaded. Confirmed I did the template edit. But still no box to check to make it a vbookie event. Any advice would be good. Thanks