vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBookie for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94128)

bashy 12-14-2005 12:05 PM

Hi

I am running loads of mods and this 1 with 3.5.2 and all is working really well :)

Bashy

foxy11 12-14-2005 12:08 PM

Quote:

Originally Posted by bashy
Hi

I am running loads of mods and this 1 with 3.5.2 and all is working really well :)

Bashy

nice 1, cheers :)

MissKalunji 12-14-2005 10:54 PM

does this still work with ucash?

Lyricsmama 12-15-2005 12:29 AM

Quote:

Originally Posted by MissKalunji
does this still work with ucash?

Does for me.

MissKalunji 12-15-2005 01:42 AM

Quote:

Originally Posted by Lyricsmama
Does for me.


great thanks :) can i see urs plz?

EasyTarget 12-15-2005 03:35 PM

do any of you guys know how to reset everyone's money without doing it individually?

zachlee 12-15-2005 05:07 PM

is anyone using a rewards system that actually works? I tried uCash which caused more problems and headaches.

MissKalunji 12-16-2005 06:10 AM

Flawless installation dont quite understand the odds but i love the hack

/me clicks install

BiReL41r 12-18-2005 11:56 AM

I love this hack and have it installed but don't you think it's kind of pointless with no uStore, cause what would you do with the uCash if there's no uStore?

bashy 12-18-2005 12:43 PM

Place more bets?

Quote:

Originally Posted by BiReL41r
I love this hack and have it installed but don't you think it's kind of pointless with no uStore, cause what would you do with the uCash if there's no uStore?


Rabbitoh Warren 12-18-2005 12:49 PM

Quote:

Originally Posted by BiReL41r
I love this hack and have it installed but don't you think it's kind of pointless with no uStore

And that is vBookie's problem how you drongo? vBookie is an awesome extension that adds another dimension to any forum it's installed on. My members love it. No uStore? This is the wrong thread to be whinging on about that.

mariohn 12-18-2005 04:01 PM

I need help i have installed this great hack and put the code in the templates but when i go to change the user permissions to allow admins to place bets i see the options and i change them to yes and it says thats they have been successfully changed but i go back and check on the permissions and they are all back to no. Can somebody please help me?

jaymer 12-18-2005 07:05 PM

Thanks ,
gonna try this one out

EasyTarget 12-18-2005 08:17 PM

mariohn, I think you just have to rebuild the bitfields.

49er 12-18-2005 10:41 PM

Quote:

Originally Posted by mariohn
I need help i have installed this great hack and put the code in the templates but when i go to change the user permissions to allow admins to place bets i see the options and i change them to yes and it says thats they have been successfully changed but i go back and check on the permissions and they are all back to no. Can somebody please help me?

If you go back a few pages the answer is there.

Quote:

Originally Posted by teepeg
I have the same problem as CAL i think? i select Administrators group, set all the Permissions to Yes, update the page but it all reverts back to No The same happens when i try to update the Registered Users also?
If it has to do with what you say here "admincp/index.php?do=buildbitfields" could you please be a little more specific as to what i need to do.
Thx

Quote:

Originally Posted by zachlee


bashy 12-20-2005 03:56 PM

hi

try .. http ://your http here/forums/admincp/index.php?do=buildbitfields
no space^ there
Bashy

mariohn 12-20-2005 11:58 PM

thanks all who replied i got it working

sickstrings 12-21-2005 04:57 AM

Quote:

Originally Posted by Acido
If Help, the code to limit max amount for bets is in this post:
https://vborg.vbsupport.ru/showpost....&postcount=389

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
PHP Code:

    if ($total_stake vbookie_get_user_cash())
    {
        eval(
standard_error(fetch_error('vbookie_not_enough_cash')));
    } 

After the above, add the following
PHP Code:

    if ($total_stake 100)
    {
        eval(
standard_error(fetch_error('vbookie_max_bet_exceeded')));
    } 

Save vbookie.php

That should do it!

jklimczak 12-21-2005 02:53 PM

I do not get the Opstion to add a New Bet

jklimczak 12-21-2005 03:06 PM

Do's not give me the Option to Add new thing to bet on when i click on new thred

jklimczak 12-21-2005 03:11 PM

I found out my vBookie Event Permissions will not stay any help on this my ver is 3.5.2

goblues 12-21-2005 06:47 PM

Quote:

Originally Posted by RetroDreams
Has anyone made a vbAdvanced module for this yet?

