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)

nymyth 06-01-2007 05:08 PM

I have this working great except, the dates of when u can place a bet and settle the best on the thread itself is messed up....any ideas why?

Peace

discussionabout 06-04-2007 04:27 AM

Quote:

Originally Posted by Paul M (Post 1035092)
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 ;

PHP Code:

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'truefalse));


Note: I'm not actually using vbookie atm so I can't comment on any other problems.

from where I can edit this.

kylek 06-04-2007 06:30 AM

Quote:

Originally Posted by discussionabout (Post 1260794)
from where I can edit this.

Go to your vbadmincp > plugins & products > plugin manager and look for the vbookie section. On mine it was the 6th one down. Look for "Redirect to vbookie.php when posting new Event", click on edit and replace the code there with the new code.

browie 06-04-2007 07:02 PM

Quote:

Originally Posted by nasko (Post 1257038)
Is there a way that I can adjust the decimal odds? The problem is that they come up automatically but are not correct, for instance, if I have a fractional odd 1/7, the decimal odd comes to 0,14 which is not how it works in the football betting, it should be 0,14 plus 1.
Can anyone help pls?

It is 1.14 it just doesn't show it. If you bet and win you get your money back plus your winnings.

newtonbm 06-05-2007 07:39 AM

Quote:

Originally Posted by Andreas (Post 756832)
ACP / Forums & Moderators / Forum Permissions
Select the Forum and Usergroup, uncheck "Can post vBookie Events"


I don't see that option, "Can post vBookie Events". I am using vBulletin 3.5.x.

Any help would be appreciated sir.

newtonbm 06-05-2007 07:40 AM

When I click on the vBookie link to post an event, I get to the vbookie.php url but it is a blank page. Any ideas on what I have done wrong or where to start?

Thanks.

newtonbm 06-05-2007 08:02 AM

Quote:

Originally Posted by newtonbm (Post 1261622)
When I click on the vBookie link to post an event, I get to the vbookie.php url but it is a blank page. Any ideas on what I have done wrong or where to start?

Thanks.

Looks like files didn't upload to server correctly. Working now it looks like. When completed I will add myself as another successful instal. I like this concept, great work.

newtonbm 06-05-2007 08:43 AM

When I select in a user group that they DO have permissions to bte, and I save it when I am logged intot he admincp... It doesn't save the setting. Is this a permissions issue or what?

Attached is the screen shot.

Thanks.

x YNWA x 06-07-2007 02:36 AM

Quote:

Originally Posted by newtonbm (Post 1261641)
When I select in a user group that they DO have permissions to bte, and I save it when I am logged intot he admincp... It doesn't save the setting. Is this a permissions issue or what?

Attached is the screen shot.

Thanks.

im having the exact same problem all of my permissions for vbookie do not save!!! please help :)

Bacon Butty 06-07-2007 09:37 AM

Lads is there any chance a member could be selected as "the bookie". Think that would be a really good add-on.

DS MrSinister 06-07-2007 09:12 PM

x YNWA x and newtonbm

Rebuild Bitfields

Bacon Butty

Just make a new usergroup and place that person in that group. lol

Coleccromos 06-07-2007 09:36 PM

I use this system of bets for my forum and I would like to be able to add to the soccer bets the shields of the different teams

Does somebody have some idea of as putting this or that it is necessary to modify for such an effect?

dunglantq 06-08-2007 04:42 AM

Did anyone use this mod through reputation system ?? Help me pls. !

x YNWA x 06-08-2007 10:06 PM

it still dosnt work any ideas?

dukegotgame 06-14-2007 01:01 AM

how can i make each persons vcash be displayed when they post by their post count, user name, etc?

pictureboarduk 06-15-2007 10:56 AM

I need some advice,

When I make a new thread and tick the box to make it a vBookie event, it never goes to the vBookie page, it just posts the thread like a normal thread.

I'm really stuck with is.

Can anyone help me at all?

Many thanks.

WEBDosser 06-15-2007 11:29 AM

Quote:

Originally Posted by pictureboarduk (Post 1268957)
I need some advice,

When I make a new thread and tick the box to make it a vBookie event, it never goes to the vBookie page, it just posts the thread like a normal thread.

I'm really stuck with is.

Can anyone help me at all?

Many thanks.

