![]() |
Excellent stuff, thanks!
Quote:
Cheers, ~Regs. |
Quote:
PHP Code:
|
Quote:
|
Quote:
i set up an event and the user i was on had like $3.50... i could only bet 1, 2, or 3 is this how its supposed to be? |
Quote:
|
Quote:
I will help immotive answer some questions since he is too busy and cant check here too often. Yes, the global $DB_site, $vboptions, $vbookiesettings; is there under the vbookie_do_charity() function . May i know where can i find out the utt store settings ? There are too many instances of uttpoints_pointtable and uttpoints_pointsfield in 'includes/functions_vbookie.php' . |
Quote:
For example, mine say 'user' and 'uttpoints'. If they are correctly set, are you sure that your uTT Store hack is correctly installed? Is it working as expected in other instances? |
Thanks for your hint, i made some mistake in my global.php
Quote:
|
Another question - Is the tax a compulsary amount to have ? Cause i had noticed that quite a few items, by default come with a tax amount. Is it okay if we get rid of all the taxes ?
Thanks |
you must be insane... how shall i translate that? dozens of templates, many phrases and some english text left in the file :(
|
Quote:
Shall i rephrase as "is it possible to use a 0 value inside the AdminCP Action Manager" ? |
ops sorry, i forgot a ':D' after the '...' :(
installed, translated and running, thank you :) |
Quote:
|
Quote:
|
Can someone please tell me where/how I can hard code the userid of those I want to allow to post events? I don't want to risk the complications of setting up new usergroups, as some of those I want to post events are mods, some registered, etc etc. I don't expect this to be added to the hack, btu the knowledge would be useful to some. :)
|
Quote:
There'll be a section like this: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Then, in vbookie.php, find the section that starts: PHP Code:
PHP Code:
PHP Code:
PHP Code:
I think that'd be enough, but it's just from my head and not tested in any way. |
I keep getting the error
Parse error: parse error in /usr/local/psa/home/vhosts/forestforum.co.uk/httpdocs/forum/includes/init.php on line 516 Parsing functions.php Time before: 1087071117.6956 Time after: 1087071117.7328 Time taken: 0.037165880203247 -------------------------------------------------------------------------------- Processing sessions.php Time before: 1087071117.7334 which relates to this section Code:
'stylecache', |
I think the problem is this line:
PHP Code:
PHP Code:
|
excellent that sorted it - no idea how i missed that! :o
excellent hack by the way i'm sure it will become an essential part of my forum. (clicked install) |
I need this hack!! I attempted it, but i messed up on msot of the file eidts,
Is anyone interested doing the file edits for me? Just the include ones? I'll pay |
Oops.. Didn't expect to get this..
Quote:
|
Quote:
|
Quote:
|
Is there a chance to allow commas? The odds for France beating England are 1.90 to 1 but vbookie changes that to 2 :(
|
Quote:
|
Quote:
|
hey cool, i'll do so. thank you :)
|
tjdrico does the back work like when people place a bet the money is subtracted from them first, then later when the event is settled, the money is kept or the odds will be paid out ?
also, if i create the events, will the money be deducted from me or the system ? |
Quote:
Thanks for your reply anyway. :) |
Quote:
When the bet is settled, if I lost I get nothing back. If I won, I get my winnings, plus the stake returned as well. All bets are settled using an infinate supply of system points/money. I did think about making it so that there was a "system pot" or the administrator/event owner being liable, but it didn't seem to be as much fun as people would have to concentrate too hard on a) their odds and b) limiting the number of bets they accepted so all wins could be covered. |
absolutely Fantastic hack great work
i would make a suggestion tho adding events to threads that don't already have them like the add poll button on the forum drop down :) |
Quote:
|
i hope the updates easy to install hehe :p
|
hi tjdrico,
i think your betting system is great! i have a some features for the next version that i would like to suggest: 1. admin able to assign credits to individual members. (i.e. members with higher donations to forum can get higher starting vCash, it also allows players who are bankrupt to come back into the game with a new donation.) 2. members are able to set up separate wagers with fellow members, subjected to credit limit bought/assigned by admin. win or loss are deducted from one another. 3. when members bet with one another (i.e. this allows members to side bet with each other, and to deduct directly from current top winners.), a portion of the proceeds goes to the admin. 4. members have varied credit limits when betting, limit to be set by admin. 5. admin able to set a limit to the total bets received. 6. admin to have a panel that lists the full details of all bets as well as summarized reports. 7. admin to be able to stop accepting bets in realtime, in order to adjust odds. 8. admin to be able to set formula for calculation of odds for automatic tabulation. 9. members able to have a results panel to list their current bets, past bets and total profit/loss. i feel that with these features, it makes for a more realistic betting system and it allows an avenue for forums to start its subscriptions for members. in turn, forums can work with businesses to sponsor prizes for the person who finally makes the most vCash at the end of the events/season. is this possible? or is it too hard to be realised? |
Hi Alan, I've read your post and will respond properly later when I've a bit more time. Most, if not all of the things are fairly straight forward. Really it comes down to whether I can be bothered. ;) I'll give a better reply later.
|
Quote:
However, there is already a mechanism for players to "get back into the game" - there's a "charity mode" whereby anyone on less than 25 credits gets set to 25 when a new event is added. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
I can't add events but at the top of the vbookie settings I see this error:
Warning: Invalid argument supplied for foreach() in .../includes/functions.php on line 2871 I didn't even edit line 2871. Any ideas? |
You may not have edited line 2871, but it may still tell you where the problem lies as you'll be able to see what the invalid argument is. Line 2871 of my functions.php is
PHP Code:
PHP Code:
|
Excellent hack, but im having one problem that I can figure.
Im useing the Petz money system, and everyone can place bets o.k. (and its deducted from there money) but when it comes to payout it dosent give anyone there winnings, but does seem to give it to me (defaulting to userid 1 which is my id?) any ideas? |
Quote:
You can correct it very simply yourself: Find: PHP Code:
PHP Code:
|
All times are GMT. The time now is 05:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|