Here is a very simple VbA module for 2.0 if noone has made one yet.

xjussix 12-23-2005 06:05 AM

Quote:

Originally Posted by jklimczak
I found out my vBookie Event Permissions will not stay any help on this my ver is 3.5.2

Same here, I'm using 3.5.2 too.

Andreas 12-23-2005 08:09 PM

Install it correctly and the permissions will work.

harry1951 12-25-2005 02:22 PM

Quote:

Originally Posted by jklimczak
I found out my vBookie Event Permissions will not stay any help on this my ver is 3.5.2

I had the same problem. Solution: Go through your forumpermissions, adjust the settings there and save. Did worked for me :squareeyed:

Acido 12-28-2005 10:01 AM

contribution:

for those who wish to limit the maxi bet amount per item:

in vbookie.php search for:

PHP Code:

 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");
}


And change it for this code:

PHP Code:

 foreach ($vbulletin->GPC['option'] AS $option_id => $stake)
{
if (
$stake 0)
{
if (
$stake 10000)
{
$stake 10000;
}
$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");
}


Where you can change 10000 for desired value for max bet amount :)

chairman miaow 12-28-2005 11:39 AM

Nice one - cheers Acido !

Trevor Hannant 12-29-2005 08:17 PM

Has anyone looked at a reputation system hack/mod to go alongside this? People who get over a certain vCash amount could be upgraded to another group?

We're planning on having a few 'betting managers' who can start vBookie threads while certain usergroups will be able to actually bet. Should they excel themselves on their bets then I'd like them to automatically be upgraded to the manager group.

subnet_rx 12-30-2005 03:37 AM

Does anyone know how to reverse bets once settled? My "bookies" sometimes check the wrong outcome and all I have are a lot of mad members.

Lionsault 12-30-2005 03:46 AM

Question: When I go to set Usergroup settings, I switch certain things to yes, however when I reenter the usergroup editor, it automatically has reset back to no. Because of this no one can make threads, etc. How can I fix this?

da prez 12-30-2005 04:02 AM

Quote:

Originally Posted by Lionsault
Question: When I go to set Usergroup settings, I switch certain things to yes, however when I reenter the usergroup editor, it automatically has reset back to no. Because of this no one can make threads, etc. How can I fix this?

you have to rebuild your bitfields.
Code:

http://www.path.to.your.forums/admincp/index.php?do=buildbitfields

da prez 12-30-2005 04:05 AM

Quote:

Originally Posted by subnet_rx
Does anyone know how to reverse bets once settled? My "bookies" sometimes check the wrong outcome and all I have are a lot of mad members.

the only way i know is go into mysql DB and just adjust the vbookie_cash

msu2k 12-31-2005 03:01 AM

It takes a LONG time for my Settled events page to load. Is there anything I can do to speed that up? Setting one of the database items as an index?

Open events and Closed events don't take as long but aren't exactly speedy either.

Acido 12-31-2005 08:55 AM

Quote:

Originally Posted by msu2k
It takes a LONG time for my Settled events page to load. Is there anything I can do to speed that up? Setting one of the database items as an index?

Open events and Closed events don't take as long but aren't exactly speedy either.


I have the same problem. This didn't happen me in the version for 3.0
It should be some small bug in the ported code.
Andreas, can you take a look?

Trevor Hannant 12-31-2005 04:04 PM

Now installed on live board! :banana:

Trevor Hannant 12-31-2005 05:12 PM

I've got this running on a private members board only. At present, I've got a conditional in there that lets only the Admins and those members see the vCash amount in the postbit but I can't seem to restrict that so that they only appear in the private board.

This is what I have at the moment:

Code:

<if condition="is_member_of($bbuserinfo, 6,8)">
        <if condition="$vboptions['vbookiecashon']">
        <br />vCash: $post[vbookie_cash]
        </if>
</if>

What do I need to add to restrict that to a particular forum?

Wordplay 01-01-2006 04:28 PM

i need some new bookie events for my site, anybody got some ideas? can i see some of your bookie events?

bashy 01-01-2006 04:33 PM

Theres Arsenal v Man U on tuesday at 8pm :)

I have his 1 only atm :)

Bashy

da prez 01-01-2006 05:58 PM

i got the rose bowl

Injektilo 01-04-2006 06:35 AM

i am using vb3.5.2 and when i change permissions to yes, when it refresh its all to no again... any ideas?


All times are GMT. The time now is 04:28 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
  • Page Generation 0.02292 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete