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)

kachrico 06-20-2008 02:43 PM

i have vbulletin 3.6.9 , i used paul fix, but didn't worked for me. it just don't put the check box to put it in vbookie ananouced. Can anyone help me pls?

MHFC 06-26-2008 06:08 PM

Can anyone help me with this?

I've installed and everything works fine, set permissions etc but when i tick the option to post a vBookie event after the thread has posted the vBookie form doesn't appear. Im using 3.7.1.

bobster65 06-26-2008 06:23 PM

Quote:

Originally Posted by MHFC (Post 1559767)
Can anyone help me with this?

I've installed and everything works fine, set permissions etc but when i tick the option to post a vBookie event after the thread has posted the vBookie form doesn't appear. Im using 3.7.1.

sounds like you didn't apply Paul Ms patch for that.. read the first post of this thread to get the link to that patch.

djilou 06-26-2008 08:57 PM

Quote:

Originally Posted by djilou (Post 1547573)
How can I use the vb_number_format function to have vcash displayed like this 1,000 instead of 1000 ??

Any idea??:confused:

chtdatweb 07-02-2008 09:32 PM

Hi,

Well i just can't work this out, i have been over and over this but can't work out what im doing wrong.

I have vbookie installed on 3.7.2 and it seems to work fine, i have edited the permissions so i can post an event and i have edited the plugin with Paul M's code. And yet whenever i goto post a new event it simply creates the thread but no re-direct to all the other bet settings i need to do and nothing appears in the vbookie page.

Any ideas?

EDIT: IF i remove the IF statement it works:

Code:


    $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));

So im guessing there is something wrong with vbookie detecting that the checkbox has been ticked. This is my template code:

<if condition="$show['vbookieevent']">
<fieldset class="fieldset">
<legend>$vbphrase[post_a_vbookieevent]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
</div>
</fieldset>
</if>

Thanks

Malceski09 07-05-2008 02:11 AM

Is it possible to allow certain users to transfer vcash to other users through usergroups, for competition winnings?

Jari37 07-06-2008 07:55 PM

I have this installed on 3.7.1 and it's been working fine. Except a funny thing just happened when one of my users tried to settle a bet on the tennis. When he settled it everybody who had bet on Federer got switched over to Nadal, and vice versa! This hasn't happened on any other event we've had, but because I had 500 on Federer the finger of suspicion is pointed firmly at me.

Has this happened to anyone else, and if so how can it be reversed?

blue6995 07-17-2008 09:10 PM

Quote:

Originally Posted by massizero (Post 1544310)
Hi,
is there a way to deny the fact that "Stakes are also returned in the event of a winning bet."?

It happens that when someone bets on an event and he wins, he gets back even the stakes.
Example:
odd 2 to 1
he bets 100, he gets back 300 (200 from the bet, 100 Stakes are returned for the winning bet.)

While he should get back only 200...

Thanks,
M

As I understand it, it is normal betting practise for the stake to be returned on winning bets. Once the bet has been placed, vBookie deducts the stake from your Bank as soon as a bet is struck, which should be returned on a winning bet

Win Bet Example

?100 win on Red Rum at 2/1. If Red Rum doesn’t win then you lose your stake. If Red Rum does win then you multiply your stake by the odds ?100x2 =200 and you receive your ?100 stake back. So your total return on this bet would be ?300. Your profit on the ?100 stake would be ?200.

bobster65 07-19-2008 01:06 AM

Quote:

Originally Posted by syndicate968 (Post 1578766)
Exactly what file do I make this edit on, and exactly what code in that file do I replace with this new code?

its not a file, its a plugin ... you edit via the plugin manager...

thecricketzone 07-20-2008 03:17 PM

Quote:

Originally Posted by bobster65 (Post 1542291)
It IS usable on 3.7


I paid for a proffesional installation and the guy who installed it followed instructions for the install to the letter. Unfortunately, though it has 'installed' it does not actually allow me to post any event! When I click on vbookie event when starting a new post / thread - it does nothing. I am running VB 3.7.2 patch 1.

Any advice as to what could have caused this?

thecricketzone 07-20-2008 09:38 PM

Quote:

Originally Posted by bobster65 (Post 1559776)
sounds like you didn't apply Paul Ms patch for that.. read the first post of this thread to get the link to that patch.

Hi Bob,

I just wanted to say a BIG thank you for resolving this :) It's something a lot of our members have requested and will appreciate a lot. Without your efforts this would not have been possible so please, on behalf of all at PCZ - thanks a million, the bookie works beautifully :D Have a great evening :up:

Best regards,
Naeem

