View Full Version : vBookie for vBulletin 3.5
Pages :
1
2
3
[
4]
5
6
7
8
9
10
psybernaut
03-27-2006, 06:06 AM
All installed and uploaded as instructed however when in my Usergroup manager it will not allow me to change the options to Yes for posting events, and allowing to edit,etc it says updating but then sticks with them disabled.
Any ideas why or possible fix?
Try reading the last few posts...
natralis
03-27-2006, 06:10 AM
Have uploaded the plugin again and still no effect, how do i rebuild bit fields?
Rabbitoh Warren
03-27-2006, 06:19 AM
FFS! Anyone else sick and tired of the same question being asked by people either too lazy or too stupid to read the bloody thread? :angry:
natralis
03-27-2006, 06:22 AM
Well sorry for asking for help thought this was meant to be a helpful community.
psybernaut
03-27-2006, 06:44 AM
Well sorry for asking for help thought this was meant to be a helpful community.
natralis, please try searching the thread or reading through previous posts. This question has been answered countless times already.
natralis
03-27-2006, 09:08 AM
Problem solved thanks to all those who helped. And will read more next time.
psybernaut
03-28-2006, 09:24 PM
Minor fix.. when showing bet statistics (vbookie.php?do=stats), private bets don't show up correctly. ie. You see "$vbphrase[anon] won 1850 on ..." instead of "anon won 1850 on ...".
The fix is pretty simple. In vbookie.php, find:
$user = '<i>$vbphrase[anon]</i>';
Replace with
$user = $vbphrase['anon'];
ie. it's missing the single quotes around 'anon' in the vbphrase. I dropped the italic tags just to save messing around with single quotes within single quotes.
majoreyeswater
03-30-2006, 09:45 AM
Love this mod, adds such value to my board.
Wondering if might be able to get a bit of help.
A member created an event in vBookie, then my some mistake, they deleted the thread before they had closed the event.
The event is now still listed in vBookie, and can't be closed or deleted.
Any help appreciated.
Sorry to be a pain, but if someone could tell me how to delete an entry in vbookie that is no longer eidtable or no longer has a thread attached to it I would appreciate it.
I know we created the problem ourselves, but will take all the help I can get....
subnet_rx
03-30-2006, 02:22 PM
I'm having problems integrating vBookie with eBux. I have either 1.0.6 or 1.0.7, can't remember which, but it lets me select ebux as an option. The problem is, it uses the wrong database field for the bank. It uses ebank, where the field in the user table is vbbank. How can I fix this?
FROGGYJ
03-30-2006, 04:40 PM
ok I know this used to work fine with ebux, but it seems as though every since I upgraded ebux to the latest vbplaza I'm having issues now. I just wondering if there is something I have to update to reflect the changes or perhaps I have another problem.
psybernaut
03-30-2006, 09:15 PM
Since eBux changed name to vbBux/vbPlaza you need to use the vbookie hooks provided by CMX in the vbBux/vbPlaza download (because the names of the database tables changed).
Look in the vbBux/vbPlaza archive, there's a directory named 'vbookie_integration'. The readme explains it all... just install the hooks provided by CMX and change the vbookie config to use the custom cash type.
silky-smooth
03-31-2006, 05:37 AM
On the odd occasion, our admins go to edit an event and the options switch around.
For example, they'd be like this:
Team A: 12/99 F 0.12
Team B: 10/1 10.00
Just say I wanted to alter the odds a bit (make Team A 14/99), sometimes it will switch the order after you've edited it, so in this case, Team B would then list first (for example) and Team A is second - yet whatever bets laid don't move (so if you placed $50 on Team A, then they switched after an odds edit, it would have you down as $50 for Team B).
Hope this makes sense, and if it's a common problem that's been asked hundreds of times and resolved - this thread is 770-odd posts long, so forgive me for overseeing it.
Thanks
Maxman1544
04-01-2006, 04:32 AM
Great mod. Thank you, this is really awesome.
Quick question and I didn't see this listed anywhere in this thread. Everything is working. When I add an event as an Admin it works fine. When I do it as a user (I checked the usergroup and forum rights) it doesn't work.
When you go to add the thread it says you don't have rights to access this page. Then the thread goes into the moderation queue.
What am I doing wrong?
Maxman1544
04-01-2006, 04:45 AM
Thread moderation was on (by default) for the group I added.
I am dumb. But this is fixed and I am happy!!!
Neal-UK
04-03-2006, 04:39 PM
I'm getting this error when set to use vbPlaza points:
Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE user SET ebux=25 WHERE ebux < 25;
MySQL Error : Unknown column 'ebux' in 'where clause'
Error Number : 1054
Date : Monday, April 3rd 2006 @ 01:32:28 PM
Script : http://www.**************.eu/forum/vbookie.php
Referrer : http://www.*************.eu/forum/vbookie.php
IP Address : ***.***.**.*
Username : wayneyboy1942
Classname : vb_database
Gizmo5h1t3
04-03-2006, 04:41 PM
I'm getting this error when set to use vbPlaza points:
Database error in vBulletin 3.5.4:
Invalid SQL:
UPDATE user SET ebux=25 WHERE ebux < 25;
MySQL Error : Unknown column 'ebux' in 'where clause'
Error Number : 1054
Date : Monday, April 3rd 2006 @ 01:32:28 PM
Script : http://www.**************.eu/forum/vbookie.php
Referrer : http://www.*************.eu/forum/vbookie.php
IP Address : ***.***.**.*
Username : wayneyboy1942
Classname : vb_database
have u uninstalled estore??
think it might be a problem with left over stuff from ebux, or estore, after the change to vbplaza.....
id go thru your plugins and products mate...and checxk em
Neal-UK
04-03-2006, 04:43 PM
not used estore or anything like that, fresh forum with a fresh install of vbplaza.
Also noticed that the points systems I can choose are:
vCash
uCash
uBux
Custom
I selected uBux but not that one.
Neal-UK
04-03-2006, 04:57 PM
tried using Custom and it's working, just no one can bet on an event even though all permissions as set as letting them able to do so.
rclark666
04-03-2006, 05:39 PM
When i try and enable posting vbookie events in the usergroup manager.......................it resets all my changes to the permissions to no when i update changes :surprised:
It might be me being stupid as normal but i can't see why it is doing this.........
Help Please????????
http://www.footiebanter.com/forum/vbookie.php
innersanctum
04-03-2006, 06:45 PM
I have the same problem. After I enable it so that a usergroup can use vBookie, it resets them all to no. I am using the eBux setting, though I just upgraded to vbPlaza. Any ideas?
innersanctum
04-03-2006, 07:12 PM
I figured it out. I had to import the vBookie integratration plugin that was included with vBux/vbPlaza.
EDIT: I spoke too soon. Even after I get everthing enabled, the newthread template still doesn't display the vBookie event option.
EDIT PART 2: Stupid forum permissions. *LOL*
gwhooooey
04-03-2006, 09:30 PM
I figured it out. I had to import the vBookie integratration plugin that was included with vBux/vbPlaza.
How do you do that?.. I had a look but.. couldn't figure it out. :cross-eyed:
ForeverForums
04-05-2006, 09:21 AM
To integrate this with vBookie:
1) Goto vBookie Options in the Admin CP. Select Custom for the Cash/Points System.
2) Import the PLUGIN --> plugin-vbookievbplaza.xml
Devadam
04-05-2006, 01:28 PM
how can we limit the stakes on the betting ?
Railen
04-05-2006, 03:59 PM
how can we limit the stakes on the betting ?
Open 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 > 100){
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");
}
}
Open your vBulletin database and look at the phrase table.
Find the largest phraseid, then create a new row with a phraseID that's one larger than the largest one so far. The other values are as follows:
languageid : -1
varname : vbookie_exceeded_max_bet
text : You have exceeded the maximum amount of $100 per bet.
phrasetypeid : 1000
product : bookiehack
Obviously, change the $100 max to whatever you want your max to be.
Railen
04-05-2006, 04:25 PM
Something that would be nice...
vBarcade adds a trophy icon next to your name in the postbit if you have a high score in one of the games. It'd be nice to have a dollarsign or something similar to signify the richest person (or 2, 3). Richest person gets 3 dollar signs, 2nd richest gets 2, 3rd richest gets 1.
Now, I'm great with PHP, but you can't just insert PHP into vBulletin and have it work. It refers to $post and $show variables, etc, which are defined in places I'm not completely sure. While it might make great sense, it only succeeds in making people new to making changes to plugins, and the vBulletin system in general, confused. For example, what I did above will be overwritten once an upgrade is done. While it's easy enough to add back in, the obvious way to fix this would be adding to the plugin itself.
While I'm sure I'm not the only person who wants a postbit icon, the rate at which changes are made makes me think they won't get done if I don't do them myself. Does anyone have experience in making a change like this? If so, could you give me a quick rundown of what would be needed to implement this change?
If the author would share what is needed, I'd be fully willing to work on getting this done, and possibly work on a vBa CMPS module as well. I just need a bit of direction here. I can then share my changes with the author, who could wrap it into his plugin. Win/win for everyone....
Thanks.
mclark2112
04-06-2006, 02:15 AM
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=33178
Railen
04-07-2006, 02:48 PM
I'm absolutely certain that the following is misleading:
Total Bets: 282
Total Staked: 19287
Total Won: 9499
This makes it look like the bookie has made nearly 10k off users.
I'm looking at the SQL queries and I'm certain that total bets and total staked are correct. However, the total won does not show RETURNED STAKES.
If there's 1 event with 1 bet, odds 1/1 and I win on a $100 bet, the stats should show:
Total Bets: 1
Total Staked: 100
Total Won: 200
However, they DON'T. They would actually show:
Total Bets: 1
Total Staked: 100
Total Won: 100
This makes it look like the bookie has broken even, when the bookie is really down $100.
I'm working on new SQL query to fix this.
Railen
04-07-2006, 03:01 PM
Ok, fixed it.
In vbookie.php find:
while ($bit = $db->fetch_array($result))
{
// ATTN: Hardcoded HTML
$system_totals_bits .= "<b>$vbphrase[total_bets]:</b> $bit[bets]<br /><b>$vbphrase[vbookie_total_staked]:</b> $bit[stake]<br /><b>$vbphrase[total_won]:</b> $bit[won]<br />";
//exec_switch_bg();
//eval('$bits .= "' . fetch_template('vbookie_view_my_bet') . '";');
}
Replace with:
while ($bit = $db->fetch_array($result))
{
// ATTN: Hardcoded HTML
$amtWon = $bit[won];
$system_totals_bits .= "<b>$vbphrase[total_bets]:</b> $bit[bets]<br /><b>$vbphrase[vbookie_total_staked]:</b> $bit[stake]<br /><b>$vbphrase[total_won]:</b> $amtWon<br />";
//exec_switch_bg();
//eval('$bits .= "' . fetch_template('vbookie_view_my_bet') . '";');
}
$result = $db->query_read("SELECT SUM(item.bet_amount_placed) returnedStakes FROM " . TABLE_PREFIX . "vbookie_bets_placed AS item WHERE bet_amount_won != 0");
$newbit = $db->fetch_array($result);
// ATTN: Hardcoded HTML
$bookieProfitLoss = $amtWon - $newbit[returnedStakes];
$system_totals_bits .= "<b>Stakes returned:</b> $newbit[returnedStakes]<br /><b>Bookie profit/loss:</b> $bookieProfitLoss";
It uses hardcoded phrases, but whatever. I never understood why vBulletin puts all its phrases in a database anyway. (Anyone care to explain?)
psybernaut
04-07-2006, 10:04 PM
It uses hardcoded phrases, but whatever. I never understood why vBulletin puts all its phrases in a database anyway. (Anyone care to explain?)
Isn't it to make it independent of language, and to make it easier for people to modify phrases if they don't have easy access to the server the site is hosted on?
columbonet
04-08-2006, 12:05 AM
I figured it out. I had to import the vBookie integratration plugin that was included with vBux/vbPlaza.
EDIT: I spoke too soon. Even after I get everthing enabled, the newthread template still doesn't display the vBookie event option.
EDIT PART 2: Stupid forum permissions. *LOL*
Can you clarify that last part ? I don't see anything about vbookie on the forum permissions page.
Baudman
04-08-2006, 12:28 AM
natralis, please try searching the thread or reading through previous posts. This question has been answered countless times already.
Maybe the author could let people know about this and how to deal with it in the main post. That way people don't have to ask it so many times or search a thread with numerous pages to read.
psybernaut
04-08-2006, 01:49 AM
Maybe the author could let people know about this and how to deal with it in the main post. That way people don't have to ask it so many times or search a thread with numerous pages to read.
I agree.. if the author isn't going to fix the problems, then an FAQ in the main post would help many people.
Devadam
04-08-2006, 03:18 PM
there is a problem in my bookie...
when a bet closed and if it won then system making wrong calculation..
for instance odd 1.6 and i bet 20 on it..when it closed it must add 20+12=32 to the account......
but system add to account 20+32 instead of 32....system wrong over the bet amount...when bet won it add the bet amount 2 times...
what can i do? how can stop this wrong calculation...? i hope you know it...
columbonet
04-08-2006, 08:50 PM
there is a problem in my bookie...
when a bet closed and if it won then system making wrong calculation..
for instance odd 1.6 and i bet 20 on it..when it closed it must add 20+12=32 to the account......
but system add to account 20+32 instead of 32....system wrong over the bet amount...when bet won it add the bet amount 2 times...
what can i do? how can stop this wrong calculation...? i hope you know it...
This is correct. When you place a bet the program takes the wager immediately. So if you win the above bet you get your original 20 back plus the 1.6 which is 32. total payback is 52.
OldVBuser90210
04-10-2006, 12:20 PM
i seem to be having a problem...and as i look through the different pages in this thread, I dont see anyone who's had the same.
I installed vbookie yesterday, everythign seemed to go well. I created a usergroup so only some of my mods could post events, edit, bet, etc
I also did this for admin, the problem is, no one is able to post events, the option simply isnt there, and when I go back to my usergroup permissions, all the vbookie options are set back to no, even tho I've clicked yes and saved. any ideas why this is happening? I am just using vcash btw.
edit i finally did find out how to fix this....i'll remember next time to search through threads from teh last post 1st :)
jmarellano
04-10-2006, 09:23 PM
how can each user see how much money they have? it's probably listed in here somewhere, but there are way too many pages to go through.
i know as the admin i can check money by editting a user's options... but how can each member check their own?
Wonko-The-Sane
04-14-2006, 08:22 AM
Here's the mod to make money bet on vbookie events go to the bookie, and to have any winnings paid out from the bookies money. If the bookie can't afford to pay the winnings, their cash is set to zero. If you're using vbbux, money will be taken from the bank if possible.
<Snip>
EDIT: Updated the vbbux hook to deduct money from the bookie's bank account if they don't have enough cash on hand.
brilliant, thank you very very much, that is exactly what I was looking for.
manutdvn
04-15-2006, 04:15 AM
Hello,
I am using vbplaza v1.5.5. How to change my vCash? It is just only 500 in default. Even I post a new topic or reply, my vCash doesnot change. I mean, my money uses to bet just 500. How to fix this?
Thanks in advance.
manutdvn
04-15-2006, 03:45 PM
I fixed the problem.
slim cutty
04-15-2006, 07:58 PM
> Has anyone else had this proble?
Everyone has because the install code is "broken".
Just import the XML again and select override
just a reminder for those who do not want to read through 50 pages to get to the source of the usergroup yes/no problem...
Peace
10ECGator
04-17-2006, 08:09 PM
just a reminder for those who do not want to read through 50 pages to get to the source of the usergroup yes/no problem...
Peace
;) Appreciate that post SO much! I ahd the same problem and was getting ready to pour through the posts from the back and voila! There it was.
Kmaster
04-19-2006, 05:04 AM
Time Zone problem, I have created a event on selected Alaska(GMT-9:00),
but after 2 days I come back to the thread, it has changed (GMT)Western Europe Time, London, Lisbon, Casablanca.
someone has same problem like this?
psybernaut
04-19-2006, 05:08 AM
Time Zone problem, I have created a event on selected Alaska(GMT-9:00),
but after 2 days I come back to the thread, it has changed (GMT)Western Europe Time, London, Lisbon, Casablanca.
someone has same problem like this?
I *think* (not 100% sure) the event start and end times also change, so even though it shows the wrong time zone you end up with event actually running at the same time you originally configured it for.
Kmaster
04-19-2006, 10:00 AM
I *think* (not 100% sure) the event start and end times also change, so even though it shows the wrong time zone you end up with event actually running at the same time you originally configured it for.
Yes, end time for event is changed.:tired:
someone can fix this?
MorrisMcD
04-20-2006, 01:26 PM
Time Zone problem, I have created a event on selected Alaska(GMT-9:00),
but after 2 days I come back to the thread, it has changed (GMT)Western Europe Time, London, Lisbon, Casablanca.
someone has same problem like this?
That happens to me sometimes when I go to edit it.. NO idea why.. Sometimes it happens and sometimes not.. However, when it happens, it also changes the time so it isnt WRONG.. For example... I may have an event closing 10pm eastern.. But when I go to edit it, it says 7pm Pacific.. Or whatever.. Its a little annoying because one of my mods didnt notice the time zone once and just changed the time while editing something.. It allowed the users to bet for a few hours after the event ended :D
Kmaster
04-20-2006, 02:09 PM
wish Andreas will find time fix the problem above mentioned.
majoreyeswater
04-20-2006, 10:17 PM
Sorry to be a pain, but if someone could tell me how to delete an entry in vbookie that is no longer eidtable or no longer has a thread attached to it I would appreciate it.
I know we created the problem ourselves, but will take all the help I can get....
OK, I'll keep asking in the hope that someone might be able to help. A good hoof to the top to draw attention to it never does any harm...
Trying to delete vbookie event that has had its thread deleted and now is stuck in the vbookie listing.
psybernaut
04-21-2006, 01:52 AM
OK, I'll keep asking in the hope that someone might be able to help. A good hoof to the top to draw attention to it never does any harm...
Trying to delete vbookie event that has had its thread deleted and now is stuck in the vbookie listing.
I'm not sure it can be done.. well, not easily anyway. I've got similar orphaned events hanging around on my site. I think someone may have posted an SQL query to clean them up, but I've never tried it myself.
If you've got PHPMyAdmin, or something similar installed, you could remove them from the database manually.
tappedout
04-23-2006, 02:02 AM
Hmmm. when i change permisions in forum permisions or user group permisions, it sets it right back to no after i click yes then save it. any ideas?
gatez
04-23-2006, 06:31 PM
i have installed vbookie edited the scripts using v cash default and set up 1 specific fourm to allow posts for betting exept no matter what i do i cant post v bookie bets there i check it unser perm=issions and allow certian users and when i go back there not checked please help me.
Rabbitoh Warren
04-23-2006, 07:42 PM
You need to rebuild bitfields. Search this thread for the answer.
Hello,
I was wondering if anyone can do some alterations for me to this mod.
Where it says this in the set up:
Event Group:
A general field that this event falls in to, e.g. 'Football', 'World Cup 2006' etc
And this:
Event Title:
The description of the thing that users will bet on, e.g. 'England to beat France', 'Button to be GP World Champion', '04/05 Premiership Winners' etc.
Is it possible to alter it so i can have a few options in a drop down menu. :)
Of course i would willingly donate to who could or would take the time to do this.
Thanks
drdeathuk69
04-24-2006, 02:39 AM
hi there can you add me to msn as i have a prob with vbookie
In Template navbar
FIND
--------------------------------------------------
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
--------------------------------------------------
BELOW that ADD
--------------------------------------------------
<td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td>
i dont have that in my surge templete
www.muppets-clan.com
my msn is nade_rush@msn.com
thanks for you time
chrisjp88
04-24-2006, 06:25 PM
Wow very nice hack, thanks. Also I second teepeg's suggestion. I think it would be nice to have a dropdown box there.
plateau
04-25-2006, 10:39 AM
Suggestion:
@ allow the members to start a BET, and he/she earn or lose money depends on the results. meaning that the one who starts the Bet is the Banker.
Hello,
I was wondering if anyone can do some alterations for me to this mod.
Where it says this in the set up:
Event Group:
A general field that this event falls in to, e.g. 'Football', 'World Cup 2006' etc
And this:
Event Title:
The description of the thing that users will bet on, e.g. 'England to beat France', 'Button to be GP World Champion', '04/05 Premiership Winners' etc.
Is it possible to alter it so i can have a few options in a drop down menu. :)
Of course i would willingly donate to who could or would take the time to do this.
Thanks
*Bump*
Anyone??
plateau
04-26-2006, 07:03 AM
Is it possible to alter it so i can have a few options in a drop down menu.
i think what u need is a javascript embedded in to the code.
flfooty tv
04-26-2006, 11:32 AM
when i goto edit usergroup and set admin to be able to add events, i lick ok and then it dont work. i look at the usergroup again and it sets itself back to No so i cant add
does anyone know how i fix this?
please i need this mod!
[email protected]
vbmenu_register("postmenu_960477", true);
04-26-2006, 11:51 AM
exactly the same happenned to me - now im stuck
flfooty tv
04-26-2006, 11:52 AM
someone please help im desperate for this mod to work
[email protected]
vbmenu_register("postmenu_960483", true);
04-26-2006, 11:56 AM
its the same on all user groups !!!
Help
flfooty tv
04-26-2006, 12:08 PM
yeh o know so i cant do anything with this mod unless its sorted, many people say it works so it must! plzzz
[email protected]
vbmenu_register("postmenu_960502", true);
04-26-2006, 12:22 PM
yep im all set to go if i can get this sorted
[email protected]
vbmenu_register("postmenu_960504", true);
04-26-2006, 12:29 PM
sussed it
The Bitfield XML must be uploaded before the Product XML is being imported - as stated in the documentation.
If you are not sure if you did that:
Check if the File is present and call admincp/index.php?do=buildbitfields
That should fix the Problem.
flfooty tv
04-26-2006, 12:32 PM
i swear mines already uploaded tho, do you have msn maybe u could have a look for me?
flfooty tv
04-26-2006, 12:37 PM
you are a star! can i kiss u? lol it works MWAH
[email protected]
vbmenu_register("postmenu_960512", true);
04-26-2006, 12:38 PM
now i can add a bet !!!!
How do i do that ?
flfooty tv
04-26-2006, 01:19 PM
goto make a new thread and tick add a bet or whateva...
my next question, can you make this betting for real money??? i.e using paypal or nochex?
plateau
04-28-2006, 01:59 AM
i just recognised that there is no support for this hack anymore?
i_pirlanti
04-28-2006, 09:30 AM
i can't post a bookie i read ol of the informations from here please help
i work on 36 hours without sleepin please help
i_pirlanti
04-28-2006, 09:31 AM
and actually add ebux pluggin
i_pirlanti
04-28-2006, 12:32 PM
i found my problem.
user group managment > edit user group > vBookie Event Permissions
i change them to Yes
an Post vBookie Events yes
Can Edit other people's vBookie Events yes
Can Bet on vBookie Events yes
then i click save but then go to user group managment > edit user group > vBookie Event Permissions again
Can Post vBookie Events no
Can Edit other people's vBookie Events no
Can Bet on vBookie Events no
it didint change the result please help..
plateau
04-29-2006, 06:07 AM
have u editted the vbookie settings in the forum options, and editted the permissons for each of the forums?
psybernaut
04-29-2006, 06:14 AM
i found my problem.
user group managment > edit user group > vBookie Event Permissions
i change them to Yes
an Post vBookie Events yes
Can Edit other people's vBookie Events yes
Can Bet on vBookie Events yes
then i click save but then go to user group managment > edit user group > vBookie Event Permissions again
Can Post vBookie Events no
Can Edit other people's vBookie Events no
Can Bet on vBookie Events no
it didint change the result please help..
rebuild bitfields, it's a bug. search this thread for more info.
plateau
04-29-2006, 06:28 AM
now i can add a bet !!!!
How do i do that ?
u mean? how do u actually add a bet?
post a new thread, and in the options click start a new bet, and then post it. after that u ll see all the related settings for the bet.
i_pirlanti
04-29-2006, 11:27 PM
rebuild bitfields, it's a bug. search this thread for more info.
how can i rebuilt bitfields?? i did it many times may be i m an the wrong way... :(
i_pirlanti
04-29-2006, 11:46 PM
have u editted the vbookie settings in the forum options, and editted the permissons for each of the forums?
yes i did it many times
i_pirlanti
04-29-2006, 11:55 PM
admincp/index.php?do=buildbitfields
solve mine problem ;)
something wrong with thraed ?? offf sorry all of u :(
plateau
04-30-2006, 12:36 AM
anyway, glad to hear that u have solved ur problem.
frandy
05-03-2006, 09:18 PM
Does anyone know of a way to make the Vbookie run off the rep points rather than vcash. Also im having a few problems with changing the permissions in the usergroups. Every time i change it for the admins everythin is "yes" then you click save and look back and they are all back to the default of "no" :S
anyhelp is appreciated
Underserial
05-03-2006, 11:17 PM
Does anyone know of a way to make the Vbookie run off the rep points rather than vcash. Also im having a few problems with changing the permissions in the usergroups. Every time i change it for the admins everythin is "yes" then you click save and look back and they are all back to the default of "no" :S
anyhelp is appreciated
thats my problem too!
thats my problem too!
Also my problem. Already solved above...my bad. Everyone just go to admincp/index.php?do=buildbitfields
frandy
05-04-2006, 04:36 PM
I managed to fix it....
in the functions_vbookie.php change the 8 instances of "vbookie_cash" to "reputation" upload the file again to replace the current then hide the Vbcash keep cash system as the Vcash, and it shud work with reputation.
Does for me!
also when editing usergroups and it goes back to "no" you needa switch off the vbookie in the "vbulletin options > vbookie settings" and then edit usergroups then switch back on and that should work.
Underserial
05-04-2006, 06:25 PM
I managed to fix it....
also when editing usergroups and it goes back to "no" you needa switch off the vbookie in the "vbulletin options > vbookie settings" and then edit usergroups then switch back on and that should work.
sorry doesnt work!
frandy
05-04-2006, 07:05 PM
just re-run the xml then....
Underserial
05-04-2006, 07:21 PM
just re-run the xml then....
what do you ment with re run im german sorry my english is not the best.
frandy
05-05-2006, 03:49 PM
Um, install the XML again and set over-right permitions to yes. Then try and edit the usergroups. If that doesnt work I got a feeling that something else has been done wrong. Im not an expert with this hack so im not 100% sure. But re-installing the xml should fix any errors
cmbehan
05-05-2006, 04:38 PM
I love this hack, and our users love it as well.
On our site, we have different usergroups, and when we rolled vbookie out I assigned different levels of points to the usergroups.
I made a php file with the following code with the intention of bumping people back up to their starting levels once a month.
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = (500) WHERE vbookie_cash < (500)');
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = (750) WHERE usergroupid=(x) AND vbookie_cash < (750)');
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = (1000) WHERE usergroupid=(y) AND vbookie_cash < (1000)');
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = (1250) WHERE usergroupid=(q) AND vbookie_cash < (1250)');
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = (1500) WHERE usergroupid=(z) AND vbookie_cash < (1500)');
It works well, and I made a cron job to run it, but we've decided to change our system to just give everyone an "allowance" of 500 vcash per month.
I know I've seen the SQL query to simply add (x) vcash to each user somewhere here, but I can't find it now.
Can anyone point me in the right direction?
Thanks!
VBUsers
05-07-2006, 09:34 AM
my vbookie stopped working now that we have moved out of ebux and into vbplaza. is there a fix for me to use my new vbplaza points with my vbookie? if so what do i do?
psybernaut
05-07-2006, 09:59 AM
It works well, and I made a cron job to run it, but we've decided to change our system to just give everyone an "allowance" of 500 vcash per month.
I know I've seen the SQL query to simply add (x) vcash to each user somewhere here, but I can't find it now.
Can anyone point me in the right direction?
Thanks!
I think something like this should work:
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = vbookie_cash + 500');
I haven't tried it, so I'd recommend you test it first before making a permanent change ;)
my vbookie stopped working now that we have moved out of ebux and into vbplaza. is there a fix for me to use my new vbplaza points with my vbookie? if so what do i do?
You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.
AM Guvnor
05-07-2006, 10:58 AM
Hi Guys
Installed and displaying fine etc etc however when I go to switch on the permissions to yes for all (i.e for me to be bookmaker) when I save it defaults to no everytime and will not save as 'yes'
Any ideas? Ahhhh! LOL
AM Guvnor
05-07-2006, 11:06 AM
Sorry bout that last post, read back and rebuilt bifields
What a cool addition this will be to the site. To the creator, thank you and you are a star :)
cmbehan
05-09-2006, 09:11 PM
I think something like this should work:
$rs = mysql_query('UPDATE vb_user SET vbookie_cash = vbookie_cash + 500');
I haven't tried it, so I'd recommend you test it first before making a permanent change ;)
You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.
PERFECT...that worked like a charm!
Thanks a ton and big props to the author also....vBookie is a ton of fun!
VBUsers
05-10-2006, 05:19 AM
You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.
where would those be? thanks for your help by the way
psybernaut
05-10-2006, 05:46 AM
where would those be? thanks for your help by the way
In the vbplaza zip file (not the vbookie download, the vbplaza one), there's a directory called 'vbookie integration'. That contains the hooks you need and a readme explaining how to install it.
Stubager
05-12-2006, 10:06 AM
Hey!
On my site I made a betting competition. Now I am going to made another competition and I want to reset everybodys point to default (500 on my site).
How do I do this?
cmbehan
05-12-2006, 12:35 PM
Hey!
On my site I made a betting competition. Now I am going to made another competition and I want to reset everybodys point to default (500 on my site).
How do I do this?
Run the SQL statement UPDATE vb_user SET vbookie_cash = (500)
That should set everyone back to 500.
Stubager
05-12-2006, 03:27 PM
Run the SQL statement UPDATE vb_user SET vbookie_cash = (500)
That should set everyone back to 500.
Okay, thanks. But I'm not very familar with doing SQL. How do I excactly do this? I use phpmyadmin.
cmbehan
05-12-2006, 03:31 PM
Okay, thanks. But I'm not very familar with doing SQL. How do I excactly do this? I use phpmyadmin.
-select your database
-select the SQL tab
-paste the code into the SQL statement box, press go.
rob30UK
05-15-2006, 02:25 PM
Has anyone noticed there is a bug with timezone when DST is in effect?
I have to set all my events to the time MINUS AN HOUR or it shows the wrong time...
Any idea for a fix for this? Preferabally one that will take DST into account?
Stubager
05-15-2006, 06:29 PM
-select your database
-select the SQL tab
-paste the code into the SQL statement box, press go.
Argh?!?!
Error
SQL-query :
UPDATE vb_user SET vbookie_cash = ( 500 )
MySQL said:
#1146 - Table 'fodboldforum_dk.vb_user' doesn't exist
cmbehan
05-15-2006, 06:31 PM
Argh?!?!
Error
SQL-query :
UPDATE vb_user SET vbookie_cash = ( 500 )
MySQL said:
#1146 - Table 'fodboldforum_dk.vb_user' doesn't exist
are you sure that "fodboldforum_dk" is your vBulletin database and not another database for your site?
Stubager
05-15-2006, 06:42 PM
are you sure that "fodboldforum_dk" is your vBulletin database and not another database for your site?
Fodboldforum_dk is my login name. After clicking vb_user and the SQL tab I pasted the code you wrote and clicked "Go". The error appears after this.
gtsch
05-15-2006, 10:42 PM
I have a problem, I set a usergroup that can do all the VBookie things, I save it, and it reverts to them not being able to do them.
I click yes in all the boxes, I save it, then when I check again they are all set to no again.
Anyone have any idea?
vBookie installed and everything setup permissions etc.
I can create a new thread and setup a new bet.
BUT when going into the thread there is no display for actually betting!?!?
In the install instructions there is only the info to add in the newthreads template... is there something missing? to display in a normal runing thread?
vitnuce
05-16-2006, 04:11 PM
I have a problem, I set a usergroup that can do all the VBookie things, I save it, and it reverts to them not being able to do them.
I click yes in all the boxes, I save it, then when I check again they are all set to no again.
Anyone have any idea?
Try to build the bit fields :)
admincp/index.php?do=buildbitfields
gtsch
05-16-2006, 07:30 PM
Try to build the bit fields :)
admincp/index.php?do=buildbitfieldsThanks, much appreciated.
Fatal error: Field vbookie_cash is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485
Getting this error in the ACP / User editor. :)
Ideas?
AM Guvnor
05-17-2006, 10:15 PM
Hey
I have installed this and it works great
However my Vcash when members hit 0 drops in line with another icon I have for usergroups. How do I prevent this from happening
See here on username Lady Chatterlys post her Vcash has hit Zero (she isnt so good at betting) and the supporters logo has now moved from below the Vcash sign to beside it. This happened as soon as it dropped from three figures...
http://www.alphamen.co.uk/forum/showthread.php?t=315
Any ideas all??
Rabbitoh Warren
05-18-2006, 03:30 AM
Try adding a <br /> in the postbit_legacy template right after where the vcash appears.
plateau
05-18-2006, 03:51 AM
if the vbookie can enable a Banker to start a bet, and this banker win or lose money from the bet.(just like the real world), that will be GREAT!
Watson
05-19-2006, 10:31 AM
Just a quick question (did search the thread)
How do I announce what the winner was on the events? and also, if I delete some of the options that are on it, will this still remove the people's cash from their vcash, cause the bet was placed?
I ask this because we are betting on big brother, and the odds will be changing alot, and we will be removing people from the betting as they are evicted (sad I know lol)
Watson
05-22-2006, 08:26 AM
How do I declare 2 winners, because we had bets on the football, and some of them were winners on the game, but also the Half Time Full Time scores were bet on too, so even tho it was only 1 winner, there was more than 1 bet that won
rob30UK
05-22-2006, 08:30 AM
cmwg, re-import the xml product.
sambah
05-22-2006, 04:18 PM
This installs correctly, but when trying to set admin permissions for it, it refuses to save them.
It says "saved successfully" and then reverts to "no" for all 3 permissions
Does anybody have any idea what the settings in vbookie_settings in the "user" table should be to set admin permissions up manually?
Watson
05-23-2006, 08:20 AM
It done that for me too sam, but then when I done it again, after setting the forum permissions, it seemed to be fine
Wayne2k1.com
05-26-2006, 07:00 AM
Installed, works perfectly.
Thanks, man!
Zowners
05-27-2006, 04:01 PM
This hack is pretty damn good :D
One question:
This hack works fine, but the members on my site are using "vcash" to bet with, not the "vbBux" points they already have accumulated on the site. When I change the "Cash/Points System" option to ebux, the whole betting system goes faulty.
So, is it possible to use the vbBux points to bet with? If it's not possible, could this be integrated into the next update?
Cheers
Foxsake
05-28-2006, 04:05 PM
once my bets are settled it does not show result in the table or which bet has won (Win!) any idea how i can fix this?:confused:
GafferSports
05-30-2006, 03:03 PM
Is there a way to modify a result if a user settled the bet incorrectly?
mdr666
06-03-2006, 04:11 AM
Just installed...works great. I'll have to see what my users think :nervous:
Thanks!
bluesoul
06-04-2006, 02:08 AM
Try to build the bit fields :)
admincp/index.php?do=buildbitfields
Thank you, solved my problem as well.
sully02
06-04-2006, 03:28 AM
I have to say, I would also be really interested in seeing other options added.
I love this hack to bits, but it is a bit stiff in what you can do regarding betting on stuff.
I'd love to see it so that the odds are dynamic and actually change depending on how many people bet on certain options.
Agreed. This in addition to point spreads would be a great option.
Also, the ability to set a maximum bet amount (Either by bet or global) would be a nice addition.
Footy
06-04-2006, 11:09 PM
Nice, it works good and correctly.
But now the season of bets is over and i wanne reset all the bets so that all users begins the new bet season with 500. Is it possible and a way to do this?
[email protected]
vbmenu_register("postmenu_1000049", true);
06-06-2006, 11:38 AM
im getting this error - anyone help ?
Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT item.item_id, item.item_title, item.threadid, grp.group_title, item.item_status, item.item_created, item.item_open_until, item.item_pay_after, item.item_n_bets_placed, item.item_amount_staked, item.item_allow_multiple_bets FROM vbookie_items AS item
LEFT JOIN vbookie_groups AS grp ON grp.group_id = item.group_id
WHERE item_id=4;
MySQL Error : Unknown column 'item.item_pay_after' in 'field list'
Error Number : 1054
Date : Tuesday, June 6th 2006 @ 01:34:46 PM
Script : http://www.**********.co.uk/forums/showthread.php?t=946
Referrer : http://www.**********.co.uk/forums/forumdisplay.php?f=73
IP Address : ********
Username :*********
Classname : vb_database
[email protected]
vbmenu_register("postmenu_1000050", true);
06-06-2006, 11:40 AM
Nice, it works good and correctly.
But now the season of bets is over and i wanne reset all the bets so that all users begins the new bet season with 500. Is it possible and a way to do this?
i think you can award any amount to users with 0 once you start a new bet - i think !!!!!
Zowners
06-07-2006, 07:29 AM
I have the vbPlaza & vbBux store/points system on my site, is it possible to use those points to bet with? If so how?
Cheers :P
[email protected]
vbmenu_register("postmenu_1000904", true);
06-07-2006, 11:15 AM
I Have installed and edited all the templates including the newthread edit, but im getting no post vbookie event
Any Ideas?
[email protected]
vbmenu_register("postmenu_1001059", true);
06-07-2006, 02:47 PM
bump anyone willing to help
AnhTuanCool
06-07-2006, 05:39 PM
bump anyone willing to help
Go into your Usergroup manager and set permission for your usergroup to be able to post vbookie event.
Porky
06-07-2006, 11:19 PM
are there gonna be a 3.6 version?
I have set all vbookie options to 'yes' for my 'members' group but they still can't bet. My members get this message
'You may not bet on this event. You have placed 0 bet(s) on this Event.'
Zowners
06-08-2006, 08:40 AM
Does anyone know where I can get the ucash plugin, so I can use ucash points?
Cheers
deepak7
06-09-2006, 02:05 PM
Hey
People reply to my vbookie threads but the forum shows "replies: 0"
how can I change this so the correct number of replies will show/
Cheers
deepak7
06-09-2006, 02:27 PM
Also...
How can I see if people bets more than starting vcash (500 in my case).
Someone managed to bet more (opened many windows and dont know exactly what he did)
vonedaddy
06-10-2006, 12:59 AM
I have installed this and everything went smoothly, except I can not set the permissions in the usergroups>usergroup manager. I set them and click save and it goes right back to the defaults which is no permissions. Anyone help please? Thanks in advance.
Also i am quite confused how to set forum permissions for this. Maybe I missed something on the install but the only vbookie options I have are in vbulletin options > vbookie settings. (4 options I think)
Also i do not have a betting forum in my forum permissions. :( Im confused to hell now!
Hi ive created a custom user group and i would like to give them vbookie access, but once i had created that user group there is no vbookie options under the usermanager? Olny the default usergroups get the vbookie options under the usergroup manager.
Can someone tell me how i can enable vbookie for a cutom user group, thanks in advance!
I have installed this and everything went smoothly, except I can not set the permissions in the usergroups>usergroup manager. I set them and click save and it goes right back to the defaults which is no permissions. Anyone help please? Thanks in advance.
Also i am quite confused how to set forum permissions for this. Maybe I missed something on the install but the only vbookie options I have are in vbulletin options > vbookie settings. (4 options I think)
Also i do not have a betting forum in my forum permissions. :( Im confused to hell now!
i have this exact same problem
AnhTuanCool
06-10-2006, 06:53 PM
Sometimes user's vcash get to some crazy @ss number
http://img80.imageshack.us/img80/9430/untitled12hw.jpg
Please show me the way to fix this.
tbroush
06-12-2006, 01:01 AM
I have installed this and everything went smoothly, except I can not set the permissions in the usergroups>usergroup manager. I set them and click save and it goes right back to the defaults which is no permissions. Anyone help please? Thanks in advance.
Also i am quite confused how to set forum permissions for this. Maybe I missed something on the install but the only vbookie options I have are in vbulletin options > vbookie settings. (4 options I think)
Also i do not have a betting forum in my forum permissions. Im confused to hell now!
See if this works below, just add admincp/index.php?do=buildbitfields
example below
Run from your address bar www.yoursite.com/forums/admincp/index.php?do=buildbitfields
dartho
06-12-2006, 11:40 AM
Here's the mod to make money bet on vbookie events go to the bookie, and to have any winnings paid out from the bookies money. If the bookie can't afford to pay the winnings, their cash is set to zero. If you're using vbbux, money will be taken from the bank if possible.
.
.
.
Nice mod psybernaut. I'd like something similar but much simpler, All I want is a running tally of how much money is in the "Bank".
PamelaE
06-12-2006, 06:21 PM
This is great btw. But one of my mods accidently clicked the USA won the footie match today , so all the stats and money are messed up.
Is there a way to correct this and redit the bet so it has Czech win instead of US ?
Rabbitoh Warren
06-13-2006, 03:43 AM
Is there a way to correct this and redit the bet so it has Czech win instead of US ?
No. You would have to fix everything manually. The Czechs won 3-0. Accident my arse. Your moderator is a dunce.
PamelaE
06-13-2006, 07:13 PM
Do you know how I manually change it to 'lost' ?
Very frustrating :D
nymyth
06-15-2006, 12:13 AM
everything seems to work fine, the thread gets created, the event is placed in the vbookie.php, however i cant find where to place a bet. Also it doesnt look like yours where, it says in the thread title "VBOOKIE EVENT".....what am i doing wrong here???
Peace
nymyth
06-15-2006, 01:33 AM
so yeah the usergroups i defined can see the option and even fill out the information, it submits fine.....when we go to vbookie.php, the new game to bet on is there....however the thread looks like a normal thread.....what am i doing wrong???
Peace
FIXED. For some reason had to re upload showthread.php and forumdisplay.php
plateau
06-16-2006, 04:46 AM
if i change the odds after setting a vbookie, is the new odd only for those bets after the change? the old bets will still be counted using the old odds?
thx!
psybernaut
06-16-2006, 05:10 AM
if i change the odds after setting a vbookie, is the new odd only for those bets after the change? the old bets will still be counted using the old odds?
thx!
Yep, old bets still get the old odds. People get the odds that were there when they placed a bet. So if you change the odds, new bets will get the new odds, but bets that have already been laid get the odds that they originally bet against.
tienkhom
06-16-2006, 09:13 AM
I have a question, who pays for the winner ? the thread owner or the system ?
mclark2112
06-16-2006, 01:17 PM
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=33178
THis still remains an issue, as it happened again. Has anyone every seen this?
Foxsake
06-16-2006, 03:09 PM
once my bets are settled it does not show result in the table or which bet has won (Win!) any idea how i can fix this?:confused:
Can anyone help on this please? - been struggling to find the solution but to no avail :confused:
nightflyer
06-17-2006, 09:52 PM
seems there are many having problems with this but can anyone tell me if this will work well with vb3.5.4 ?
Tulsa
06-17-2006, 10:41 PM
It's working fine for me.
Taco John
06-18-2006, 02:33 AM
Where can I find upgrade instructions for this hack? I'm using 1.0.5 build 6, and would like to get the latest hack up and running.
Thanks!
Foxsake
06-18-2006, 08:11 AM
Can anyone help on this please? - been struggling to find the solution but to no avail :confused:
OK - I have managed to fix the above fault myself! anyone who has this problem can pm me and i will tell them how to fix it:banana:
my only other question is - is there an easy way to see how much cash you have left? I can see it in the top right hand corner of posts i make, but cant seem to see it anywhere other than that?
mcyates
06-18-2006, 02:20 PM
when i bet 100 points on a vbookie event it takes 300 from me and only 100 goes onto the bet. Hmmm, weird, anyone else had this happen to them.
Wordplay
06-18-2006, 06:58 PM
are there gonna be a 3.6 version?
i'm sure there will be, hopefully soon.
patrickstar
06-19-2006, 06:20 PM
everything seemed to work fine on the install but when i clink on the vbookie link in the nav bar i get this error message:
Warning: main(/home/fitnessf/public_html/Forums/includes/functions_vbookie.php): failed to open stream: No such file or directory in /vbookie.php on line 74
Fatal error: main(): Failed opening required '/home/fitnessf/public_html/Forums/includes/functions_vbookie.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fitnessf/public_html/Forums/vbookie.php on line 74
i checked the file and its there and i even re-uploaded it and still the same error.
im not sure what is on line 74.
can anyone help. thanks.
devilrulez
06-20-2006, 04:50 PM
I Installed this mod today... but when i am giving permission to Administrator group for Bookie Event Creation it is not saving in user group manager :(
Rabbitoh Warren
06-20-2006, 05:06 PM
For the 1,234,678th time... rebuild the bitfields! See post #857.
nymyth
06-20-2006, 05:53 PM
^^cosign.....this is what you do:
Click Search this thread
type in usergroup permissions
and see the light....
Peace
Foxsake
06-21-2006, 04:05 PM
Does anyone know if its possible to show your vbookie cash next to your name in the area
Welcome ******* Vcash 500
You last visited Today at
Private messages
Anyone?
Rabbitoh Warren
06-21-2006, 05:11 PM
Easy – edit your navbar template. Grab the code from the change you made to whatever postbit template you use.
ubblite
06-22-2006, 05:10 AM
are there gonna be a 3.6 version?
I have tried this hack with vb3.6 beta3 but after checking:'Yes, post a vBookie Event with this thread' it ignores the event page completely and it just posts the thread as normal. So my answer is no, vBookie will not work with 3.6 UNLESS I am doing something wrong.
Edit: The strange thing is, even if you click on the post a vBookie Event and you preview your post, the box becomes un-checked. It's almost like the hack is ignored or could be a cookie but I've already cleared cache, cookies and such and that wasn't the problem.
ubblite
06-22-2006, 05:13 AM
For the 1,234,678th time... rebuild the bitfields! See post #857.
LOL... after searching for an answer to my problem (without success) I noticed that same question in this thread at least 20 times, no joke.
sportsoutlaw
06-23-2006, 02:32 PM
Is there any plans to upgrade this for 3.6?
Not rushing, as 3.6 is still in beta, but just curious as to whether it will be there for us.
Devil Woman
06-23-2006, 08:28 PM
OK I am having a problem I have installed it all edited the usergroup permissions and I am not able to see anywhere an option to post a new bet can anyone help me?
Thanks
plateau
06-25-2006, 01:23 AM
;) OK I am having a problem I have installed it all edited the usergroup permissions and I am not able to see anywhere an option to post a new bet can anyone help me?
Thanks
have u editted the permissions for each forum as well? u need to allow the vbookie for each of the forums.
patrickstar
06-25-2006, 02:30 AM
For the 1,234,678th time... rebuild the bitfields! See post #857.
i hate to ask, but where are these bitfields and how do i rebuild them. lol
i read post 857:Try to build the bit fields
admincp/index.php?do=buildbitfields
as well as just about every other post that say's rebuild the bitfields, but i simply don tknow how to rebuild the bitfields.
thanks for any help, anybody.
ubblite
06-25-2006, 03:05 AM
patrickstar,
access your URL in your browser to rebuild the bitfields.
Here's an example:
yoursitename.com/forums/admincp/index.php?do=buildbitfields
patrickstar
06-25-2006, 03:10 AM
patrickstar,
access your URL in your browser to rebuild the bitfields.
Here's an example:
yoursitename.com/forums/admincp/index.php?do=buildbitfields
OK now i know for later, but i actually was able to fix it by just disabling the xml product and re-enabling it. it let me set the permissions then.
thanks for the reply, man what a 2hr headache, lol. but it sure is nice once its running right.
ubblite
06-25-2006, 03:45 AM
Yeah patrick, it is a very nice hack indeed... now we just need an upgrade for vb3.6 and I'll be very happy!
patrickstar
06-25-2006, 09:16 PM
i dont recall anywhere in the thread if someone mentioned that the event maker can also bet on his own event, we dont want that right? or do we?
and also, i changed to max bet allowed. but was asked if the event maker had the option to set the max bet, not a universal max bet.
anyone know these questions i would appreciate any help.
Devil Woman
06-25-2006, 11:45 PM
;)
have u editted the permissions for each forum as well? u need to allow the vbookie for each of the forums.
Yes I have done all that, I have set a forum up specifically for the bookies and set all the permissions up in there, but still don't see an option to add a new event unless I am missing something, any help is appreciated
Thanks
patrickstar
06-25-2006, 11:52 PM
Yes I have done all that, I have set a forum up specifically for the bookies and set all the permissions up in there, but still don't see an option to add a new event unless I am missing something, any help is appreciated
Thanks
ok try this. go to manage products and disable the vbookie. then enable it.
then go to your usergroup permissions and set the three bookie options to yes for admin. now save. now go back and see if those three options were actually saved.
if they were, then go to the forum permissions and edit for the bookie forum. go to admin and edit. and set the three bookie options to yes and save. then go back and see if they actually did save.
if yes, thry starting a thread in your bookie forum, towards the bottom of the page you should have an option to create an event.
patrickstar
06-26-2006, 12:01 AM
I managed to fix it....
in the functions_vbookie.php change the 8 instances of "vbookie_cash" to "reputation" upload the file again to replace the current then hide the Vbcash keep cash system as the Vcash, and it shud work with reputation.
Does for me!
.
i only see 7 instances in the file. and can i just edit the file on my server?
thanks
plateau
06-26-2006, 04:52 AM
i only see 7 instances in the file. and can i just edit the file on my server?
thanks
i think so but having a backup would be better.
patrickstar
06-26-2006, 08:33 AM
i think so but having a backup would be better.
gotcha, good idea.
using the phrase manager i changed my reputation to karma, but i should still change vbookie_cash to reputation right?
because i changed vbookie_cash to reputation, and it displays the amount of vcash equal to the amount of karma i have but it did not deduct from the karma when i betted n an event.
is that the place you make changes for this to work with reputation?
Devil Woman
06-26-2006, 10:33 PM
Thanks for that, it worked :)
Nikki
sportsoutlaw
06-30-2006, 02:39 AM
Any word on whether this will get upgraded to work with 3.6 or is this hack finished?
Rat1972
06-30-2006, 03:09 AM
Any word on whether this will get upgraded to work with 3.6 or is this hack finished?
https://vborg.vbsupport.ru/showthread.php?t=119810&highlight=vbookie
sportsoutlaw
06-30-2006, 03:14 AM
Thanks for the update.
Pete C
07-04-2006, 05:55 PM
I've installed this together with vbPlaza/vBux and used the plug-in: plugin-vbookievbplaza.xml included by CMX_CMGSCCC.
I have asked for help in the vbPlaza forum: https://vborg.vbsupport.ru/showpost.php?p=1022153&postcount=3531 but since I'm not sure where the errors coming from, I thought it might be sensible draw attention to it here as well. Any clues on why this should be happening would be much appreciated - thanx :)
The Radio Cafe - It Sounds Tasty! (http://radio-cafe.com/index.php)
sportsoutlaw
07-04-2006, 06:08 PM
There is a post in this thread somewhere that explains your problem. You have to rebuild bit fields or something like that. Anyway, the information in the post will explain how to fix it.
Pete C
07-04-2006, 09:17 PM
Thanks for the reply sportsoutlaw. I've rebuilt the bitfields within vbPlaza and that seems to have done the trick :banana:
All working fine now.
The Radio Cafe - It Sounds Tasty! (http://radio-cafe.com/index.php)
The Ottoman
07-06-2006, 10:50 PM
Does anyone know what phrases I need to change so that I can rename "vbookie" to something else to match the theme of my site.
I don't intend on trying to claim this plugin as my own or anything of the sort, I'm just looking for a way to change it for example to go from a "vbookie event" or have the thread prefix start with "Vbookie:" to something completely different.
Stanesq
07-08-2006, 10:39 AM
I had someone on here do the install for me, as I am not that tech savvy.
I think, it to enter the events, I need to go to my website address calling this file:
http://www.XXXXXX.com/admincp/vbookie_admin.php
When i do this it brings me to the admin page. I enter my login details and it says welcome showing that I am signed in and then It looks to go to the admin page but instead I get the following error:
Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 3163
Anyone have any ideas? The person who installed it for me has not been answering my email, but he may just not have been on. I'd like to figure out what the problem is.
Thanks
Stan
Holidazed
07-10-2006, 03:40 PM
OK, I have a serious problem. I set the user permissions on any usergroup to all them to use this and it never saves. It continually sets it to "NO".
Help!!
Rat1972
07-10-2006, 04:15 PM
install vbookie again. (Don't uninstall)
- Install vbookie
- Install vbookie (set upgrade on yes) and the problem is solved
Holidazed
07-10-2006, 07:40 PM
OK, that seemed to have solved that problem. Thank you.
Question: How do you add an event? I goto the vBookie section of my site and do not see any option to add anything. I am admin and I set that usergroup to be able to do it all.
Do I add events only through posting of messages or can it be done through a seperate interface?
Rat1972
07-11-2006, 04:07 PM
OK, that seemed to have solved that problem. Thank you.
Question: How do you add an event? I goto the vBookie section of my site and do not see any option to add anything. I am admin and I set that usergroup to be able to do it all.
Do I add events only through posting of messages or can it be done through a seperate interface?
Did you put the code in your template files?
And to set a event you must give the forum/section the good premissions.
Go to your admin menu --> Forum and moderators ---> Change premissions for the forum you want to play vbookie. And give the good premission to all the usergroups on your forum.
Hope this will solve your problem
Best regards
Holidazed
07-11-2006, 05:21 PM
OK, it seems I can events through a post, but I see nothing at all in the individual forum properties that have anything to do with vBookie. I see plenty for vbPlaza and vBux but nothing at all for vBookie. Granted, I saw the options in the individual usergroups and have set them appropriately, but I would love to limit vBookie event to only one of my hundreds of forums.
Ideas?
Stanesq
07-12-2006, 08:59 PM
I think I got it, but try at your own risk.
Part 1
AdminCP --> Languages & Phrases --> Phrase Manager --> Add New Phrase
Product: vBookie
Varname: vbookie_max_bet_exceeded
Text: Whoops! Looks like you bet more than 100 bucks. Try again but make sure you bet no more than 100 bucks.
Part 2
In vbookie.php
Find this
if ($total_stake > vbookie_get_user_cash())
{
eval(standard_error(fetch_error('vbookie_not_enoug h_cash')));
}
After the above, add the following
if ($total_stake > 100)
{
eval(standard_error(fetch_error('vbookie_max_bet_e xceeded')));
}
Save vbookie.php
That should do it!
FOR SOME REASON, It cant find the phrase vbookie_max_bet_exceeded
any ideas why?
patrickstar
07-18-2006, 11:59 PM
if you are using vcash, does the members betting, bet against the house or bet against the event creator?
Paul M
07-21-2006, 08:45 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.
ubblite
07-22-2006, 12:54 AM
Thanks for the fix, Paul M.
Rat1972
07-22-2006, 08:43 AM
Thanks Paul!
When there will be a nobelprice for coders, it will goes to you ;)
Maxman1544
07-24-2006, 03:39 AM
I am on 3.6 Beta 4 and this didn't seem to work. Has anyone tried this? Should I upgrade to RC2?
Thanks.
ubblite
07-24-2006, 07:26 AM
I am on 3.6 Beta 4 and this didn't seem to work. Has anyone tried this? Should I upgrade to RC2?
Thanks.
I'm using it with 3.6.0 RC1 & it's working (with Paul M's fix).
theorigin
07-29-2006, 08:36 AM
I tried uploading the product-bookiehack_vbplaza.xml file, but it gave me an error of XML Error: Internal error at Line 41
Can someone help me out?
Taylor123
07-31-2006, 06:54 AM
I made a vbookie thread then deleted the thread before the vbookie thing
so now i have a test thing on the vbookie that i can't delete....i attached a screenshot to describe what i mean
is there anyway i can delete the "test" category....I have no clue how to
Maxman1544
08-04-2006, 02:41 AM
Just upgraded to 3.6.0 and still can't get this to work. Do I need to reinstall vbookie?
Shazz
08-04-2006, 03:00 AM
*On hold untill resolved..
________
fake weed (http://syntheticweed.org)
Maxman1544
08-04-2006, 04:04 AM
*On hold untill resolved..
Excellent. Once it is resolved it can be taken off hold. Makes perfect sense. :rolleyes:
hitmanuk2k
08-04-2006, 10:20 AM
I've seen this asked in the thread a million times but can't find a single answer.
How do you reset everyones cash to 500? Thanks.
Trevor Hannant
08-07-2006, 08:49 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 ;
Paul, thank you very much sir - much appreciated.
I just Installed this hack but when i go to set any Permissions to yes and then go back and look they all default back to no anyone know how i can fix this problem as id really like to use it but cant post any events
Thanks
ubblite
08-07-2006, 11:45 PM
I just Installed this hack but when i go to set any Permissions to yes and then go back and look they all default back to no anyone know how i can fix this problem as id really like to use it but cant post any events
Thanks
The fix is mentioned about 73 time in this thread... no joke.
Anyway, post #921 is the latest re-post regarding this fix.
vol_freak
08-09-2006, 12:44 AM
Paul, thank you very much sir - much appreciated.
Does this for sure work with 3.6?
Baudman
08-09-2006, 01:03 AM
Does this for sure work with 3.6?
no its on hold till the code is fixed.
matt_norris
08-09-2006, 04:01 PM
Hi
Installed vBookie no problem, even added the vCash balance to the postbit.
Now I can't get teh vCash balance to work in the Navbar underneath the Private Messages I want it to say vCash: balance
I tried adding this code:<if condition="$vboptions['vbookiecashon']">
<br />$vbphrase[vbookie_vcash]: $post[vbookie_cash]
</if>
It displays the vCash: but no value.....
Anyone out there that can help?
Matt
Carnageperform
08-10-2006, 02:49 AM
Hi guys, i have installed everything up until this part:
In Template navbar
FIND
--------------------------------------------------
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
--------------------------------------------------
BELOW that ADD
--------------------------------------------------
<td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td>
--------------------------------------------------
Cannot find it, can i ask for a bit of help, im a bit of a newbie, but i thought i was nearly there.
Cheers in advance.
Chris
Baudman
08-10-2006, 03:00 AM
Hi guys, i have installed everything up until this part:
In Template navbar
FIND
--------------------------------------------------
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
--------------------------------------------------
BELOW that ADD
--------------------------------------------------
<td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td>
--------------------------------------------------
Cannot find it, can i ask for a bit of help, im a bit of a newbie, but i thought i was nearly there.
Cheers in advance.
ChrisTake a look at your navbar code and see if you can find the codes for your buttons. Take a look at that code and edit the vbookie code to be the same. Or post you template so we can see the code better and help you.
easy wayi found to do things like that, that u cant find go to searh in templates and searh for [calendar] in the style u want to mod it will find the right template then and the bottom when the template comes up u will see the ky word that u put in hit find and u will see it the of vets know all about this but when i found this it helped me alot installing stuff
Carnageperform
08-10-2006, 03:37 AM
Ok, i found it, and uploaded as it says, but i get the following error:
PHP Fatal error: main(): Failed opening required 'D:\webspace\carnage\Inetpub\wwwroot\members\forum/includes/functions_vbookie.php' (include_path='.;c:\php4\pear') in D:\webspace\carnage\Inetpub\wwwroot\members\forum\ vbookie.php on line 74
The VBookie logo now comes up in the forum however. This error is received when clicking on the VBookie logo
Carnageperform
08-10-2006, 04:29 AM
This is our forum:
http://www.carnageperformance.com/members/forum/index.php
If you click on VBookie icon you will see the error occurring
ubblite
08-10-2006, 08:48 AM
This is our forum:
http://www.carnageperformance.com/members/forum/index.php
Since that is the link to your forumhome page, your vBookie link should be:
http://www.carnageperformance.com/members/forum/vbookie.php
Of course, you'll have to enter it that way in your navbar as well, but try the link I gave you first to make sure it's installed correctly.
edit: Regardless if you entered your Navbar code correctly or not, you should be able to get to vBookie by the link I gave you & now I discovered the error as you mentioned above. I'd re-upload all the vBookie files again with overwrite. After that re-install the XML with overwrite on. Any other edits you can try after, just see if you can get to your vBookie page first.
Carnageperform
08-10-2006, 10:15 AM
Ok thanks mate, i now have VBookie installed. Hooray!!!
However, i now cant seem to post VBookie events and my VCash hasnt appeared. Never ending story
cheech4487
08-10-2006, 08:06 PM
no its on hold till the code is fixed.
We use the vBookie so much I would have "skipped" the upgrade had I realised it wasn't compatible with the new version. :surprised:
Devil Woman
08-10-2006, 09:09 PM
Sorry if this has already been mentioned, my members enjoyed this hack and since I have upgraded to 3.6.0 I have lost it, I was wondering am I able to use this version on 3.6.0 if not will it be upgraded for 3.6.0
Thanks
Maxman1544
08-11-2006, 02:52 AM
Sorry if this has already been mentioned, my members enjoyed this hack and since I have upgraded to 3.6.0 I have lost it, I was wondering am I able to use this version on 3.6.0 if not will it be upgraded for 3.6.0
Thanks
I have been vbookieless for awhile now (I upgraded during the beta days). My members are missing vbookie but I can't get it to work.
sportsoutlaw
08-11-2006, 10:50 PM
Sorry if this has already been mentioned, my members enjoyed this hack and since I have upgraded to 3.6.0 I have lost it, I was wondering am I able to use this version on 3.6.0 if not will it be upgraded for 3.6.0
Thanks
It definately does not work, and there has been no word, one way or another as to whether it will be upgraded to 3.6.0 or not.
Paul M
08-11-2006, 11:06 PM
It always helps to read back a bit - the problem & fix for posting events in vb 3.6 is on the previous page. :)
https://vborg.vbsupport.ru/showthread.php?p=1035092#post1035092
I've added a pointer to it in the main post now as well.
Carnageperform
08-11-2006, 11:14 PM
Guys, can i trouble someone for some assistance?
I have installed VBookie, but i cant seem to post an event and the VCash is not viewable either??
sportsoutlaw
08-12-2006, 12:53 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.
Many thanks Paul! This worked like a charm in 3.6 Gold. I wish I knew how to figure these things out, this has been killing me since the day 3.6 beta 1 was released. :)
your rock!
Bounce
08-12-2006, 08:23 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.
Thanks mate :)
Back working on vb 3.6.0 whoooooo :laugh:
Eagle Creek
08-12-2006, 09:45 PM
Hi!
3.6 compatible I understand?
cheech4487
08-12-2006, 10:00 PM
Hi!
3.6 compatible I understand?
Yes!
Devadam
08-13-2006, 11:15 AM
while opening a new topic, when i chose Yes, post a vBookie Event with this thread there has to be a bookie on the monitor but there is not.
version 3.5.6
wilburshere
08-13-2006, 11:22 AM
got it working on 3.6 only took all afternoon to work it out
thank christ thats over my members live for it
henners
08-13-2006, 04:57 PM
Cheers for the fix for 3.6....working great :D
daticus
08-13-2006, 07:00 PM
I know this sounds really easy but how do I set it so people can bet? I'm the admin and i can't even place bets (even though I can edit them).
I set "Can place Bets" to "Yes" in the Forum Permission and "Usergroup Permission;" yet I still can't place bets as the admin or a regular user.
Baudman
08-13-2006, 10:28 PM
I know this sounds really easy but how do I set it so people can bet? I'm the admin and i can't even place bets (even though I can edit them).
I set "Can place Bets" to "Yes" in the Forum Permission and "Usergroup Permission;" yet I still can't place bets as the admin or a regular user.
I'm having the same problem after changing the code to make it work for 3.6.0
Oddjob
08-14-2006, 01:22 AM
Cant get this working with vbbux because it only allows "ebux" (the former name of vbbux)..........
daticus
08-14-2006, 01:40 AM
Cant get this working with vbbux because it only allows "ebux" (the former name of vbbux)..........
go to the functions_vbookie.php file, open it and edit all the SQL queries that say
case 'ebux':
$q = "SELECT username, ebux AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 5";
break;
replace the "ebux" part with "vbbux" like this:
case 'ebux':
$q = "SELECT username, vbbux AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 5";
break;
There's like 4 to 6 entries like that, don't replace "case 'ebux'" though, leave that alone.
But, i can't get it to work 100%, since it won't let anyone place a bet, even after you set your usergroup to be able to bet.
Also, don't expect much help around here, people only want $$$ for support (its a damn shame). I presonally think jelsoft should ban anyone wanting payment for support.
Oddjob
08-14-2006, 01:41 AM
go to the functions_vbookie.php file, open it and edit all the SQL queries that say
case 'ebux':
$q = "SELECT username, ebux AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 5";
break;
replace the "ebux" part with "vbbux" like this:
case 'ebux':
$q = "SELECT username, vbbux AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 5";
break;
There's like 4 to 6 entries like that, don't replace "case 'ebux'" though, leave that alone.
Cool, thanks for the quick response. I try it tommorrow, too tired for that right now.
movielist
08-15-2006, 08:30 AM
FYI:
After making the vBookie & 3.6 by Paul M changes above, things seem to be working.
New vbookie event was placed and is accepting bets (from vbBux).
Haven't tried cashing out yet though.
dxguru
08-15-2006, 08:47 AM
Do we also need to change $vbulletin->userinfo['ebux']; to $vbulletin->userinfo['vbbux']; (in several places) ?
dxguru
08-15-2006, 09:06 AM
Even better ... the code should be changed to userinfo[$vbulletin->options['vbbux_pointsfield']] instead of hardcoding the word 'vbbux'
movielist
08-15-2006, 09:11 AM
I didn't have to make that change.
I had vbookie installed and working before upgrading to vb 3.6... not sure if that's a factor or not.
And I just cashed out my test thread and it worked fine.
matt_norris
08-15-2006, 09:25 AM
Does anyone know if a leaderboard addon was ever done for vBookie? I want to display the top ten winners on our forum and also display users vCash balance under their Private Mesages stats when they are logged in.
Anyone know if this has ever been done?
pdcimc1
08-18-2006, 06:26 PM
I am having some trouble with my vBookie. I use the bookie for my members to bet on actual horse races. Sometimes horses get scratched from the race and they dont run. Is there anyway that I can refund the members who bet on the scratched horse? I tried going in and changing the odds to 1/1 and then settling the event, but it still paid out at the original odds. Any reason why this doesnt work?
wrestlingaudio
08-19-2006, 03:56 AM
I just installed the mod. It installed ok but when I try to edit the following options in my usergroup admin page, the updates do not save.
Can Post vBookie Events (default is "NO" for all usergroups)
Can Edit other people's vBookie Events (default is "NO" for all usergroups)
Can Bet on vBookie Events (default is "NO" for all usergroups)
Because the options are defaulted as "NO" and I can not seem to change this, the whole mod is useless.
The other admin menu works ok, though.
Any Ideas?
ubblite
08-19-2006, 04:05 AM
@wrestlinguadio
the solution is posted many times throughout this thread.
Eagle Creek
08-19-2006, 04:38 AM
@wrestlinguadio
the solution is posted many times throughout this thread.
You do know this thread had almost 1000 posts, do you :p.
wrestlingaudio
08-19-2006, 03:59 PM
@wrestlinguadio
the solution is posted many times throughout this thread.
What is the number(s) of the reply that has the answer? If you inform me where it's at, I will be glad to check it out. Thank you for your help.
spurstalk
08-19-2006, 11:06 PM
I have had vBookie installed for a while now and it works really well. Now I want to "start over". In other words, I want to award a vBookie champion and have all the users' vBookie totals go back to the original $500 and start again.
Does anyone know how to do that?
Thanks in advance.
Shazz
08-19-2006, 11:10 PM
Reset the vBookie in admin CP
________
hotels in mexico city (http://mexicocityhotel.info)
Eagle Creek
08-19-2006, 11:59 PM
#1000 post
Are there any know problems with 3.6?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.