View Full Version : vBookie for vBulletin 3.5
Pages :
1
2
3
4
5
6
[
7]
8
9
10
LockeAG
05-20-2007, 06:48 AM
I have vbookie and iBank and iCash all running on 3.6.7. with no problems.
Could you PLEASE share your files... You will go to heaven all with Shoes !!
see'a
kylek
05-20-2007, 07:27 AM
Could you PLEASE share your files... You will go to heaven all with Shoes !!
see'a
This is the order of things - how it was, how I did it. These settings below work for me.
I originally had vbookie and vbplaza running on 3.6.5. Then uninstalled vbplaza and the vbplaza add on for vbookie.
Then I installed iCash, and later found the files in post 1343 that Sinisterpain attached. Downloaded them and uploaded overwriting files on the server. Ran the product bookie-hack making sure it was set to overwrite.
This gives you a new iCash setting in the cash/points system setting in the vbookie options. I set it for iCash.
iCash Settings - this worked for me. For points name we use stars as our money
Name of points - Stars
Money Row - Money (left as default)
Then installed iBank.
iBank Settings:
money Row - money
All were working. Then just upgraded from 3.6.5 to the latest 3.6.7. Checked after upgrading and all are still working.
Also checked to see if I still had the Redirect to vbookie.php when posting new Event plugin still there and it is, left it when I removed vbplaza.
LockeAG
05-20-2007, 09:06 AM
This is the order of things - how it was, how I did it. These settings below work for me.
I originally had vbookie and vbplaza running on 3.6.5. Then uninstalled vbplaza and the vbplaza add on for vbookie.
Then I installed iCash, and later found the files in post 1343 that Sinisterpain attached. Downloaded them and uploaded overwriting files on the server. Ran the product bookie-hack making sure it was set to overwrite.
This gives you a new iCash setting in the cash/points system setting in the vbookie options. I set it for iCash.
iCash Settings - this worked for me. For points name we use stars as our money
Name of points - Stars
Money Row - Money (left as default)
Then installed iBank.
iBank Settings:
money Row - money
All were working. Then just upgraded from 3.6.5 to the latest 3.6.7. Checked after upgrading and all are still working.
Also checked to see if I still had the Redirect to vbookie.php when posting new Event plugin still there and it is, left it when I removed vbplaza.
Awesome ! You make it work 65%/100%...
Its almost done.. I can't get the Vbookie event post show
<if condition="$show['vbookieevent']">
<fieldset class="fieldset">
<legend>$vbphrase[post_a_vbookieevent]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
</div>
</fieldset>
</if>
I don't know if its my skin or an other thing
hope you can help.. .
Thanks!
LockeAG
05-20-2007, 09:11 AM
Awesome ! You make it work 65%/100%...
Its almost done.. I can't get the Vbookie event post show
<if condition="$show['vbookieevent']">
<fieldset class="fieldset">
<legend>$vbphrase[post_a_vbookieevent]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
</div>
</fieldset>
</if>
I don't know if its my skin or an other thing
hope you can help.. .
Thanks!
Now I searh for my problem... when I enable vbookie in Forum Permisions , and accept It allways return to disable stat...
don't know why?
any idea?
see'a
LockeAG
05-20-2007, 09:21 AM
Now I searh for my problem... when I enable vbookie in Forum Permisions , and accept It allways return to disable stat...
don't know why?
any idea?
see'a
I resolve it ... An sorry to write to my self.. but jajaja I was Lazy I didn't read this:
4) For vB 3.6.x you will need to manually rebuilt your bitfields:
http://yoursite.com/yourforumfolder/admincp/index.php?do=buildbitfields
Thanks Kylek
see'a
sinisterpain
05-20-2007, 12:54 PM
I resolve it ... An sorry to write to my self.. but jajaja I was Lazy I didn't read this:
4) For vB 3.6.x you will need to manually rebuilt your bitfields:
http://yoursite.com/yourforumfolder/admincp/index.php?do=buildbitfields
Thanks Kylek
see'a
If you guys are using Ibank there are further edits that need to be done to show the richest users in vbookie. I did not include the edit because alot of users were not using Ibank and it was creating errors. Right now it will only show total cash based on icash and not include the money in the bank. I will post up the edit later.
LockeAG
05-20-2007, 04:26 PM
thanks sinesterpain !
vbookie is working ok now, I think your version with permission of Andreas of course must be posted in 3.6.0 mods ,
Thanks again
sinisterpain
05-20-2007, 09:18 PM
Ok for those members using icash and ibank together use this zip file upload to your forum root keep the folder structure. It fixes the total dollars shown for the richest user to include the users banked dollars. If your are only using Icash do not install this as you will recieve an error instead go here (https://vborg.vbsupport.ru/showpost.php?p=1171631&postcount=1343) for the zip for icash only the money row must be kept at default.
LockeAG
05-20-2007, 10:15 PM
Working OK! Thank sinisterpain!
nasko
05-23-2007, 05:33 PM
Hi! I just installed this hack and it`s GREAT!
But I have a problem. I can`t save my permission changes from ACP. They just don`t remember. How to fix this? Any idea?
LockeAG
05-23-2007, 06:49 PM
For vB 3.6.x you will need to manually rebuilt your bitfields:
http://yoursite.com/yourforumfolder/admincp/index.php?do=buildbitfields
fateL
05-23-2007, 09:38 PM
Nvm
gullystation
05-23-2007, 10:43 PM
Parse error: syntax error, unexpected '<' in /home/freelive/public_html/forum/newthread.php(244) : eval()'d code on line 5
I still get this error :(
I followed everything on here correctly, and am running 3.6.7 PL1. didnt work on 3.6.5 either
Help please :)
appreciated
gullystation
05-24-2007, 09:13 PM
bump
WURIGRAY
05-24-2007, 11:49 PM
Moderators on my board are unable to make a bet even though they been given permission. What could be causing this?
sinisterpain
05-25-2007, 01:17 AM
Moderators on my board are unable to make a bet even though they been given permission. What could be causing this?
Make sure you set the forum permissions for the forum you set up for use of vbookie.
sidewinder1
05-28-2007, 10:15 PM
ok,everything installed on 3.6.7pl... My permissions are fine after bitfield rebuild,did the edit and all. shows installed today,except I can not make it to where I can list an item to bet on.Dont know what could be causing this,any ideas? new upgrade and first hack installed on it... thanks
sidewinder1
05-28-2007, 11:09 PM
ok,got most of it going,but when I try to post it - it dont pop up or anything to ask like the polls do. still wont post it in the vbookie even when checked in the post? any help on this one...Please?
sidewinder1
05-29-2007, 04:16 AM
duh,after a few hours I got it going fine...
nasko
05-29-2007, 06:31 PM
Is there a way that I can adjust the decimal odds? The problem is that they come up automatically but are not correct, for instance, if I have a fractional odd 1/7, the decimal odd comes to 0,14 which is not how it works in the football betting, it should be 0,14 plus 1.
Can anyone help pls?
nymyth
06-01-2007, 05:08 PM
I have this working great except, the dates of when u can place a bet and settle the best on the thread itself is messed up....any ideas why?
Peace
discussionabout
06-04-2007, 04:27 AM
vBookie & 3.6
The posting of vbookie events in 3.6 is broken because the hook used has moved.
To fix this problem, the following plugin must be edited ;
vBookie: Redirect to vbookie.php when posting new Event
Replace the plugin code with this ;
if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_ moderate', true, false));
}
Note: I'm not actually using vbookie atm so I can't comment on any other problems.
from where I can edit this.
kylek
06-04-2007, 06:30 AM
from where I can edit this.
Go to your vbadmincp > plugins & products > plugin manager and look for the vbookie section. On mine it was the 6th one down. Look for "Redirect to vbookie.php when posting new Event", click on edit and replace the code there with the new code.
browie
06-04-2007, 07:02 PM
Is there a way that I can adjust the decimal odds? The problem is that they come up automatically but are not correct, for instance, if I have a fractional odd 1/7, the decimal odd comes to 0,14 which is not how it works in the football betting, it should be 0,14 plus 1.
Can anyone help pls?
It is 1.14 it just doesn't show it. If you bet and win you get your money back plus your winnings.
newtonbm
06-05-2007, 07:39 AM
ACP / Forums & Moderators / Forum Permissions
Select the Forum and Usergroup, uncheck "Can post vBookie Events"
I don't see that option, "Can post vBookie Events". I am using vBulletin 3.5.x.
Any help would be appreciated sir.
newtonbm
06-05-2007, 07:40 AM
When I click on the vBookie link to post an event, I get to the vbookie.php url but it is a blank page. Any ideas on what I have done wrong or where to start?
Thanks.
newtonbm
06-05-2007, 08:02 AM
When I click on the vBookie link to post an event, I get to the vbookie.php url but it is a blank page. Any ideas on what I have done wrong or where to start?
Thanks.
Looks like files didn't upload to server correctly. Working now it looks like. When completed I will add myself as another successful instal. I like this concept, great work.
newtonbm
06-05-2007, 08:43 AM
When I select in a user group that they DO have permissions to bte, and I save it when I am logged intot he admincp... It doesn't save the setting. Is this a permissions issue or what?
Attached is the screen shot.
Thanks.
x YNWA x
06-07-2007, 02:36 AM
When I select in a user group that they DO have permissions to bte, and I save it when I am logged intot he admincp... It doesn't save the setting. Is this a permissions issue or what?
Attached is the screen shot.
Thanks.
im having the exact same problem all of my permissions for vbookie do not save!!! please help :)
Bacon Butty
06-07-2007, 09:37 AM
Lads is there any chance a member could be selected as "the bookie". Think that would be a really good add-on.
DS MrSinister
06-07-2007, 09:12 PM
x YNWA x and newtonbm
Rebuild Bitfields
Bacon Butty
Just make a new usergroup and place that person in that group. lol
Coleccromos
06-07-2007, 09:36 PM
I use this system of bets for my forum and I would like to be able to add to the soccer bets the shields of the different teams
Does somebody have some idea of as putting this or that it is necessary to modify for such an effect?
dunglantq
06-08-2007, 04:42 AM
Did anyone use this mod through reputation system ?? Help me pls. !
x YNWA x
06-08-2007, 10:06 PM
it still dosnt work any ideas?
dukegotgame
06-14-2007, 01:01 AM
how can i make each persons vcash be displayed when they post by their post count, user name, etc?
pictureboarduk
06-15-2007, 10:56 AM
I need some advice,
When I make a new thread and tick the box to make it a vBookie event, it never goes to the vBookie page, it just posts the thread like a normal thread.
I'm really stuck with is.
Can anyone help me at all?
Many thanks.
WEBDosser
06-15-2007, 11:29 AM
I need some advice,
When I make a new thread and tick the box to make it a vBookie event, it never goes to the vBookie page, it just posts the thread like a normal thread.
I'm really stuck with is.
Can anyone help me at all?
Many thanks.
have you rebuilt the bitfields?.
pictureboarduk
06-15-2007, 11:39 AM
Thanks WEBDosser, I hadn't done the plug in code change posted by Paul M
Really happy it was nothing more serious, I need this sorted today.
Thanks for you help!!
SBlueman
06-16-2007, 08:51 AM
Question....
Is there any way to edit a result after it's been settled? A bookie on my site settled a event with the wrong result (honest mistake) and I am not sure as to how that can be fixed.
Vidic 15
06-16-2007, 01:51 PM
i need some help
i have all the files installed for vbokie but the bit where you tick on the bottom where it said do you want to post a vbookie thread its not showing up.
did i do any of the files wrong or is there something i have to do.
dukegotgame
06-21-2007, 07:47 AM
how can i make each persons vcash be displayed when they post by their post count, user name, etc?
any help?
MikeHussey
06-27-2007, 03:48 AM
Problems.
Have installed it all as instructed by the readme files.
Also rebuilt my bitfields and changed the plug-in stuff as was instructed for 3.6.x forums.
However, on the nav bar when you try to get into vbookie it comes up as an ERROR and also its not appearing in the "additional options" of posts.
Anyone have anything I could do to make it work?
boxingscene
07-05-2007, 10:01 PM
For some reason, my vbookie.php page no longer loads. The script itself works, but the page never comes up. Times out under IE.
Kamran
07-08-2007, 12:06 AM
I installed this on my 3.6.7 PL1 forum and everything seemed fine. However I've had two instances where it seems some of the outcomes in the thread have changed positions. Here are two quotes from my moderators:
(1) There seems to be a problem with the Wimbledon thread. I had made the first three options:
Roger Federer (2/1)
Rafael Nadal (5/1)
Andy Rod++++ (10/1)
However, I've just checked the thread again, and for some strange reason it's now in the order:
Rafael Nadal (5/1)
Andy Rod++++ (10/1)
Roger Federer (2/1)
This seems to have messed up the betting, each player has had different odds at varying times. Which obviously isn't right. And my earlier bet on Federer is now showing up as a bet on Nadal.
(2) Has anyone else had any problems with the bet you placed changing? I know for sure I put my money on Silva instead of Marquardt, but now it obviously says otherwise. I looked what other people were betting on several times, and from that, it seemed to change by itself sometime last night.I found the following from way back in the thread:
Something is wrong with this. The odds are very screwed up. I set up an event with 19 outcomes. I had to edit the event a couple of times... Never changing the outcomes or the odds, but the system has re orddered the outcomes, and when looking at the bets placed, some people have different odds for the same outcome, but I never changed the odds...
http://www.champcarfanatics.com/forums/showthread.php?t=33178Did you manage to have any luck with fixing it, or has anyone else experienced this?
Any help/advice would be appreciated.
Thanks.
thesportszone
07-09-2007, 11:25 AM
Hey everyone I am kind of new to this hack because well I did not install it on my board the ex-owner installed it and I am not sure how it was done. I have everything set up correctly setting the events work correctly but I can not figure out how to use it with my current vplaza money? Can someone help me with this?
pgowder
07-13-2007, 01:51 AM
Just installed the hack. And on new threads, I can't make an event. I rebuilt the bitfields. But when I add an thread it doesn't go to the page to set the odds.
Help!
jeremyalyea
07-15-2007, 04:11 AM
Just installed the hack. And on new threads, I can't make an event. I rebuilt the bitfields. But when I add an thread it doesn't go to the page to set the odds.
Help!
Are you running on 3.6.x? If so, did you change the hook as mentioned in the description of this thread? If not, that should do it.
pgowder
07-15-2007, 12:00 PM
Are you running on 3.6.x? If so, did you change the hook as mentioned in the description of this thread? If not, that should do it.
I did find that hook fix, thanks!
pgowder
07-15-2007, 12:01 PM
How can I list vCash in the members list?
Bacon Butty
07-16-2007, 08:55 PM
I reset everyones vCash back to 500 (by executing query in admin cp) but now everyone seems to have infinite vCash? its not being deducted when they place bets.
Can anyone help?
pgowder
07-16-2007, 10:15 PM
How can I list vCash in the members list?
Anyone have a suggestion for this?
bobster65
07-16-2007, 10:28 PM
Anyone have a suggestion for this?
Should be as simple as a template edit, just like getting it to show up in the Post Bit. If I get bored tonight, I'll take a look into it ..
pgowder
07-16-2007, 11:43 PM
Should be as simple as a template edit, just like getting it to show up in the Post Bit. If I get bored tonight, I'll take a look into it ..
Thanks, or even a page that show the top 20 members.
bobster65
07-17-2007, 01:22 AM
How can I list vCash in the members list?
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...
Step 1: Edit memberlist.php
================================
File Edit: memberlist.php
================================
FIND:
--------------------------------
case 'posts':
$sqlsort = 'user.posts';
break;
--------------------------------
ADD BELOW:
--------------------------------
case 'vbookie_cash':
$sqlsort = 'user.vbookie_cash';
break;
Step 2: Edit memberlist Template
================================
Template Edit: memberlist
================================
FIND:
--------------------------------
<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=posts&pp=$perpage$usergro uplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=vbookie_cash&pp=$perpage$ usergrouplink">$vbphrase[vbookie_vcash]</a> $sortarrow[vbookie_cash]</td></if>
Step 3: Edit memberlist_resultsbit Template
================================
Template Edit: memberlist_resultsbit
================================
FIND:
--------------------------------
<if condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if>
Tested on my site and works perfectly...
pgowder
07-17-2007, 10:44 AM
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...
Step 1: Edit memberlist.php
================================
File Edit: memberlist.php
================================
FIND:
--------------------------------
case 'posts':
$sqlsort = 'user.posts';
break;
--------------------------------
ADD BELOW:
--------------------------------
case 'vbookie_cash':
$sqlsort = 'user.vbookie_cash';
break;
Step 2: Edit memberlist Template
================================
Template Edit: memberlist
================================
FIND:
--------------------------------
<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=posts&pp=$perpage$usergro uplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=vbookie_cash&pp=$perpage$ usergrouplink">$vbphrase[vbookie_vcash]</a> $sortarrow[vbookie_cash]</td></if>
Step 3: Edit memberlist_resultsbit Template
================================
Template Edit: memberlist_resultsbit
================================
FIND:
--------------------------------
<if condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if>
Tested on my site and works perfectly...
That worked great!!! Thanks so much!
pgowder
07-17-2007, 03:53 PM
On bets like this:
http://www.luckpredictions.com/showthread.php?t=14
Where I've set the odds as 1/10. Does the person get back their bet amount and what they won?
So if a person bets 100 on this, how much do they get back total?
Thanks
bobster65
07-17-2007, 07:20 PM
That worked great!!! Thanks so much!
Cool Beans :)
pgowder
07-19-2007, 12:50 PM
If people have bets placed on an open event and I zero out everyone's vcash, what happens to their pending bets?
Are they still good?
Thanks
pgowder
07-19-2007, 10:58 PM
Is it possible to have a PM or email sent when a bet is settled?
pgowder
07-23-2007, 05:05 PM
If people have bets placed on an open event and I zero out everyone's vcash, what happens to their pending bets?
Are they still good?
Thanks
Is it possible to have a PM or email sent when a bet is settled?
Anyone know about these?
ChaosProgrammer
07-23-2007, 07:21 PM
I have a problem. I installed the latest version, rebuilt the bit, everything... but users can't vote! It shows to everyone ''You may NOT bet...'' althought I changed it for everyone in usergroups. Anyone has an idea?
bobster65
07-23-2007, 07:23 PM
I saw Kirby a few days ago on the site, I wonder if he has any plans to update/upgrade this hack.... KIRBY???
gaxpox
07-30-2007, 01:54 AM
Thanks You Are The Best!!!
bazzup
08-10-2007, 12:50 PM
hey all
i'm having a problem with vbookie, I have created a usergroup called bookies for the purpose of having a few dedicated members looking after the bets.
All works well apart from when the bookies try to add more options in an event they get a user does not have permisson to access this page! error.
user permissions for bookies has been set to allow them to make events and posts in forum.
cheers if anyone can help
bobster65
08-10-2007, 01:06 PM
hey all
i'm having a problem with vbookie, I have created a usergroup called bookies for the purpose of having a few dedicated members looking after the bets.
All works well apart from when the bookies try to add more options in an event they get a user does not have permisson to access this page! error.
user permissions for bookies has been set to allow them to make events and posts in forum.
cheers if anyone can help
Did you rebuild your bits fields? The permissions might not set correctly until you do so.
bazzup
08-10-2007, 01:42 PM
Did you rebuild your bits fields? The permissions might not set correctly until you do so.
cheers for reply just rebuilt bitfields no luck there any other ideas?
EDIT*
I have had to make the bookie usergroup members moderaters on the betting forum without changing usergroup got it to work that way but another fix would be appreciated if anyone knows what has happenend
regards
SBlueman
08-11-2007, 01:27 PM
Is there any way to add a feature where the actual poster creating the event gets a cut like a vig (http://en.wikipedia.org/wiki/Vigorish)?
ams3521
08-13-2007, 09:52 AM
I'm sorry if this has been asked before but searching 'one' isn't a good thing. Is it possible to have just one bettting option? (default 2)
thanks
msu2k
08-19-2007, 04:07 PM
For people wondering how to reset all user's vCash to 500, you need to execute this SQL query:
UPDATE user SET vbookie_cash=500;
If you totally want to clear all past events as well, execute these SQL queries:
DELETE FROM vbookie_news;
DELETE FROM vbookie_bets_placed;
DELETE FROM vbookie_item_options;
DELETE FROM vbookie_items;
DELETE FROM vbookie_groups;
Run these at your own risk...you may want to backup your DB first before running them. I run these once each year and have not had any problems with them.
paris83
08-19-2007, 06:13 PM
I have taken over a forum (vbulletin version 3.6.2) and it has vBookie installed, only I don't know how/where to add in new events etc, can anyone help?
rb290
08-21-2007, 01:45 AM
Anyone know how to use the reputation points to bet with??
SBlueman
08-21-2007, 03:54 AM
Is there any way to add a feature where the actual poster creating the event gets a cut like a vig (http://en.wikipedia.org/wiki/Vigorish)?
Anyone?
rb290
08-21-2007, 04:44 PM
I dont want 2 separate points/cash system. I wanna use the reputation points to bet on vBookie also.
FrankieGersnet
08-22-2007, 09:11 AM
Guys,
I can't seem to get the 'Display vBookie Cash in Postbit' option working. Tried changing the postbit and postbit legacy code from another post but although that installs the Vcash option on the postbit, everyone's ends up the same instead of different for each user.
Any advice would be greatly appreciated. Many thanks.
Littlerocket
08-22-2007, 02:55 PM
Guys,
I can't seem to get the 'Display vBookie Cash in Postbit' option working. Tried changing the postbit and postbit legacy code from another post but although that installs the Vcash option on the postbit, everyone's ends up the same instead of different for each user.
Any advice would be greatly appreciated. Many thanks.
You got this line in your postbit?
<if condition="$vboptions['vbookiecashon']">
<br />$vbphrase[vbookie_vcash]: $post[vbookie_cash]
</if>
That's what I have and it works fine for me Frankie.
Twisted Chaos
08-27-2007, 05:46 AM
is there anyway to reset the News/Log for vbookie? i think there should be an option in the admincp... i can help program this add-on much better with permission
ams3521
08-30-2007, 09:42 AM
If you look a page back chaos you will see this posted-
For people wondering how to reset all user's vCash to 500, you need to execute this SQL query:
UPDATE user SET vbookie_cash=500;
If you totally want to clear all past events as well, execute these SQL queries:
DELETE FROM vbookie_news;
DELETE FROM vbookie_bets_placed;
DELETE FROM vbookie_item_options;
DELETE FROM vbookie_items;
DELETE FROM vbookie_groups;
Ive been through this thread a couple of times the past few months and im gonna go through it again. I was wondering if it's possible to-
a) Make an events just have ONE outcome as apposed to the default TWO
b) Can we display the Top 5 list to display Top 20 say?
All help appreciated thanks.
ams3521
08-30-2007, 09:47 AM
ok soz since i last looked this was posted and that kind of deals with my second question
https://vborg.vbsupport.ru/showpost.php?p=1293292&postcount=1554
Whilse im at it, any way at all for people to create vbookie events but not edit them afterwards? Also i better check this but is it possible that only one user group can settle events?
x YNWA x
09-03-2007, 03:59 PM
i need help, ive installed everything, done all the template modifications but when i create a new thread and tick " Post a vBookie Event Yes, post a vBookie Event with this thread" then click sumbit thread nothing happens? i cand make a bet, it just creates the thread, any ideas?
TheTrueFan
09-03-2007, 10:47 PM
Question:
I can't post events. Earlier it said to redo the hook, which hook is it and how is this done?
x YNWA x
09-07-2007, 12:54 AM
can nobody help me?
Eagle Creek
09-09-2007, 02:36 PM
I've got a very strange problem.. Without me chaning anything, suddenly all usergroups don't have bookie permissions anymore.
When I reassign the rights to the usergroup, the settings aren't saved. It says it does, but the next time I check, it's set to "no" again.
:confused:
nektar
09-10-2007, 02:40 PM
Hi!
Tried to find an answer but couldn't
Is there a way of settling a bet after it has been settled? I forgot to include one of the outcomes as a WIN :( (more than one was a winner)
Thank you!
Carlos2
09-13-2007, 05:31 AM
Hi, i have one problem with vbookie now. When i bet, for example one million points, and the odd is 1.40, so i have to get 1.400.000, it comes wrong and it gives to me 2.400.000. It gives to me again the million i bet, so i get this million twice.
Anybody knows whats the matter?
Thanks
punchbowl
09-13-2007, 11:34 AM
Hi, i have one problem with vbookie now. When i bet, for example one million points, and the odd is 1.40, so i have to get 1.400.000, it comes wrong and it gives to me 2.400.000. It gives to me again the million i bet, so i get this million twice.
Anybody knows whats the matter?
Thanks
you get your stake back - that's normal
Carlos2
09-13-2007, 12:51 PM
you get your stake back - that's normalNo, i get my stake back, but also i get one million more. If i bet one million in an odd of 1.40, you have to win 400.000 and get back your million, so you get 1.400.000 no 2.400.000 .
punchbowl
09-13-2007, 02:20 PM
No, i get my stake back, but also i get one million more. If i bet one million in an odd of 1.40, you have to win 400.000 and get back your million, so you get 1.400.000 no 2.400.000 .
you win 1.4 million and you get 1 million back which makes a total of 2.4 million.
it shows the odds differently compared to betfair. on betfair the odds would be shown as 2.4
apart from that I don't know but it works fine for me.
gazzak
09-13-2007, 02:32 PM
Got a problem similar to many in this thread, but the fix doesn't appear to work.
The usual delete a thread while the event is still open issue, in that now the vbookie event is undeletable. I tried running the query "DELETE FROM vbookie_items WHERE item_id = '156'" (156 is the event no.).
However, I got this reply "An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'xxxxx_xxxxx.vbookie_items' doesn't exist
I'm on 3.6.8. Any help appreciated.
jambo_1969
09-13-2007, 03:57 PM
Just installed this and my members love it !
Thanks Dude !
Carlos2
09-13-2007, 06:55 PM
you win 1.4 million and you get 1 million back which makes a total of 2.4 million.
it shows the odds differently compared to betfair. on betfair the odds would be shown as 2.4
apart from that I don't know but it works fine for me.No sorry, you are wrong. I bet about two years in bet and win and if you bet one million, yo win 400.000 and you get your million back, and the plugin works right for about one year and now gives again the million i dont know why.
bobster65
09-13-2007, 07:04 PM
No sorry, you are wrong. I bet about two years in bet and win and if you bet one million, yo win 400.000 and you get your million back, and the plugin works right for about one year and now gives again the million i dont know why.
Im sorry, but that is not how vBookie works.. That may be how some other thing works, but not vBookie..
If you make a 1,000,000.00 bet on 1.40 and you win.. you get your stake (1,000,000.00) back PLUS you get the winnings which would be 1,400,000.00 .. for a total of 2.4 M ..
Dude, its working the way it should. If you want it to work another way, yer gunna have to either modify the script or figure something else out, cause its doing exactly what its supposed to do.
Carlos2
09-13-2007, 10:36 PM
Im sorry, but that is not how vBookie works.. That may be how some other thing works, but not vBookie..
If you make a 1,000,000.00 bet on 1.40 and you win.. you get your stake (1,000,000.00) back PLUS you get the winnings which would be 1,400,000.00 .. for a total of 2.4 M ..
Dude, its working the way it should. If you want it to work another way, yer gunna have to either modify the script or figure something else out, cause its doing exactly what its supposed to do.
Thanks for your answer.
How can i modify this to make it real like in bet and win?
uni_x
09-14-2007, 04:21 PM
any chance of using real money for this?
ezurick
09-14-2007, 04:50 PM
Hi. I am running vb 3.6.8 and I installed the vBookie. I followed all the uploading and edits, to inlude the plugin edit for 3.6. I made sure all the vBookie related plugins were enabled... I goto the vbookie from the menu and I see the vBookie screen, but there is nothing to place a bet. I went back through all the edits and everything is followed to the tee... Can anyone help please...
I also am using vCredits on my system and installed the vCredits for vBookie... when I got the main vBookie settings in the vbulletin Options/vBookie settings, there are only three credit options... (vCash, uCash and eBux... and also a blank). Isn't this suppose to list the vCredits for selection here? Any help please?
tia.... Peace!
ezurick
09-16-2007, 01:33 PM
Hi. I am running vb 3.6.8 and I installed the vBookie. I followed all the uploading and edits, to inlude the plugin edit for 3.6. I made sure all the vBookie related plugins were enabled... I goto the vbookie from the menu and I see the vBookie screen, but there is nothing to place a bet. I went back through all the edits and everything is followed to the tee... Can anyone help please...
I also am using vCredits on my system and installed the vCredits for vBookie... when I got the main vBookie settings in the vbulletin Options/vBookie settings, there are only three credit options... (vCash, uCash and eBux... and also a blank). Isn't this suppose to list the vCredits for selection here? Any help please?
tia.... Peace!
Hello??????
pgowder
09-17-2007, 12:02 AM
Having a strange problem.
http://www.luckpredictions.com/vbookie.php
I have enough events for 3 pages, and the script shows that there should be 3 pages.
But when you click on page 2 or 3, the vbookie loads, but doesn't show any events.
Anyone seen this? Is there a fix?
ezurick
09-18-2007, 10:12 AM
Having a strange problem.
http://www.luckpredictions.com/vbookie.php
I have enough events for 3 pages, and the script shows that there should be 3 pages.
But when you click on page 2 or 3, the vbookie loads, but doesn't show any events.
Anyone seen this? Is there a fix?
Yes, I am having this same issue... the vbookie area only shows page 1. Although there are more events, if you select the next page, it is empty. I told me users to watch the forum threads of the events because of this error. I hope there is a fix cause it is very annoying.
I am having problems with the "settled". I had a regular member settle a football game last night and selected the wrong team to win.... I see absolutely no way for an admin to correct this (how embarrassing). I checked the usergroup settings and I see no setting about "settle". Where is it? In his usergroup, the only thing this user should be allowed to do is bet. HOW did he settle? I need to stop users from doing the settle... Please help!
I am on vb 3.6.8....
ezurick
09-18-2007, 11:09 AM
I don't think anyone is supporting this MOD anymore... A few stragglers came to some help a few weeks ago, but there has been nothing since. This is very disappointing for us...
kylek
09-19-2007, 06:02 AM
Getting error since removing vbplaza, anyone have any ideas?
nvalid SQL:
UPDATE user SET =25 WHERE < 25;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=25 WHERE < 25' at line 1
Error Number : 1064
Date : Wednesday, September 19th 2007 @ 12:17:50 AM
Script : http://xxxxxxxx.com/forums/vbookie.php
Referrer : http://xxxxxxx.com/forums/vbookie.php?t=17205&vbookieeventoptions=0&do=newevent
Classname : vb_database
kylek
09-19-2007, 06:32 AM
And another one;
Database error in vBulletin 3.6.7:
Invalid SQL:
SELECT username, AS cash FROM user ORDER BY cash DESC LIMIT 5;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS cash FROM user ORDER BY cash DESC LIMIT 5' at line 1
Error Number : 1064
Date : Wednesday, September 19th 2007 @ 02:21:10 AM
Script : http://xxxxxxx.com/forums/vbookie.php?do=stats
Referrer : http://xxxxxx.com/forums/vbookie.php?
Classname : vb_database
tmffirework
09-20-2007, 02:09 PM
I got a problem. I installed the mod succesfuly, but if I want to change my usergroups to: can post vbookie events and all that, I click on update. I go back and it haven't change, it stays still on 'no'?
Somebody?
bobster65
09-20-2007, 07:10 PM
I got a problem. I installed the mod succesfuly, but if I want to change my usergroups to: can post vbookie events and all that, I click on update. I go back and it haven't change, it stays still on 'no'?
Somebody?
you need to rebuild your bit fields.. this is the single most popular asked question in this thread.. its a shame that the author won't take a few minutes to edit the thread and include this.
da prez
09-20-2007, 07:38 PM
I got a problem. I installed the mod succesfuly, but if I want to change my usergroups to: can post vbookie events and all that, I click on update. I go back and it haven't change, it stays still on 'no'?
Somebody?use the following : http://your domain.com/your forum folder/admincp/index.php?do=buildbitfields
da prez
09-20-2007, 07:43 PM
I am having problems with the "settled". I had a regular member settle a football game last night and selected the wrong team to win.... I see absolutely no way for an admin to correct this (how embarrassing). I checked the usergroup settings and I see no setting about "settle". Where is it? In his usergroup, the only thing this user should be allowed to do is bet. HOW did he settle? I need to stop users from doing the settle... Please help!in the admincp, edit regular usergroup, and about half way down are the vBookie options,
the one in the middle says "settle bets" set it to "no" and save.
da prez
09-20-2007, 07:49 PM
Thanks for your answer.
How can i modify this to make it real like in bet and win?in real life you get your stake back plus whatever you won.
i.e. if you bet 1000 on a game of hi/lo
you say lo and the card is lo, you get your 1000 + 1000 from the house or other player.
getting your stake back plus winning is real life.
da prez
09-20-2007, 07:51 PM
any chance of using real money for this?yup, just drive to users houses and collect :D
I tried to install this hack, but it didn't work on 3.6.4 so I uninstalled it and reversed the changes. Now I am getting this error when I open a new thread on the top of the page :
Parse error: parse error, unexpected '}' in /homepages/13/d150236735/htdocs/forums/newthread.php(457) : eval()'d code on line 87
Any help appreciated!
HaloTages COM
09-23-2007, 06:36 PM
How do you use this hack? I installed it but I can't add or do anything with it?
help please
jambo_1969
09-25-2007, 07:26 AM
Yep - just noticed, whilst I can that there are Pages 1/2/3/4 etc, I cant see any beyond page 1.
I'm thinking it's a quick fix in the php file - but can someone point me in the right direction ?
FrankieGersnet
09-25-2007, 11:36 AM
You got this line in your postbit?
<if condition="$vboptions['vbookiecashon']">
<br />$vbphrase[vbookie_vcash]: $post[vbookie_cash]
</if>
That's what I have and it works fine for me Frankie.
Mate, that worked perfectly - thanks very much for that... :)
Sorry for the belated response! :D
Mark K
09-26-2007, 11:48 AM
Installed perfectly on 3.6.8, no problems at all, thx!
Note: when you have a winning bet, you should get whatever you staked back plus the odds, atm you only just get the odds :) small bug/error whatever you wanna call it!
Hi all,
We used to have vBookie integrated with vbbux/vbplaza. As that is now defunct we switched to vbCredits but had problems getting vbookie to integrate. As a result I have reinstalled vBookie but now get the following DB error when attempting to add an event..
Database error in vBulletin 3.6.7:
Invalid SQL:
UPDATE user SET =25 WHERE < 25;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '=25 WHERE < 25' at line 1
Error Number : 1064
Date : Thursday, September 27th 2007 @ 04:07:43 PM
Script : http://www.mydomain.co.uk/forums/vbookie.php
Referrer : http://www.mydomain.co.uk/forums/vbookie.php?t=38625&vbookieeventoptions=0&do=newevent
IP Address : xx.189.47.233
Username : thisuser
Classname : vB_Database
I am using the most recent release and have already make the required changes to the
vBookie: Redirect to vbookie.php when posting new Event plugin.
Does anyone have any advice?
jambo_1969
09-28-2007, 06:32 AM
Hi all,
We used to have vBookie integrated with vbbux/vbplaza. As that is now defunct we switched to vbCredits but had problems getting vbookie to integrate. As a result I have reinstalled vBookie but now get the following DB error when attempting to add an event..
I am using the most recent release and have already make the required changes to the
vBookie: Redirect to vbookie.php when posting new Event plugin.
Does anyone have any advice?
In your functions_vbookie.php check you have a function called...
function vbookie_do_charity()
That is the function that gives the amount 25 if a user has less than 25 in the bank.
case 'vcash':
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET vbookie_cash=" . $vbulletin->options['vbookiegivetopoor'] . " WHERE vbookie_cash < " . $vbulletin->options['vbookiegivetopoor']);
Maybe try re-uploading the php file, overwriting the existing one ?
Thanks for the reply.
I have since resolved the problem. It was caused by a legacy plugin associated with vbPlaza. The automatic uninstall of vbBux/vbPlaza leaves behind 5 enabled plugins, they are:
vBookie With vbPlaza - Do Charity
vBookie With vbPlaza - Get Richest Users
vBookie With vbPlaza - Get User Cash
vBookie With vbPlaza - Give User Cash
vBookie With vbPlaza - Take User Cash
It was the Do Charity plugin causing the error.
Disabling these plugins resolved the issue.
Those who previously had vbPlaza installed and now wish to use vbCredits (or any other custom points system) will likely need to do the same.
Deadman_014
09-30-2007, 04:07 PM
Ok, I'm using vBux and I posted an event but its not letting me bet. The white betting boxes aren't there and it says I can't bet on this event. And yes, all the permissions are right. Any help with this? I'm using 3.6.8 and I believe I've done everything correctly :/.
Is it possible to remove 1 single match? Upgraded my forum and imported the database but a couple of matches appear @ OPEN and CLOSED but when I click on thread it says invalid page. Is it possible to remove those matches via phpmyadmin? If so, can anyone tell me exactly how? I ain't good with mysql and php.
Much appreciated! Thanks in advance...
*EDIT*
Never mind.. already found it! Thanks anyway!
anyone know where this can be found, and possibly how to do it? im brand new to the vb scene :cool:
timnp
10-04-2007, 09:29 AM
Having a strange problem.
http://www.luckpredictions.com/vbookie.php
I have enough events for 3 pages, and the script shows that there should be 3 pages.
But when you click on page 2 or 3, the vbookie loads, but doesn't show any events.
Anyone seen this? Is there a fix?
Hi :)
We were having this problem too. Its a little bug in the code. Here is the fix.
In vbookie.php, find the line that says the following, in my copy it was line 361.
Your looking for:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=type");
and change it to:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=" . $type);
A very tiny change. You're changing the end of the line so that it doesn't read
&type=type");
and so that it does read
&type=" . $type);
Hope that helps :)
pgowder
10-04-2007, 12:19 PM
Hi :)
We were having this problem too. Its a little bug in the code. Here is the fix.
In vbookie.php, find the line that says the following, in my copy it was line 361.
Your looking for:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=type");
and change it to:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=" . $type);
A very tiny change. You're changing the end of the line so that it doesn't read
&type=type");
and so that it does read
&type=" . $type);
Hope that helps :)
Thanks, but my page 2 is still blank.
http://www.luckpredictions.com/vbookie.php?do=main&type=type&page=2
timnp
10-04-2007, 12:30 PM
Thanks, but my page 2 is still blank.
http://www.luckpredictions.com/vbookie.php?do=main&type=type&page=2
Hi, I don't think that you can have made the change properly.
Can you check?
The link to your second page should be this: http://www.luckpredictions.com/vbookie.php?do=main&type=OPEN&page=2
Notice how in the one you posted it has &type=type, but the one I just posted has &type=OPEN, (OPEN would normally change depending on what type of bet you are viewing (closed, open, abandoned, etc). I can't see how you would still be having this problem if the patch wasnt applied as &type=type only has one occourence in that file and it should have been removed if you did the fix I suggested.
Also, if you keep using the link that you posted it will always be an empty page. The link its self is broken because it has the type=type problem, go to your page one and click the link to the next page each time, dont bookmark until its fixed
pgowder
10-04-2007, 12:42 PM
I have this line now:
$pagenav = construct_page_nav($pagenumber, $perpage, $n_page_items, 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "do=main&type=" . $type);
pgowder
10-04-2007, 12:52 PM
Got it now!
Thanks for the fix!
timnp
10-04-2007, 01:42 PM
No problem, glad it worked for you in the end! :D
kotlt99
10-05-2007, 12:57 PM
i installed vbookie but i can't change permisson for any group to post vbookie event.
Help me !!!
Ski-Whiz
10-06-2007, 05:53 PM
Does anyone have this installed with the new vbplaza V2??? (yes CMX has released v2; it's a whole rewrite of his mod!)
Thanks!
bobster65
10-06-2007, 06:07 PM
i installed vbookie but i can't change permisson for any group to post vbookie event.
Help me !!!
rebuild your bit fields.
teedizz
10-10-2007, 11:41 PM
Quick question, is it possible to add an add-on where members can make wagers between each other instead of using the odds system? Example : One member says " I bet you 50 ebux that the Raiders lose this week " and if the other members accepts then both of thier funds go into the pot and winner takes all.
slickdawg
10-13-2007, 09:38 PM
I've installed vbookie, it's on the menubar, but when I go there, I don't have the option to
make a vbookie post.
Does someone happen to have a better set of instructions than what came with it?
You can see it at www.slickdawg.com
Thanks for any help!
SBlueman
10-13-2007, 10:04 PM
Here's some good instructions....I found this posted somewhere a while ago and posted it in my site for my bookies:
Introduction
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).
Adding a new vBookie Event
vBookie Events are tied to threads in your forums. This makes it convenient for members to discuss the Event and their bets, in the same manner as a poll.
To create a new vBookie Event, simply add a new thread as normal, and select the 'Post a vBookie Event' checkbox on the Post New Thread page. You can add some detailed explanations of the event you're offering and the various outcomes in the thread Message, then press Submit New Thread. This will post the thread and then take you to the vBookie New Event page.
Note that you cannot post a vBookie Event and a Poll on the same thread at the time, but you may later add a poll to an existing vBookie Event thread.
The 'Post a vBookie Event' Form
http://i62.photobucket.com/albums/h120/PC_Modda/vBookieEventForm.jpg
The 'Post a vBookie Event' form has various items that you must complete. These are:
Event Group
Use this field to specify in general terms what area the Event falls in to. You may be as vague about this or as specific as you wish. It's just additional information that can help your forum members understand what they are betting on. For example, if your Event Title is 'World Cup', then the Event Group might be 'Cricket', 'Football', 'Karate' etc. Other examples of more specific groups are 'Football World Cup 2006', '2005 Oscars' etc.
Event Title
This is the actual thing that people will bet on. It might be something that covers a set of other events (e.g. '04/05 English Premiership Winners', 'Most Gold Medals at Athens Olympics') or something very specific (e.g. 'Liverpool vs. Manchester United', 'British Grand Prix').
Number of Outcomes & Event Outcomes
This is the number of potential outcomes that you are going to offer for people to bet on. You must provide at least 2 outcomes (on the logic that a single outcome means a certainty, therefore not something that one can bet on). There is no built in limit to the number of outcomes that may be offered. Bear in mind that more than one outcome is allowed to win. While this may seem odd at first glance, it makes sense because it allows you to specify a set of possible outcomes as follows. Imagine you are setting up a football match.
You might offer the following outcomes:
Manchester United to win
Liverpool to win
Drawn match
Manchester United to win 3-1
Michael Owen to score first
As you can see, there are some general outcomes, and some more specific ones. If the match ends 0-0, then only 'Drawn match' would be a winning bet. However, if the match ends 3-1 to Manchester, with Liverpool taking an early lead due to an Owen goal in the 6th minute, then three outcomes would pay out as winning bets; the general 'Manchester United to win', the more specific 'win 3-1', and also the bet on 'Owen to score first'. Forum members who have bet on any of those three items would collect winnings.
You must also specify the Odds for each outcome. Odds are a measure of how much someone will win if they bet on that outcome. Odds of '10 to 1' mean that there's a one in 10 chance that it will be the winning outcome, and for every 1 that someone bets, they will be given 10 back in winnings. Odds of '2 to 5' mean that for every 5 bet, a person will win 2. So if he bets 100 at odds of 2/5, and wins, he will get 140 back (his 100 stake, plus 40 in winnings). If a bet wins, the stake is also returned. If a bet loses, the stake is lost.
Ideally, you should specify realistic odds. You can get an idea of the odds for various events be checking up with online bookmakers such as Ladbrokes.
Accept Bets Until
This is the date and time up until which bets on this Event will be accepted. You will normally set this to a time before the Event actually starts, but for longer running Events it could be a time part-way through the Event. For example, for a single football match you might accept bets up until its 3pm kick-off, but for the Football World Cup you might accept bets up until the start of the knockout phase.
Bets Paid After
This is the date after which bets should be settled. This will be a time after which the outcome(s) will be known, so the bet administrator can determine which outcomes are winning outcomes. This might be as short as 2 hours after the Accept Bets Until time in the case of a football match, or could be weeks after the Accept Bets Until time in the case of the Football World Cup. This date should be specified so that a bet that hasn't been settled can be flagged up and either settled or abandoned.
Time Zone
Bets are placed into the database in GMT/UTC form. You should make sure that you specify the correct time zone for where you live when you are setting up a new Event. The Time Zone list should default to the timezone you have specified in your forum settings, and it will take into account any daylight savings time that may be in effect.
Allow multiple bets on this Event
By default people can bet on an Event more than once. They could bet on every Outcome if they like. By clearing this box, users can only bet once.
Now...
When you have specified all the information above, you can either Submit the event or Preview it. Previewing gives you a chance to doulbe check that everything looks correct before you submit the event. Once you are happy, Submit the event and you will be taken back to the Event's home thread.
Placing a Bet & Controlling an Event
To place a bet on a vBookie Event, you first view the event's thread. You can determine which are betting threads either by the thread icon, or the text 'vBookie:' in front of the thread title in the thread list:
http://i62.photobucket.com/albums/h120/PC_Modda/vBookieLabel.jpg
Upon viewing a thread with a vBookie Event attached, you will see the Event panel at the top of the thread. The event panel will look something like this:
http://i62.photobucket.com/albums/h120/PC_Modda/eVentPanel.jpg
The numbers relate to the following items:
1. This tells you the last time that the Event will accept new bets, and the time after which you should expect the Event to pay out.
2. This line tells you some information about the status of the Event, and whether you may bet on it.
3. The Outcomes panel shows all the options you can bet on, and what each of their odds are. It also shows the total number of bets placed so far.
4. If you want to bet on a specific outcome, just type the amount you want to bet into the correct box.
5. If you don't want other people to be able to see what you have bet on, select this checkbox.
6. When you are ready to place a bet, click the Bet Now! button.
When a bet has passed the time that it will accept bets, you will no longer be able to bet, and the display will look more like this:
http://i62.photobucket.com/albums/h120/PC_Modda/ClosedEvent.jpg
If the Event's payout time has been reached there will also be a reminder that the bets should be settled, and there will be checkboxes beside each potentially winning Outcome. This is only shown to the Event's owner or members with permission to edit other persons' Events.
To Settle bets, you simply tick one or more winning options, and then click the Settle Bets! button. If there are no winning outcomes, you should still settle the bets, but must also tick the box to say that you really meant to settle the Event with no winners.
Once settled, an Event will display the 'Event Over' panel'
Abandoning a vBookie Event
Sometimes it may be necessary to Abandon an Event. This might be because the Event never took place, or something disrupted it, or because there were errors in the set-up of the bet and people have already bet on it. When an Event is abandoned, all stakes are returned to the people that placed the bets.
To abandon an event, click the Abandon vBookie Event link. You will be asked to confirm that you really want to abandon the Event. Click Yes to abandon it, or the Back button of your browser to return to the Event's thread.
The vBookie Main Page
As well as the thread display, vBookie provides a separate page called 'vbookie.php'. If your forum has installed vBookie with its default settings, you can access this by clicking the vBookie link in the forum navigation bar. This acts as an easy way to see any events that are open and available to be on, and also enables users to check the status of their own bets. There is also a page of statistics information for the whole bookmakers system.
http://i62.photobucket.com/albums/h120/PC_Modda/OpenEvents.jpg
The default page shows all OPEN Events that are accepting bets
http://i62.photobucket.com/albums/h120/PC_Modda/YourBets.jpg
The 'Your Bets' page shows status information on your bets
nyqnzguju
10-15-2007, 02:21 AM
vBookie & 3.6
The posting of vbookie events in 3.6 is broken because the hook used has moved.
To fix this problem, the following plugin must be edited ;
vBookie: Redirect to vbookie.php when posting new Event
Replace the plugin code with this ;
if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_ moderate', true, false));
}
Note: I'm not actually using vbookie atm so I can't comment on any other problems.
After When i try 2 import the product in xml its Says
XML Error: not well-formed (invalid token) at Line 1129
DJ2492
10-17-2007, 11:57 PM
I need the following help.................... On my old skin when I went to make new thread it said Yes, post a vBookie Event with this thread
Now in my new skin it doesnt say that, its just not there..... How can I make it appear?
SA_TGAZ
10-18-2007, 03:53 PM
Is there a max amount that can be bet??? or any limitations on the size?
DS MrSinister
10-18-2007, 07:10 PM
Is there a max amount that can be bet??? or any limitations on the size?
yes
https://vborg.vbsupport.ru/showpost.php?p=942268&postcount=775
SA_TGAZ
10-18-2007, 07:54 PM
yes
https://vborg.vbsupport.ru/showpost.php?p=942268&postcount=775
Thanks! I had tried to search for it but didn't have much like... I guess my keywords suck! :)
slickdawg
10-20-2007, 01:06 PM
First, I want to thank Sblueman and Kylek for their help !!!
I got vbookie running just fine on vb 3.6.7 PL1 - I uninstalled, and reinstalled, and the things that WERE supposed to be there WERE THERE, they were not before.
Now I have two questions:
1) On each user it lists their vcash total twice. How do I get rid of one of them?
2) How can I increase all the users vcash?
Thanks again for your help !
gatorenvy
10-22-2007, 12:00 PM
I had a Moderator wrongly settle bets.
I can't find any way to go back and edit the the settled bets? Anything I'm missing, or is it once the bets are settled that's it?
Maxman1544
10-22-2007, 12:29 PM
Can anyone tell me the mysql syntax to use if I want to bump everyones vcash by x amount. I see the command to reset everyone to 500. WHat do I need to do if I want to keep everyone at the same level but add 2,500 to it?
Any help would be appreciated.
Thanks!
timnp
10-24-2007, 01:22 PM
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...
Step 1: Edit memberlist.php
================================
File Edit: memberlist.php
================================
FIND:
--------------------------------
case 'posts':
$sqlsort = 'user.posts';
break;
--------------------------------
ADD BELOW:
--------------------------------
case 'vbookie_cash':
$sqlsort = 'user.vbookie_cash';
break;
Step 2: Edit memberlist Template
================================
Template Edit: memberlist
================================
FIND:
--------------------------------
<if condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=posts&pp=$perpage$usergro uplink">$vbphrase[posts]</a> $sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&order=DESC&sort=vbookie_cash&pp=$perpage$ usergrouplink">$vbphrase[vbookie_vcash]</a> $sortarrow[vbookie_cash]</td></if>
Step 3: Edit memberlist_resultsbit Template
================================
Template Edit: memberlist_resultsbit
================================
FIND:
--------------------------------
<if condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
<if condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if>
Tested on my site and works perfectly...
Hi. Thanks for this info. It was enough for me to write a product that does this task. You still need to make the two template changes that you mentioned but there is no need to edit the hard code. Attached is the product that you need to import.
Don't forget, you still need to edit the templates as you detailed above. This product just replaces having to edit the hard code.
Regards,
Tim.
(my first product so please be kind :D )
mathias
10-25-2007, 07:27 AM
someone release a 3.6.8 come on...
timnp
10-25-2007, 07:53 AM
Can anyone tell me the mysql syntax to use if I want to bump everyones vcash by x amount. I see the command to reset everyone to 500. WHat do I need to do if I want to keep everyone at the same level but add 2,500 to it?
Any help would be appreciated.
Thanks!
Try:
UPDATE user SET vbookie_cash = vbookie_cash + 2500
:)
someone release a 3.6.8 come on...
Would be appreciated :up:
timnp
10-25-2007, 09:01 AM
I'm a bit confused, we run this plugin on 3.6.8 with no problems
bobster65
10-25-2007, 01:52 PM
someone release a 3.6.8 come on...
Would be appreciated :up:
Guys, this Add On works fine on 3.6.8 I originally installed this on my 3.5 board and have upgraded through 3.6.8 without ANY issues... I've also installed this hack fresh on a 3.6.8 board and it works perfectly.
timnp
10-25-2007, 02:34 PM
Guys, this Add On works fine on 3.6.8 I originally installed this on my 3.5 board and have upgraded through 3.6.8 without ANY issues... I've also installed this hack fresh on a 3.6.8 board and it works perfectly.
Ditto.
Ran into small problems but they're all discussed and solved in this thread, none of them were related to the fact that it was 3.6.8 as far as I am aware.
Memphis834@yaho
10-30-2007, 09:47 PM
I'm really confused as to how I post threads with vbookie. I made all the template edits and uploaded all the files. Yet when I click on vbookie in my navbar, theres not button or anything there for making bets.
bobster65
10-30-2007, 09:51 PM
I'm really confused as to how I post threads with vbookie. I made all the template edits and uploaded all the files. Yet when I click on vbookie in my navbar, theres not button or anything there for making bets.
When you create a new thread, the option for making the thread a vbookie thread is at the bottom with the other thread options.. you click the button (just like you do when you create a poll).. it will then take you to the vBookie options for that thread..
bob12
10-31-2007, 06:59 AM
Can I have some help to install hack on my board please
albibak
10-31-2007, 07:41 AM
What is your vBulletin version?
bob12
10-31-2007, 08:02 AM
I am using vbulletin version 3.6.8, and can you help me to install it and edit some stuff on my board to make it work on my board please
Blackhat
10-31-2007, 09:58 PM
have someone integrated this with vbcredits ?
kylek
10-31-2007, 10:12 PM
have someone integrated this with vbcredits ?
Yes it works fine, all you have to do is change the cash points settings drop down so that it shows blank instead of vcash, ucash,ebux in the vbookie admincp settings.
bob12
11-01-2007, 04:24 AM
Hey can you guys help me to install this hack on my board please
kylek
11-01-2007, 04:47 AM
Hey can you guys help me to install this hack on my board please
Sent you a pm.
bob12
11-01-2007, 05:07 PM
Can you guys help me with this hack please
Mr President
11-07-2007, 06:58 PM
Great job on this hack!!! I have it on 3.6.8 and it works perfect.
One question i have though, is there a way to view all bets on one page without having to go to each post and looking? I wasn't sure if i was missing this feature or if there is another hack that is available to load in to do this..
But again, great job! I love it!
bobster65
11-07-2007, 07:05 PM
Great job on this hack!!! I have it on 3.6.8 and it works perfect.
One question i have though, is there a way to view all bets on one page without having to go to each post and looking? I wasn't sure if i was missing this feature or if there is another hack that is available to load in to do this..
But again, great job! I love it!
The Main vBookie page lists them all .. vbookie.php
Mr President
11-07-2007, 07:14 PM
I saw that one, i just wasn't sure if there was a mod page that listed out all bets and each person that has bet and how much they bet without having to go into each thread and looking it up that way.
bobster65
11-07-2007, 07:39 PM
I saw that one, i just wasn't sure if there was a mod page that listed out all bets and each person that has bet and how much they bet without having to go into each thread and looking it up that way.
ah, no .. I have not seen any custom add ons for this hack.
vbnewbie2007
11-07-2007, 10:35 PM
Please help, thanks in advance.
Using version: vBulletin 3.6.8 Patch Level 2
I have installed this all by the instructions..
EDIT everything ok in..
Template newthread
Templates postbit/postbit_legacy
Template navbar
And did the change for 3.6 in "vBookie: Redirect to vbookie.php when posting new Event"
when trying to set permisson it didnt change (set it back to "No" when i saved as "Yes")
So i did the rebuild bit thing i found a few posts back..
Now it WORKED to set permission but i still cant post.
So i tried the install/upgrade product. Still the same it wont let me post.
(I've checked forum permission also and all are "Yes")
Anyone know what might be wrong?
bobster65
11-07-2007, 10:44 PM
Please help, thanks in advance.
Using version: vBulletin 3.6.8 Patch Level 2
I have installed this all by the instructions..
EDIT everything ok in..
Template newthread
Templates postbit/postbit_legacy
Template navbar
And did the change for 3.6 in "vBookie: Redirect to vbookie.php when posting new Event"
when trying to set permisson it didnt change (set it back to "No" when i saved as "Yes")
So i did the rebuild bit thing i found a few posts back..
Now it WORKED to set permission but i still cant post.
So i tried the install/upgrade product. Still the same it wont let me post.
(I've checked forum permission also and all are "Yes")
Anyone know what might be wrong?
Im sure you already checked, but the only thing I can think of is to make sure you have vbookie active
vBulletin Options >> vBookie Settings >> vBookie Active (Set to Yes)
Use this setting turn turn vBookie On or Off.
vbnewbie2007
11-07-2007, 10:48 PM
Im sure you already checked, but the only thing I can think of is to make sure you have vbookie active
vBulletin Options >> vBookie Settings >> vBookie Active (Set to Yes)
Use this setting turn turn vBookie On or Off.
Yup its set to "Yes" think it was "Yes" by default also.
Sorry! my bad i thought it was possible to post from vbookie page, seems it was working all along :)
EA Junkie
11-12-2007, 05:56 PM
vBookie & 3.6
The posting of vbookie events in 3.6 is broken because the hook used has moved.
To fix this problem, the following plugin must be edited ;
vBookie: Redirect to vbookie.php when posting new Event
Replace the plugin code with this ;
if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_ moderate', true, false));
}
Note: I'm not actually using vbookie atm so I can't comment on any other problems.
So, I replace the code above in the newthread template instead of this code below correct?
<if condition="$show['vbookieevent']">
<fieldset class="fieldset">
<legend>$vbphrase[post_a_vbookieevent]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
</div>
</fieldset>
</if>
bobster65
11-12-2007, 06:01 PM
So, I replace the code above in the newthread template instead of this code below correct?
<if condition="$show['vbookieevent']">
<fieldset class="fieldset">
<legend>$vbphrase[post_a_vbookieevent]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
</div>
</fieldset>
</if>
no..... not a template, the plugin
EA Junkie
11-12-2007, 07:03 PM
no..... not a template, the plugin
Thanks for quick response. So, I open the product-bookiehack plug in and replace the code below with Paul M's code correct?
if ($newpost['postvbookieevent'])
{
$forceredirect = false;
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
}
bobster65
11-12-2007, 07:31 PM
Thanks for quick response. So, I open the product-bookiehack plug in and replace the code below with Paul M's code correct?
close, but no...
Log into your Admin Control Panel.
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...
Scroll down the list and Look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....
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...
Hit save and you are good to go :cool:
EA Junkie
11-12-2007, 11:00 PM
bobster you rock!!! I've got it installed. The last issue I'm having is it is not showing up on my navbar on the forums home page - http://forums.onlinesportsgames.com/
EA Junkie
11-13-2007, 01:23 PM
Along with not being able to display on the navbar, users also aren't able to place bets once I post. Get the following message - You may not bet on this event. You have placed 0 bet(s) on this Event.
http://forums.onlinesportsgames.com/showthread.php?t=7824
bobster65
11-13-2007, 02:23 PM
Along with not being able to display on the navbar, users also aren't able to place bets once I post. Get the following message - You may not bet on this event. You have placed 0 bet(s) on this Event.
http://forums.onlinesportsgames.com/showthread.php?t=7824
To link to the vbookie.php page... you need to edit your NAVBAR template and add the code like the install file suggests...
You need to edit each usergroup and set vbookie permissions for each group. There are 3 permission settings for vBookie.
rishimodi
11-14-2007, 01:13 AM
I just installed vbookie at my forum, but i cannot see any option of adding event. Can anyone help me with this. I know its a silly question but I'm stuck :).
I've give permission to user group.
bobster65
11-14-2007, 01:20 AM
I just installed vbookie at my forum, but i cannot see any option of adding event. Can anyone help me with this. I know its a silly question but I'm stuck :).
I've give permission to user group.
adding an event is similar to adding a poll. You first need to start a new thread in the forum that you want the event to show up in.. give the thread a title (just like you do a poll) and then down at the bottom is a check box thats you check to make the thread a vBookie event... hit submit and it will then take you to the vbookie event screen to fill out the particulars for the event... fill it out and hit submit. You will then have a thread with a vbookie event :cool:
rishimodi
11-14-2007, 01:36 AM
Thanks for quick response. But after creating event and checking the check box, it doesn't redirects me to vbookie page, infact when I go there manually - i dont' see anything.
Regards
Mr President
11-14-2007, 06:08 PM
Is there a way a PM can be sent to a user when they have won a bet and tell them the amount they have won?
Members are unsure if they are in fact getting paid and there is no way for me to check to see.
It tells them when the bet is settled what they won, but no way of knowing if it really deposits the money in there acct.
bobster65
11-14-2007, 06:41 PM
Is there a way a PM can be sent to a user when they have won a bet and tell them the amount they have won?
Members are unsure if they are in fact getting paid and there is no way for me to check to see.
It tells them when the bet is settled what they won, but no way of knowing if it really deposits the money in there acct.
I'm sure that an addon like that could be fairly easily accomplished. Im not sure it would help, cause it still won't prove anything. A better stats module would certainly be nice to show the what the members amount was prior to the deposit and the actual balance (similar to a bank account transaction sheet)..
As you probably already know... each Member has their own individual page that contains all bets that they wagered on. It has the Status (Open, Closed, Settled etc), the stakes/Odds and the amount won (paid). This is the best way to check things out.
http://www.YOURSITE.com/forums/vbookie.php?do=bets
kirsty
11-16-2007, 03:01 PM
vBookie & 3.6
The posting of vbookie events in 3.6 is broken because the hook used has moved.
To fix this problem, the following plugin must be edited ;
vBookie: Redirect to vbookie.php when posting new Event
Replace the plugin code with this ;
if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_ moderate', true, false));
}
Note: I'm not actually using vbookie atm so I can't comment on any other problems.
Sorry im a noob but how do I go about editting the plugin?
bobster65
11-16-2007, 03:14 PM
Sorry im a noob but how do I go about editting the plugin?
I answered this just a few posts back... here it is again.
Log into your Admin Control Panel.
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...
Scroll down the list and Look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....
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...
Hit save and you are good to go :cool:
kirsty
11-16-2007, 04:31 PM
I answered this just a few posts back... here it is again.
Log into your Admin Control Panel.
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...
Scroll down the list and Look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....
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...
Hit save and you are good to go :cool:
Thanks very much :up:
halkum
11-19-2007, 06:18 AM
Odd error.
IS there a reason in particular that the vBookie permisions in the usergroups, do not seem to matter? We have regular members posting events and resolving them in cases where they really shouldn't be. We've made it so they can not create new ones or edit others, but for wahtever reason those premissions are bypassed and anybody even a brand new user can create a new vBookie.
Any idea? Version of vBookie is 1.0.7. vB being 3.6.8
powerful_rogue
11-19-2007, 10:58 PM
Hi,
Ive just installed this and had a look through the previous posts but cant seem to locate any reference.
Is it possible to have this based on forum permissions so it only shows in forums you want it too? At the moment it seems to be displaying in all my forums!
Edit - Ignore the above! Its actullay in "Forum persmissions" I was looking elsewhere!
ezurick
11-22-2007, 11:10 AM
Hi... Great program/plugin! I have been using this for several months and love it... but I am running into issues that are within the program that I can't change. I am running vbookie 1.0.7 and vb 3.6.8... and I am using the vbCredits 1.4.
I had a recent issue with one of my vbCredits settings and many of my members earned like 2K a post or reply. I quickly resolved the settings... but now I have a few users (that were posting at that time) with large balances... Anyway, I had my football odds set at 5 to 1... This gave many new users an opportunity to bet small and win a nice pot to play arcade and such... I recently had 2 users (same person with different accounts) bet 20K on the 5 to 1... on both the win and lose... So they of course will win a million either way. There is absoultely no way to change that odds... cause if I change the odds, their odds remain the same... and there is no way to limit their bets. I need a way to limit any bet... this is extremely important and I can't understand why others haven't asked this... I have no way to change members bets either... So now I am stuck with allowing this bet to continue, or close it down and I don't want to do that... there are too many other members with proper bets and odds... Any help?
bobster65
11-22-2007, 04:15 PM
Hi... Great program/plugin! I have been using this for several months and love it... but I am running into issues that are within the program that I can't change. I am running vbookie 1.0.7 and vb 3.6.8... and I am using the vbCredits 1.4.
I had a recent issue with one of my vbCredits settings and many of my members earned like 2K a post or reply. I quickly resolved the settings... but now I have a few users (that were posting at that time) with large balances... Anyway, I had my football odds set at 5 to 1... This gave many new users an opportunity to bet small and win a nice pot to play arcade and such... I recently had 2 users (same person with different accounts) bet 20K on the 5 to 1... on both the win and lose... So they of course will win a million either way. There is absoultely no way to change that odds... cause if I change the odds, their odds remain the same... and there is no way to limit their bets. I need a way to limit any bet... this is extremely important and I can't understand why others haven't asked this... I have no way to change members bets either... So now I am stuck with allowing this bet to continue, or close it down and I don't want to do that... there are too many other members with proper bets and odds... Any help?
Actually, there is too a way to set a cap limit on bets and it was explained within this thread.
Here is how you do it, simply add a conditional within the conditional to test the value of each bet (eval each $stake variable with the loop).. this simple if statement will work fine and do the trick..
if ($stake > 1000){
eval(standard_error(fetch_error('vbookie_exceeded_ max_bet')));
}
So ... do this (when you have time that is)..
Edit File vbookie.php.
Find:
foreach ($vbulletin->GPC['option'] AS $option_id => $stake)
{
if ($stake > 0)
{
$db->query_write("INSERT INTO " . TABLE_PREFIX . "vbookie_bets_placed (option_id, item_id, userid, bet_amount_placed, bet_odds_against, bet_odds_for, bet_private) VALUES ($option_id, $item_id, " . $vbulletin->userinfo['userid'] . ", $stake, " . $odds_against["$option_id"] . ", " . $odds_for["$option_id"] . ", '$private')");
$db->query_write("UPDATE " . TABLE_PREFIX . "vbookie_item_options SET option_n_bets_placed=option_n_bets_placed+1, option_amount_staked=option_amount_staked+$stake WHERE option_id=$option_id");
}
}
Replace with:
foreach ($vbulletin->GPC['option'] AS $option_id => $stake)
{
if ($stake > 0)
{
if ($stake > 1000){
eval(standard_error(fetch_error('vbookie_exceeded_ max_bet')));
}
$db->query_write("INSERT INTO " . TABLE_PREFIX . "vbookie_bets_placed (option_id, item_id, userid, bet_amount_placed, bet_odds_against, bet_odds_for, bet_private) VALUES ($option_id, $item_id, " . $vbulletin->userinfo['userid'] . ", $stake, " . $odds_against["$option_id"] . ", " . $odds_for["$option_id"] . ", '$private')");
$db->query_write("UPDATE " . TABLE_PREFIX . "vbookie_item_options SET option_n_bets_placed=option_n_bets_placed+1, option_amount_staked=option_amount_staked+$stake WHERE option_id=$option_id");
}
}
Then all that is left it to Create the Phrase
languageid : -1
varname : vbookie_exceeded_max_bet
text : You have exceeded the maximum amount of $1000 per bet.
phrasetypeid : 1000
product : bookiehack
Obviously, the $1000 max can be changed to what ever the heck you want it to be... I've taken it farther and an interface that allows the creator of the event to set a cap on it (Cap per event).... and no, it won't be released, so please don't ask.
Again, this isn't MY solution, it was posted in this thread. Search is a wonderful tool.. use it.
ezurick
11-23-2007, 08:49 AM
Then all that is left it to Create the Phrase
languageid : -1
varname : vbookie_exceeded_max_bet
text : You have exceeded the maximum amount of $1000 per bet.
phrasetypeid : 1000
product : bookiehack
Obviously, the $1000 max can be changed to what ever the heck you want it to be... I've taken it farther and an interface that allows the creator of the event to set a cap on it (Cap per event).... and no, it won't be released, so please don't ask.
Again, this isn't MY solution, it was posted in this thread. Search is a wonderful tool.. use it.
Thank you so much for taking the time to explain this once again. I am sorry if I missed it in the thread. Sometimes it is hard to weed through a large thread when you are looking for something in particular. My apologies. You explained it very well; however, I am not sure what is meant by, "Create the Phrase". I am sorry to bother again, but could you explain how or what to do so I can create the phrase? Should those items go in the vbookie.php somewhere?
Thanks once again...
bobster65
11-23-2007, 04:20 PM
Thank you so much for taking the time to explain this once again. I am sorry if I missed it in the thread. Sometimes it is hard to weed through a large thread when you are looking for something in particular. My apologies. You explained it very well; however, I am not sure what is meant by, "Create the Phrase". I am sorry to bother again, but could you explain how or what to do so I can create the phrase? Should those items go in the vbookie.php somewhere?
Thanks once again...
lol, no need to apologize, sorry if I came across harsh...
as far as the phrase, no, its not created in the vbookie.php... you need to log into your ACP and on the left hand nav, go down to the Languages and Phrases... expand the group, Click on Phrase Manager, in the main pain window, click on add new phrase.. this will open up a form to create the new phrase...
Phrase Type: vBookie
Product: vBookie
Varname: vbookie_exceeded_max_bet
Text: You have exceeded the maximum amount of $1000 per bet.
ezurick
11-24-2007, 12:55 AM
lol, no need to apologize, sorry if I came across harsh...
as far as the phrase, no, its not created in the vbookie.php... you need to log into your ACP and on the left hand nav, go down to the Languages and Phrases... expand the group, Click on Phrase Manager, in the main pain window, click on add new phrase.. this will open up a form to create the new phrase...
Phrase Type: vBookie
Product: vBookie
Varname: vbookie_exceeded_max_bet
Text: You have exceeded the maximum amount of $1000 per bet.
Hi Again. I followed the instructions by replacing the text in vbookie.php and created the phrase as instructed... now when I place a bet I get this error:
Parse error: parse error, unexpected T_STRING in /home/.../forum/vbookie.php on line 968
I removed the complete link... but I imagine it is erroring on the text I replaced. I believe that would be line 968. Can someone help with the proper text replacement... or help please...
Ok, I have a question....
Where do I go to select witch usergroups can create events?
Thanks...
bobster65
11-24-2007, 02:45 PM
Ok, I have a question....
Where do I go to select witch usergroups can create events?
Thanks...
Usergroup settings... it should be one of the first options.
ezurick
11-24-2007, 03:23 PM
Hi Again. I followed the instructions by replacing the text in vbookie.php and created the phrase as instructed... now when I place a bet I get this error:
Parse error: parse error, unexpected T_STRING in /home/.../forum/vbookie.php on line 968
I removed the complete link... but I imagine it is erroring on the text I replaced. I believe that would be line 968. Can someone help with the proper text replacement... or help please...
Please help!
bobster65
11-24-2007, 03:36 PM
Please help!
pleas attach your vbookie.php file so I can look at it.
ezurick
11-24-2007, 05:16 PM
pleas attach your vbookie.php file so I can look at it.
Be glad to....
But it is the SAME one that is in the download, except for the replacement you had me made... Also, I pulled it up in a php editor to see where the line was located that is erroring and it is way above the area you had me edit/replace.
I get this error when I have this set at 1000 and try to place a bet at 1200. I am not sure if any bet is erroing because there is no way to edit any bet that I am aware of... in cluding the odds of past bets. Admins really need this...
I have a member with two profiles and placed a bet for 20K on a football game... bit win or lose. The odds were 5/1... they are about to win over a million and I can't edit it or stop it unless I delete it... and that would ruin it for a bunch of others. Admins need more control.
bobster65
11-24-2007, 05:56 PM
Be glad to....
But it is the SAME one that is in the download, except for the replacement you had me made... Also, I pulled it up in a php editor to see where the line was located that is erroring and it is way above the area you had me edit/replace.
I get this error when I have this set at 1000 and try to place a bet at 1200. I am not sure if any bet is erroing because there is no way to edit any bet that I am aware of... in cluding the odds of past bets. Admins really need this...
I have a member with two profiles and placed a bet for 20K on a football game... bit win or lose. The odds were 5/1... they are about to win over a million and I can't edit it or stop it unless I delete it... and that would ruin it for a bunch of others. Admins need more control.
weird, I just uploaded your file to my site and it works just fine.. limits the bet amount to 100 (since you set it at 100)....
So can someone tell me exactly where to go to set what usergroups can post vBookie Events
ezurick
11-24-2007, 07:31 PM
weird, I just uploaded your file to my site and it works just fine.. limits the bet amount to 100 (since you set it at 100)....
Well, that is weird... and I didn't change it, it was set at 1000, not 100. The only other change that I done was the Create the Phrase, as you instructed.
Remember, I am using vbcredits... are you using that on your site? After I uploaded the file, I attempted to edit a past created football bet I set up weekes ago... and I got that same error. So I replaced that vbookie.php with the original and it allowed me to edit that bet. So it is something about that line and that file... and those settings with my site.
Incidently, I am not sure why but I have a few other issues with vbookie, but I can live with them... One of them is... I have to edit any bets that I setup in the past and check their settings. Something is changing the time and date of the settings... so I have to check it either the day before or right before the game. It happens sporadically, but more times than not. Also, if I set the bet to close at 1pm on a certain day, my program closes that whole morning... I just tell me members to enter your bets at least the day before, otherwise it is closed. It is like it doesn't care what the time is... just the day.
Again, I can live with those issues... I really need this bet limit corrected. Is there anything else you can help with this... I am using vb 3.6.8 and vbcredits 1.4RC1...
So can someone tell me exactly where to go to set what usergroups can post vBookie Events
Just updating you all on the help I need:
https://vborg.vbsupport.ru/showthread.php?p=1388799#post1388799
ezurick
11-25-2007, 11:07 AM
So can someone tell me exactly where to go to set what usergroups can post vBookie Events
Man, have you even looked at the usergroups settings before posting? It is clearly stated in the each usergroup. Pull up the usergroup you want to allow and scroll down to the "vbookie event permissions". Under that... "Can post vbookie events". Set that to yes.
ezurick
11-25-2007, 11:19 AM
Just updating you all on the help I need:
https://vborg.vbsupport.ru/showthread.php?p=1388799#post1388799
I am a little confused... why or what is the issue that you can't install it?
I'd be willing to help you install it (I see you are using vb 3.6.8), but wouldn't support it after that. I think if you are having issues installing it, you will have issues setting bets up and control them. I don't have time for that... maybe someone else has that time.
May I suggest to follow the instructions for installation... make the proper edits for vb.3.6.8. and create a forum that only the admin can access for your bets. Then setup an event by posting in that forum, select vbookie in the bottom menu.. and presto! I added an item in the navbar for everyone to access... so they can see bet results and stats...
halkum
11-27-2007, 04:38 AM
Odd error.
IS there a reason in particular that the vBookie permisions in the usergroups, do not seem to matter? We have regular members posting events and resolving them in cases where they really shouldn't be. We've made it so they can not create new ones or edit others, but for wahtever reason those premissions are bypassed and anybody even a brand new user can create a new vBookie.
Any idea? Version of vBookie is 1.0.7. vB being 3.6.8
Any help with this? Much apperchiated.
Chief108
11-27-2007, 03:50 PM
what's the easiest way to give an x amount of vCash to all our users for x-mas?
I'd guess by a sql statement...
and dif amounts for dif groups?
how should I do that?
ezurick
11-30-2007, 09:41 AM
weird, I just uploaded your file to my site and it works just fine.. limits the bet amount to 100 (since you set it at 100)....
Any more help with this?????
fishhub
12-03-2007, 02:17 PM
is this compatible with php5?tia :o
ezurick
12-04-2007, 08:51 AM
weird, I just uploaded your file to my site and it works just fine.. limits the bet amount to 100 (since you set it at 100)....
Am I to assume you are done helping me?
bobster65
12-04-2007, 01:26 PM
Am I to assume you are done helping me?
Sorry Dude.... The last thing I was helping you with worked on my site. I'm not sure what else to say/check. Maybe the individual that wrote it can provide some insite on what it might be conflicting with.
This is one of my favorite hacks and I WISH the author would either release the code to let other developers take over and expand it/re-write it or start getting involved in it again and expand on it himself.... I don't see either happening however.
ezurick
12-04-2007, 07:35 PM
Sorry Dude.... The last thing I was helping you with worked on my site. I'm not sure what else to say/check. Maybe the individual that wrote it can provide some insite on what it might be conflicting with.
This is one of my favorite hacks and I WISH the author would either release the code to let other developers take over and expand it/re-write it or start getting involved in it again and expand on it himself.... I don't see either happening however.
Ok... thanks for trying tho... It is a great hack and I wish it was supported better too... :(
Andrew Green
12-04-2007, 07:40 PM
what's the easiest way to give an x amount of vCash to all our users for x-mas?
I'd guess by a sql statement...
and dif amounts for dif groups?
how should I do that?
UPDATE __user SET vbookie_cash = vbookie_cash + ___ WHERE usergroupid = ___;
Fill in the blanks with table prefix, amount and primary usergroup.
Chief108
12-05-2007, 04:31 AM
thnx a lot!!!
bxbigt
12-05-2007, 04:35 AM
i wanna get this to work for 3.6.8 but that post that paul made lacks detail any suggestions :)
bobster65
12-05-2007, 01:11 PM
i wanna get this to work for 3.6.8 but that post that paul made lacks detail any suggestions :)
All you needed to do was read back 3 pages.. I answered this twice just a few posts back... here it is again.
For Pauls Part.....
Log into your Admin Control Panel.
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...
Scroll down the list and Look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....
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...
Hit save and you are good to go :cool:
bxbigt
12-05-2007, 10:49 PM
thanks man your the best :)
theoz1
12-07-2007, 02:04 PM
Anyone know how you can change the description, as in when it says, "This bet is open", after setting it up, you can modify it. Ive been looking through the files and cant seem to find any text descriptions for each section.
bobster65
12-07-2007, 02:30 PM
Anyone know how you can change the description, as in when it says, "This bet is open", after setting it up, you can modify it. Ive been looking through the files and cant seem to find any text descriptions for each section.
Its probably a PHRASE... check the phrases and see if you can find it in there.
bxbigt
12-08-2007, 03:15 AM
damn i installed it using the directions it install right but it wouldnt accept any settings meaning i set up the permissons saved and it went back to normal over and over again
bobster65
12-08-2007, 01:18 PM
damn i installed it using the directions it install right but it wouldnt accept any settings meaning i set up the permissons saved and it went back to normal over and over again
Thats because you didn't rebuild your bit fields, so its not saving the settings.
<rant>
Dang I wish one of the vborg staff members would step up to the plate and add this simple step to the install instructions sos it doesn't have to be answered over and over and over and over.. its like the dang energizer bunny question/answer.. it just keeps going and going and going...
</rant>
bxbigt
12-09-2007, 02:11 AM
lol ill try again but i did twice :(
thanks for all the help bud
Polish Guy
12-10-2007, 03:16 AM
Ok - installed on 3.6.4.
Everything works great, got everything worked out - except I can't get my users vCash to display in their postbit legacy.
I read to page 74 and gave up :)
Other than that - everything is butter. Great mod.
EDIT: Is there anyway for me to void a bet if there's a stupid user who clicks the wrong box to settle a bet?
SBlueman
12-10-2007, 03:23 AM
My suggestion? Use another cash system like iCash. Then use that to display in their postbits and for vBulletin to use. I am on 3.6.8 and it's working just fine for me.
Polish Guy
12-10-2007, 03:30 AM
what's the difference? And where would I get the hack for iCash?
EDIT: Nevermind - solved my own problem. I didn't see that I had to edit the Postbit and the postbit_legacy templates, just thought I had to edit the latter.
Woot!
If anyone needs help with the mod - IM me at on AIM at Polish Warlord.
Polish Guy
12-10-2007, 05:36 PM
Aight - once again, awesome hack, but in further modding it to work today, I came across a few users with concerns about the legal issue of it.
I don't not believe this is considered real gambling if vCash is used (or any other form of numerical worthless currency) so that means that here in the United States, any one, regardless of age, can participate, they don't have to be 18 or over - right?
I know that's more of a legal question than a question concerning this mod, but I figured I'd present it here.
-Mat
ezurick
12-11-2007, 07:17 PM
Aight - once again, awesome hack, but in further modding it to work today, I came across a few users with concerns about the legal issue of it.
I don't not believe this is considered real gambling if vCash is used (or any other form of numerical worthless currency) so that means that here in the United States, any one, regardless of age, can participate, they don't have to be 18 or over - right?
I know that's more of a legal question than a question concerning this mod, but I figured I'd present it here.
-Mat
Well, think of the kid game monopoly... Do you think folks are taking anyone to court about that? lol.
I really really really NEED a way to limit the bets without a bunch of edits that screw up my system... Anyone help?
ezurick
12-13-2007, 11:30 PM
- I really really need a way to limit the bets without edits...
- I am having issues with changing the bets settings (date, time, GMT). I have to change them daily back to what they are suppose to be. Something is changing them and there are many times I change them back and go back into the edit and it refuses to save the settings I change it to. Please fix this...
- Admin must be able to change bets... There currently is no way.
Im having a problem with the correct user amount (vCash) being displayed in their postbit. It seems as if it is displaying the default (500) for everyone regardless of what their actual earning is at.
Any help would be greatly appreciated. :)
You got this line in your postbit?
<if condition="$vboptions['vbookiecashon']">
<br />$vbphrase[vbookie_vcash]: $post[vbookie_cash]
</if>
That's what I have and it works fine for me Frankie.
This is the same code I have in the postbit/legacy and for some reason
everyone is still displaying the default amount of 500 vCash.
SCRATCH THAT! :D I was able to figure it out. Thanks guys.
ezurick
12-15-2007, 11:49 AM
Is there ANY support for this?
pooker
12-16-2007, 04:11 AM
The cash is not showing up under my users name I was told I would need to alter the legacy bit but cannot find it after many pages of reading can someone please tell me what to do thank you very much
-Colby
Shazz
12-16-2007, 06:12 AM
Is there ANY support for this?
This mod does not have a supported button next to it, no.
pooker
12-16-2007, 07:57 PM
Alright now it will not let anyone bet , it says "You may not bet on this event , you have betted (0) amount of times" or something to that affect
cygy2k
12-17-2007, 01:37 AM
I understand this isn't a supported mod but I hope that somebody can get permission to take over the project and continue developing the product, it sure has a lot of interest. With 3.7 just around the corner, I'm guessing there will be even more problems that we'll have to individually try to work around.
serhat_kk
12-17-2007, 12:57 PM
Huuuge hack! Propz!
fivestar
12-23-2007, 07:55 PM
Great hack and thank you. But when i click the check box for Yes! Create a vBookie event. And I click submit new thread. It just posts the thread and I dont get any option to create the vBookie event. Is there anything I should do to try and fix it? Or how would I fix it?
Thanks for any help.
cygy2k
12-26-2007, 10:40 PM
Has anybody tried this with 3.70 Beta 3 yet? I know vBCredits is supposed to be compatible in a day or two and was looking to upgrade once I had confirmation both were working well.
bobster65
12-26-2007, 10:49 PM
Has anybody tried this with 3.70 Beta 3 yet? I know vBCredits is supposed to be compatible in a day or two and was looking to upgrade once I had confirmation both were working well.
not yet, but was going to test it out tonight if I have time.
cygy2k
12-26-2007, 11:21 PM
not yet, but was going to test it out tonight if I have time.
Thanks bobster65 - let us know how it goes if you don't mind. Thanks!
bobster65
12-27-2007, 12:53 AM
Thanks bobster65 - let us know how it goes if you don't mind. Thanks!
Hey Bud...
Well, I did a fresh install of beta3 3.7 and added vbookie w/ Pauls 1 change and it worked just fine. I was able to add multiple events, edit them, bet on them (with the default vbookie vcash system).... make private bets, settle events and payouts all worked just fine.
Seems to me like it works just fine, but who knows, it may conflict with other hacks. All I know is that it works fine by itself on a fresh install.
Bob
cygy2k
12-27-2007, 12:55 AM
That's great news! Thanks for providing feedback on your test, I'll make sure to post my results once I get vBCredits 1.4 final in the next couple of days.
bobster65
12-27-2007, 12:59 AM
That's great news! Thanks for providing feedback on your test, I'll make sure to post my results once I get vBCredits 1.4 final in the next couple of days.
lol.. I was just going to mess around with vBCredits to see if I could get it working on 3.7 Beta3 with vbookie. Im seriously thinking about going back to Icash tho.
AmbitiousOne
12-30-2007, 10:48 PM
Does this work with 3.6.8
where can I find a newer version?
bobster65
12-31-2007, 02:22 PM
Does this work with 3.6.8
where can I find a newer version?
yes, it works fine with 3.6.8 This IS the latest version and the author has shown no interest in supporting it or updating/upgrading.
shaunh
12-31-2007, 03:51 PM
I know it can be made to work, and I am using it now and have been for a long time, but still has a few flaws that will never be addressed and more will appear in the future as it gets older and vBulletin grows.
Are there any alternatives to vBookie available or on the horizon?
While this is a free mod and no one is or should be forced to support something released here, I find it more than somewhat "odd" that the "author" on this port won't pass the development along to someone willing to take it to the next level like the original creator did in the first place.
Has anyone tried to contact Daren "Rico" Chandisingh?
ezurick
01-01-2008, 07:01 AM
Does this work with 3.6.8
where can I find a newer version?
Although some folks will say yes... I will warn you!!! This MOD has a few issues that just plain do not work correctly... and there are things that are deeply needed, but there is no one to update it...
So, be warned. I had this installed on my 3.6.8 PLII and running it for a few months... I recently had a problem with my forum and had to do a clean install. I am now using the simple sports betting in the Casino MOD for 3.6.x. Here are some things that I noticed that turn me away from this MOD:
* When you setup massive games to bet on, be prepared to CONSTANTLY edit them, up to the day of the game... something is constantly changing the settings (usually the time, date and timezone)... which is really annoying, but important.
* There is ZERO capability to edit past settings or current bets. Meaning the admin is very limited. If someone accidently bet on the wrong selection.. too bad. There is no way to edit that.
* Listing current and past bets (active, settled, closed) is very hard to navigate... and for members that are new... it is annoying trying to explain it. This portion needs serious re-work IMO...
There are alot of things that could be updated or changed... but there is no one to help because....
It is not supported... So install at your own risk!!!
TCE Killa
01-02-2008, 01:11 AM
Everytime I change the admins permissions to yes on all of the vBookie options, I save it then go back and they're set to no. So no one can create an event/bet.
bobster65
01-02-2008, 01:16 AM
Everytime I change the admins permissions to yes on all of the vBookie options, I save it then go back and they're set to no. So no one can create an event/bet.
you need to rebuild your bit fields....
http://www.YOUR_DOMAIN.com/PATH/admincp/index.php?do=buildbitfields
AmbitiousOne
01-03-2008, 03:28 AM
What if I were to port this and update it without owner's confirmation?
Andrew Green
01-03-2008, 03:34 AM
What if I were to port this and update it without owner's confirmation?
You would breach the license it was provided to you with and be guilty of copyright violation.
Last line of the post:
This modification may not be copied, reproduced or published elsewhere without author's permission.
AmbitiousOne
01-03-2008, 07:04 PM
Andreas (vBulletin-Germany.org Staff) - is that not the creator?
No, he is the one who did the last "port".
cygy2k
01-03-2008, 10:46 PM
I know it's just my opinion but I think it's selfish for somebody to not at least pass on the torch so-to-speak when they abandon a mod that they know a lot of people use. If they aren't going to support it - at least let somebody else.
ezurick
01-04-2008, 05:36 PM
What if I were to port this and update it without owner's confirmation?
As Andrew stated, that would be a breach... but there is nothing wrong with writing one from scratch. It would be a hit!
I am a 'C' programmer, well, haven't programmed anything for quite some time... so I am sure I could pick up php rather fast for coding... but I just don't know where to start with vb. Otherwise, I'd dive into it....
You might want to consider the Casino Sports Bet program on the 3.6.x MODs... it isn't as elaborate as vbookie... but it is in its beginning stages. Hopefully lots of updates to the next version.
Lombardo
01-05-2008, 05:17 PM
This might seem a stupid question but what file do you upload the files in the upload folder too? is is just the root folder for your forum?
bobster65
01-05-2008, 05:21 PM
This might seem a stupid question but what file do you upload the files in the upload folder too? is is just the root folder for your forum?
yes, vbookie.php goes into the forums root .. the content inside the includes folder, goes into the vbulletin includes folder... same with the images folder, all the contents go into the vbulletin images folder.. hope that makes sense..
Lombardo
01-05-2008, 07:10 PM
yes, vbookie.php goes into the forums root .. the content inside the includes folder, goes into the vbulletin includes folder... same with the images folder, all the contents go into the vbulletin images folder.. hope that makes sense..
Yeah get it,thank you.
Lombardo
01-05-2008, 07:47 PM
ok strange problem,when i go into edit user groups and put the settings for vbookie on the save it,once saved they go back to no :confused:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.