DJDynasty239 07-21-2008 09:54 PM

I cannot get the settings to remain on "YES" for any of the vBookie options (posting, creating, betting) they are defaulted at "No", so I Change to "Yes" and save, then they are switched back to "No" automatically? Any help? I'm running 3.7.2 , I've seen others say they are running smoothly so hopefully someone can offer some assistance

bobster65 07-21-2008 10:08 PM

Quote:

Originally Posted by DJDynasty239 (Post 1580933)
I cannot get the settings to remain on "YES" for any of the vBookie options (posting, creating, betting) they are defaulted at "No", so I Change to "Yes" and save, then they are switched back to "No" automatically? Any help? I'm running 3.7.2 , I've seen others say they are running smoothly so hopefully someone can offer some assistance

all you need to do is rebuild your bit fields ... Just append the below path to your forums URL and it will take care of that problem for ya

/admincp/index.php?do=buildbitfields

DJDynasty239 07-22-2008 02:37 AM

Quote:

Originally Posted by bobster65 (Post 1580941)
all you need to do is rebuild your bit fields ... Just append the below path to your forums URL and it will take care of that problem for ya

/admincp/index.php?do=buildbitfields

Brilliant, it worked, thanks alot Bobster!

TimberFloorAu 07-31-2008 11:45 PM

Would dearly love for someone to fix an issue we have, and it appears fairly simple ( but not to me )

If we have 2 pages of vbookie events.

Then the url is:

http://www.yobromofo.com/forum/vbookie.php
and
http://www.yobromofo.com/forum/vbook...pe=type&page=2 for page 2

which is incorrect.

It should be

http://www.yobromofo.com/forum/vbook...o=main&&page=2

and then page 1 link should be ,
http://www.yobromofo.com/forum/vbook...o=main&&page=1

has anyone any idea, where and how we can modify the script to lose the &type=type

as this seems to be some onerous code that isnt actually working.

Regards Ste

TimberFloorAu 08-04-2008 09:57 PM

justa friendly bump ***

DS MrSinister 08-04-2008 10:12 PM

this has been a issue for along time.. don't know how to fix it..

But I think i just figured it out.. what you need to do is open up vbookie.php in a text editor

find this

Code:

do=main&type=type
replace it with this

Code:

do=main&type=$_GET[type]
also you can use this not sure which one is better but both work great..

https://vborg.vbsupport.ru/showpost....postcount=1620

TimberFloorAu 08-05-2008 12:17 AM

Bloody worked Fantastic !!!

Have no idea how or why... lol. But applied the edit, and re-uploaded and all is sweet.

Thanks !!

Ozzy

DS MrSinister 08-05-2008 12:25 AM

your welcome.

milla da killa 08-10-2008 09:47 PM

Is vBookie compatible with 3.7.2? IF so what changes do I have to make? Also does it work with vbCredits?

MissKalunji 08-11-2008 03:24 AM

Yes it does work just do the standard 3.6 edit

milla da killa 08-11-2008 04:01 AM

Will it work with vbCredits though?

MissKalunji 08-11-2008 04:18 AM

yep they have an add ons for it

milla da killa 08-11-2008 07:03 AM

Thanks a bunch. =D

BucWiLd 08-11-2008 07:57 PM

Quote:

Originally Posted by MissKalunji (Post 1595943)
Yes it does work just do the standard 3.6 edit


where can i find the instructions for this?

MissKalunji 08-11-2008 10:41 PM

this one : https://vborg.vbsupport.ru/showthrea...92#post1035092

dsmoke 08-12-2008 02:40 PM

I am willing to pay someone to get this working on 3.6.8 I have tried all of the mods, updates with no luck. PM me if you can do it, also looking for another mod to this script thanks

serge2k6 08-17-2008 05:18 AM

I can't seem to get this working on 3.7.2

I installed it according to the readme file and used the change for 3.6. Updated the user permissions.

It looks right but when I start a thread it just doesn't have the option to make it a vbookie event.

Any ideas on what I might have missed?

JimmiOO 08-17-2008 03:28 PM

Quote:

Originally Posted by serge2k6 (Post 1600500)
I can't seem to get this working on 3.7.2

I installed it according to the readme file and used the change for 3.6. Updated the user permissions.

It looks right but when I start a thread it just doesn't have the option to make it a vbookie event.

Any ideas on what I might have missed?


I think the problem you are having is the same as mine, check your permissions again i think you will find they have not saved and all gone back to no. Im sure i read how to fix that somewhere, can anyone tel me please i dont want to read all the threads again, was it something to do with building the bitfield or something, where do i find that?

bobster65 08-17-2008 03:33 PM

Quote:

Originally Posted by JimmiOO (Post 1600786)
I think the problem you are having is the same as mine, check your permissions again i think you will find they have not saved and all gone back to no. Im sure i read how to fix that somewhere, can anyone tel me please i dont want to read all the threads again, was it something to do with building the bitfield or something, where do i find that?

Just one page back..

all you need to do is rebuild your bit fields ... Just append the below path to your forums URL and it will take care of that problem for ya

/admincp/index.php?do=buildbitfields

JimmiOO 08-17-2008 04:40 PM

Quote:

Originally Posted by bobster65 (Post 1600791)
Just one page back..

all you need to do is rebuild your bit fields ... Just append the below path to your forums URL and it will take care of that problem for ya

/admincp/index.php?do=buildbitfields


No i have done that and have also added the code to the plugin, but i still dont see a button to add an event, i have set the user permissions but still no joy, im using version 3.7.2. Anyone got any ideas?

bobster65 08-17-2008 05:25 PM

Quote:

Originally Posted by JimmiOO (Post 1600851)
No i have done that and have also added the code to the plugin, but i still dont see a button to add an event, i have set the user permissions but still no joy, im using version 3.7.2. Anyone got any ideas?

Thats odd.. so when you create a new thread you don't see this under the additional Options below the poll options?

Post a vBookie Event
Yes, post a vBookie Event with this thread

JimmiOO 08-17-2008 05:29 PM

Quote:

Originally Posted by bobster65 (Post 1600876)
Thats odd.. so when you create a new thread you don't see this under the additional Options below the poll options?

Post a vBookie Event
Yes, post a vBookie Event with this thread


Ah now i look like a newbie lol, i was clicking the navbar link and looking for the add button. Ive got it now, Thanks alot. :)

serge2k6 08-17-2008 07:16 PM

Quote:

Originally Posted by JimmiOO (Post 1600786)
I think the problem you are having is the same as mine, check your permissions again i think you will find they have not saved and all gone back to no. Im sure i read how to fix that somewhere, can anyone tel me please i dont want to read all the threads again, was it something to do with building the bitfield or something, where do i find that?

no, I already tried the bitfield fix.


edit: I don't have the option for a vbookie even below the poll option.

bobster65 08-17-2008 08:41 PM

Quote:

Originally Posted by serge2k6 (Post 1600954)
edit: I don't have the option for a vbookie even below the poll option.

Then you have not applied the template changes in the instructions..

this is the one you need to apply for the option to show up on the new thread template..
Code:

In Template newthread
  FIND
  --------------------------------------------------
  $threadmanagement
  --------------------------------------------------

  ABOVE that ADD
  --------------------------------------------------
  <if condition="$show['vbookieevent']">
        <fieldset class="fieldset">
                <legend>$vbphrase[post_a_vbookieevent]</legend>
                <div style="padding:$stylevar[formspacer]px">
                        <div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
                </div>
        </fieldset>
  </if>

I would suggest reading the install instructions again and following them..

serge2k6 08-17-2008 09:41 PM

no I did that.

I followed the instructions except for

Code:

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 couldn't find the part it says to look for so I added it below
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
instead.

Maybe I misunderstood what I needed to do at some point, I'm new at this.

bobster65 08-17-2008 09:53 PM

Quote:

Originally Posted by serge2k6 (Post 1601026)
no I did that.

I followed the instructions except for

Code:

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 couldn't find the part it says to look for so I added it below
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
instead.

Maybe I misunderstood what I needed to do at some point, I'm new at this.

If you made the template change and the permissions are set, then it will show up. one of those two things isn't right..

Do you have more than one style? If so, did you make the template change in all styles?

Are you sure you set the user group permissions (check the user group that you are assigned to.. make sure they are not reverting back to no)..

serge2k6 08-18-2008 12:16 AM

only one style (default style) and I checked the permissions.

WhisperXBA 08-18-2008 09:04 PM

Hello, quick question here.

I know the command to reset ALL users to a certain number
(UPDATE user SET vbookie_cash=500; )

what if I wanted to set just a specific member, or members.. I have searched this thread and tried adding things in that command above, but to no success

Regs 08-18-2008 09:42 PM

Wouldn't it just be a WHERE clause? something like UPDATE user SET vbookie_cash=500 WHERE userid=x

(I'm not a coder but maybe one can chime in and confirm)

Cheers,

Regs.


All times are GMT. The time now is 09:57 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.05008 seconds
  • Memory Usage 1,852KB
  • 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
  • (8)bbcode_code_printable
  • (17)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