have you rebuilt the bitfields?.

pictureboarduk 06-15-2007 11:39 AM

Thanks WEBDosser, I hadn't done the plug in code change posted by Paul M

Really happy it was nothing more serious, I need this sorted today.

Thanks for you help!!

SBlueman 06-16-2007 08:51 AM

Question....

Is there any way to edit a result after it's been settled? A bookie on my site settled a event with the wrong result (honest mistake) and I am not sure as to how that can be fixed.

Vidic 15 06-16-2007 01:51 PM

i need some help

i have all the files installed for vbokie but the bit where you tick on the bottom where it said do you want to post a vbookie thread its not showing up.

did i do any of the files wrong or is there something i have to do.

dukegotgame 06-21-2007 07:47 AM

Quote:

Originally Posted by dukegotgame (Post 1268094)
how can i make each persons vcash be displayed when they post by their post count, user name, etc?

any help?

MikeHussey 06-27-2007 03:48 AM

Problems.

Have installed it all as instructed by the readme files.

Also rebuilt my bitfields and changed the plug-in stuff as was instructed for 3.6.x forums.

However, on the nav bar when you try to get into vbookie it comes up as an ERROR and also its not appearing in the "additional options" of posts.

Anyone have anything I could do to make it work?

boxingscene 07-05-2007 10:01 PM

For some reason, my vbookie.php page no longer loads. The script itself works, but the page never comes up. Times out under IE.

Kamran 07-08-2007 12:06 AM

I installed this on my 3.6.7 PL1 forum and everything seemed fine. However I've had two instances where it seems some of the outcomes in the thread have changed positions. Here are two quotes from my moderators:
Quote:

(1) There seems to be a problem with the Wimbledon thread. I had made the first three options:

Roger Federer (2/1)
Rafael Nadal (5/1)
Andy Rod++++ (10/1)

However, I've just checked the thread again, and for some strange reason it's now in the order:

Rafael Nadal (5/1)
Andy Rod++++ (10/1)
Roger Federer (2/1)

This seems to have messed up the betting, each player has had different odds at varying times. Which obviously isn't right. And my earlier bet on Federer is now showing up as a bet on Nadal.

(2) Has anyone else had any problems with the bet you placed changing? I know for sure I put my money on Silva instead of Marquardt, but now it obviously says otherwise. I looked what other people were betting on several times, and from that, it seemed to change by itself sometime last night.

I found the following from way back in the thread:

Quote:

Originally Posted by mclark2112 (Post 942695)
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/foru...ad.php?t=33178

Did you manage to have any luck with fixing it, or has anyone else experienced this?

Any help/advice would be appreciated.

Thanks.

thesportszone 07-09-2007 11:25 AM

Hey everyone I am kind of new to this hack because well I did not install it on my board the ex-owner installed it and I am not sure how it was done. I have everything set up correctly setting the events work correctly but I can not figure out how to use it with my current vplaza money? Can someone help me with this?

pgowder 07-13-2007 01:51 AM

Just installed the hack. And on new threads, I can't make an event. I rebuilt the bitfields. But when I add an thread it doesn't go to the page to set the odds.

Help!

jeremyalyea 07-15-2007 04:11 AM

Quote:

Originally Posted by pgowder (Post 1289638)
Just installed the hack. And on new threads, I can't make an event. I rebuilt the bitfields. But when I add an thread it doesn't go to the page to set the odds.


Help!

Are you running on 3.6.x? If so, did you change the hook as mentioned in the description of this thread? If not, that should do it.

pgowder 07-15-2007 12:00 PM

Quote:

Originally Posted by jeremyalyea (Post 1291576)
Are you running on 3.6.x? If so, did you change the hook as mentioned in the description of this thread? If not, that should do it.

I did find that hook fix, thanks!

pgowder 07-15-2007 12:01 PM

How can I list vCash in the members list?

Bacon Butty 07-16-2007 08:55 PM

I reset everyones vCash back to 500 (by executing query in admin cp) but now everyone seems to have infinite vCash? its not being deducted when they place bets.

Can anyone help?

pgowder 07-16-2007 10:15 PM

Quote:

Originally Posted by pgowder (Post 1291733)
How can I list vCash in the members list?

Anyone have a suggestion for this?

bobster65 07-16-2007 10:28 PM

Quote:

Originally Posted by pgowder (Post 1293183)
Anyone have a suggestion for this?

Should be as simple as a template edit, just like getting it to show up in the Post Bit. If I get bored tonight, I'll take a look into it ..

pgowder 07-16-2007 11:43 PM

Quote:

Originally Posted by bobster65 (Post 1293191)
Should be as simple as a template edit, just like getting it to show up in the Post Bit. If I get bored tonight, I'll take a look into it ..

Thanks, or even a page that show the top 20 members.

bobster65 07-17-2007 01:22 AM

Quote:

Originally Posted by pgowder (Post 1291733)
How can I list vCash in the members list?

This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...

Step 1: Edit memberlist.php

PHP Code:

================================
File Editmemberlist.php
================================
FIND:
--------------------------------
        case 
'posts':
            
$sqlsort 'user.posts';
            break;
--------------------------------
ADD BELOW:
--------------------------------
        case 
'vbookie_cash':
            
$sqlsort 'user.vbookie_cash';
            break; 


Step 2: Edit memberlist Template

PHP Code:

================================
Template Editmemberlist
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=posts&amp;pp=$perpage$usergrouplink">$vbphrase[posts]</a$sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=vbookie_cash&amp;pp=$perpage$usergrouplink">$vbphrase[vbookie_vcash]</a$sortarrow[vbookie_cash]</td></if> 


Step 3: Edit memberlist_resultsbit Template

PHP Code:

================================
Template Editmemberlist_resultsbit
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if> 


Tested on my site and works perfectly...

pgowder 07-17-2007 10:44 AM

Quote:

Originally Posted by bobster65 (Post 1293292)
This is what I came up with. It involves 1 file edit and 2 template edits. The result is vcash showing up in the member list and is sortable...

Step 1: Edit memberlist.php

PHP Code:

================================
File Editmemberlist.php
================================
FIND:
--------------------------------
        case 
'posts':
            
$sqlsort 'user.posts';
            break;
--------------------------------
ADD BELOW:
--------------------------------
        case 
'vbookie_cash':
            
$sqlsort 'user.vbookie_cash';
            break; 


Step 2: Edit memberlist Template

PHP Code:

================================
Template Editmemberlist
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=posts&amp;pp=$perpage$usergrouplink">$vbphrase[posts]</a$sortarrow[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon']"><td class="thead" nowrap="nowrap"><a href="$sorturl&amp;order=DESC&amp;sort=vbookie_cash&amp;pp=$perpage$usergrouplink">$vbphrase[vbookie_vcash]</a$sortarrow[vbookie_cash]</td></if> 


Step 3: Edit memberlist_resultsbit Template

PHP Code:

================================
Template Editmemberlist_resultsbit
================================
FIND:
--------------------------------
    <if 
condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if>
--------------------------------
ADD BELOW:
--------------------------------
    <if 
condition="$vboptions['vbookiecashon'] AND exec_switch_bg() "> <td class="$bgclass">$userinfo[vbookie_cash]</td></if> 


Tested on my site and works perfectly...

That worked great!!! Thanks so much!

pgowder 07-17-2007 03:53 PM

On bets like this:
http://www.luckpredictions.com/showthread.php?t=14

Where I've set the odds as 1/10. Does the person get back their bet amount and what they won?

So if a person bets 100 on this, how much do they get back total?

Thanks

bobster65 07-17-2007 07:20 PM

Quote:

Originally Posted by pgowder (Post 1293541)
That worked great!!! Thanks so much!

Cool Beans :)

pgowder 07-19-2007 12:50 PM

If people have bets placed on an open event and I zero out everyone's vcash, what happens to their pending bets?

Are they still good?

Thanks

pgowder 07-19-2007 10:58 PM

Is it possible to have a PM or email sent when a bet is settled?

pgowder 07-23-2007 05:05 PM

Quote:

Originally Posted by pgowder (Post 1295644)
If people have bets placed on an open event and I zero out everyone's vcash, what happens to their pending bets?

Are they still good?

Thanks

Quote:

Originally Posted by pgowder (Post 1296120)
Is it possible to have a PM or email sent when a bet is settled?

Anyone know about these?


All times are GMT. The time now is 06:26 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.03827 seconds
  • Memory Usage 1,878KB
  • 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
  • (7)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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