vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBookie for vBulletin 4 (https://vborg.vbsupport.ru/showthread.php?t=233473)

hunter22375 08-21-2012 10:52 PM

Quote:

Originally Posted by dartho (Post 2358588)
Just upgraded my test site to 4.2 and I can't reproduce this problem.

Will you look at mine please?

TopShelfGamer 08-22-2012 12:34 PM

I am running this on 4.1.9

Anyway i can change the font color for the entire mod? I run my site on a dark background and the dark font doesnt work so well

SteveBoogie 08-22-2012 06:28 PM

Hey guys, I'm having a problem on my board with placing bets. We make the threads and they turn out like this, with no text fields to input bets into. So obviously we can't bet. Would anybody mind helping me out?

https://vborg.vbsupport.ru/external/2012/08/58.png

BTW this just happened since I upgraded to 4.2.0 yesterday.

cygy2k 08-22-2012 09:21 PM

Quote:

Originally Posted by SteveBoogie (Post 2359090)
Hey guys, I'm having a problem on my board with placing bets. We make the threads and they turn out like this, with no text fields to input bets into. So obviously we can't bet. Would anybody mind helping me out?

https://vborg.vbsupport.ru/external/2012/08/58.png

BTW this just happened since I upgraded to 4.2.0 yesterday.

Exact same issue on default style.

dartho 08-22-2012 10:30 PM

Quote:

Originally Posted by SteveBoogie (Post 2359090)
Hey guys, I'm having a problem on my board with placing bets. We make the threads and they turn out like this, with no text fields to input bets into. So obviously we can't bet. Would anybody mind helping me out?

https://vborg.vbsupport.ru/external/2012/08/58.png

BTW this just happened since I upgraded to 4.2.0 yesterday.

@Steveboogie + @TopShelfGamer link?

@cygy2k yours looks ok, but can't see the sites default style

cygy2k 08-23-2012 12:55 AM

Here is a link to a Bookie thread showing that the outcomes aren't displaying even using the default style...

http://www.cyclonefanatic.com/forum/...a-iowa-st.html

dartho 08-23-2012 03:01 AM

1 Attachment(s)
But the outcomes are showing?

https://vborg.vbsupport.ru/attachmen...1&d=1345694485

cygy2k 08-23-2012 11:54 AM

Odd - it doesn't show anything for registered members, regardless of usergroup. I've added every usergroup id to the setting with exception of the non-registered users.

cygy2k 08-24-2012 12:29 AM

1 Attachment(s)
Any help on why betting outcomes aren't shown to logged in users regardless of usergroup even though they're entered in the allowed to bet field? I can see the above only when logging out.

dartho 08-24-2012 10:52 PM

Set me up with an account with suitable permissions and I'll see what I can find.

This and other reported problems (other than the fixed navigation) do not exist on a test site recently upgraded to vb4.2 so not sure what I will be able to do.

I suggest turning on HTML comments for template names, viewing source code and then log out and view source code and compare the two to see what differences there are. If you'd like me to look - you'll need to turn this option on also or allow me admincp access so I can

LgsOfChampions 08-25-2012 01:16 AM

ive installed this, don't see no where to set up the events?

wilford brimley 08-25-2012 03:12 AM

the version number is still saying 4.0.9 and not 4.2.0 on the bottom of the main books page.

pharlap 08-25-2012 09:08 AM

Ok, am running vb 4.2.0

Was running vbookie 4.0.9 and upgraded tonight. Had the same issue with events not showing up.

I re-imported the old XML file from 4.0.9 and the events now show up.

However.... the menu is now mixed up ( see image )

https://vborg.vbsupport.ru/external/2012/08/11.jpg

Hope this help with understanding what the issues people are having


ok, just checked the xml for v4.2.0 and these strange names for links are in that xml... from lines 1833 thru to 1896


so just to recap....using the xml form 4.0.9 , the events show but menu is muddled
using the xml from 4.2.0 , the events are not showing up, menu is fine

cygy2k 08-25-2012 10:41 PM

I figured it out - the issue on 4.2.0 is that the xml is missing the template "vbookie_outcomebit". In style manager, create a template named "vbookie_outcomebits" and paste in the following...

Code:

<tr class="blockrow">
        <td class="{vb:raw bgclass}"><a href="vbookie.php?{vb:raw session.sessionurl}do=viewitem&amp;item_id={vb:raw item_id}">{vb:raw outcome.outcome}</a></td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.odds_against}/{vb:raw outcome.odds_for} {vb:raw outcome.favourite}</td>
        <td class="{vb:raw bgclass}" align="right"> ({vb:raw outcome.odds_decimal}) </td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.n_bets_placed}</td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.amount_staked}</td>
        <td class="{vb:raw bgclass}">
                <img src="images/polls/bar{vb:raw row}-l.gif" border="0" alt="" width="3" height="10" /><img src="images/polls/bar{vb:raw row}.gif" border="0" alt="" width="{vb:raw outcome.total_bet_percentage}" height="10" /><img src="images/polls/bar{vb:raw row}-r.gif" border="0" alt="" width="3" height="10" />                               
        </td>
        <td class="{vb:raw bgclass}">
        <input type="text" name="option[{vb:raw outcome.option_id}]" size="6" value="0">
        </td>
</tr>


LgsOfChampions 08-25-2012 11:29 PM

Quote:

Originally Posted by cygy2k (Post 2360000)
I figured it out - the issue on 4.2.0 is that the xml is missing the template "vbookie_outcomebit". In style manager, create a template named "vbookie_outcomebit" and paste in the following...

Code:

<tr class="blockrow">
        <td class="{vb:raw bgclass}"><a href="vbookie.php?{vb:raw session.sessionurl}do=viewitem&amp;item_id={vb:raw item_id}">{vb:raw outcome.outcome}</a></td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.odds_against}/{vb:raw outcome.odds_for} {vb:raw outcome.favourite}</td>
        <td class="{vb:raw bgclass}" align="right"> ({vb:raw outcome.odds_decimal}) </td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.n_bets_placed}</td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.amount_staked}</td>
        <td class="{vb:raw bgclass}">
                <img src="images/polls/bar{vb:raw row}-l.gif" border="0" alt="" width="3" height="10" /><img src="images/polls/bar{vb:raw row}.gif" border="0" alt="" width="{vb:raw outcome.total_bet_percentage}" height="10" /><img src="images/polls/bar{vb:raw row}-r.gif" border="0" alt="" width="3" height="10" />                               
        </td>
        <td class="{vb:raw bgclass}">
        <input type="text" name="option[{vb:raw outcome.option_id}]" size="6" value="0">
        </td>
</tr>


I'm building my site from scratch! So just added a fresh install, however, this didn't work for me.

dartho 08-27-2012 03:46 AM

Quote:

Originally Posted by LgsOfChampions (Post 2359787)
ive installed this, don't see no where to set up the events?

Create a new thread - you should have an option to add a vbookie event near where you would have the option to add a poll.

Quote:

Originally Posted by cygy2k (Post 2360000)
I figured it out - the issue on 4.2.0 is that the xml is missing the template "vbookie_outcomebit". In style manager, create a template named "vbookie_outcomebit" and paste in the following...

Glad you worked it out - turhning on HTML template name comments is always helpful when tracking these things.

Quote:

Originally Posted by pharlap (Post 2359839)
Ok, am running vb 4.2.0

Was running vbookie 4.0.9 and upgraded tonight. Had the same issue with events not showing up.

I re-imported the old XML file from 4.0.9 and the events now show up.

However.... the menu is now mixed up ( see image )

Hope this help with understanding what the issues people are having


ok, just checked the xml for v4.2.0 and these strange names for links are in that xml... from lines 1833 thru to 1896


so just to recap....using the xml form 4.0.9 , the events show but menu is muddled
using the xml from 4.2.0 , the events are not showing up, menu is fine

Based on cygy2k finding the missing template, you should be able to re-install 4.2 and manually add the template as described by him above. Don't uninstall as you will lose past events, just over write.

LuDawgs 08-27-2012 04:38 PM

Just swinging by to say that if you like vBookie, you need to check out www.ludawgs.com Here's a video:

http://www.youtube.com/watch?v=ByiA_...layer_embedded

If the vBookie developers need any help or feedback, just let me know.

TopShelfGamer 08-27-2012 08:38 PM

Quote:

Originally Posted by dartho (Post 2359167)
@Steveboogie + @TopShelfGamer link?

@cygy2k yours looks ok, but can't see the sites default style

you should be able to see this

http://sidelinesportscards.com/vbookie.php

the text is a darker color and cant see on black.. can i easily change this?

LgsOfChampions 08-27-2012 09:07 PM

Quote:

Originally Posted by TopShelfGamer (Post 2360525)
you should be able to see this

http://sidelinesportscards.com/vbookie.php

the text is a darker color and cant see on black.. can i easily change this?

i have the same skin, and my text is white. I didn't touch a thing!! Maybe reupload everything again?

TopShelfGamer 08-28-2012 02:22 AM

Quote:

Originally Posted by LgsOfChampions (Post 2360532)
i have the same skin, and my text is white. I didn't touch a thing!! Maybe reupload everything again?

I have tried that as well

Do you have the problem when creating threads when you type the cursor only shows and you dont see what you type until you click out of the input box?

liesislief 08-28-2012 08:11 AM

Quote:

Originally Posted by LgsOfChampions (Post 2360008)
I'm building my site from scratch! So just added a fresh install, however, this didn't work for me.

Mate, i know why it isnt working

if you make a template with the name: vbookie_outcomebit then its not working
but if you called it vbookie_outcomebits and you past the code, then its working.

There is a S missing in the title template title ;)

dartho 08-28-2012 11:13 AM

Quote:

Originally Posted by TopShelfGamer (Post 2360591)
I have tried that as well

Do you have the problem when creating threads when you type the cursor only shows and you dont see what you type until you click out of the input box?

Just installed that style on my test site with no probs either. Have you tried installing with no parent style? That's probably where your problem is ...

TopShelfGamer 08-28-2012 12:15 PM

Quote:

Originally Posted by dartho (Post 2360669)
Just installed that style on my test site with no probs either. Have you tried installing with no parent style? That's probably where your problem is ...

Thought that as well, installed fresh with no parent style and getting same results. im unvieling a new skin in the next couple days so it isnt a huge issue..

dartho 08-28-2012 11:58 PM

or with the default style as the parent ...

mmacrypt 09-02-2012 08:55 PM

Quote:

Originally Posted by cygy2k (Post 2360000)
I figured it out - the issue on 4.2.0 is that the xml is missing the template "vbookie_outcomebit". In style manager, create a template named "vbookie_outcomebit" and paste in the following...

Code:

<tr class="blockrow">
        <td class="{vb:raw bgclass}"><a href="vbookie.php?{vb:raw session.sessionurl}do=viewitem&amp;item_id={vb:raw item_id}">{vb:raw outcome.outcome}</a></td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.odds_against}/{vb:raw outcome.odds_for} {vb:raw outcome.favourite}</td>
        <td class="{vb:raw bgclass}" align="right"> ({vb:raw outcome.odds_decimal}) </td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.n_bets_placed}</td>
        <td class="{vb:raw bgclass}">{vb:raw outcome.amount_staked}</td>
        <td class="{vb:raw bgclass}">
                <img src="images/polls/bar{vb:raw row}-l.gif" border="0" alt="" width="3" height="10" /><img src="images/polls/bar{vb:raw row}.gif" border="0" alt="" width="{vb:raw outcome.total_bet_percentage}" height="10" /><img src="images/polls/bar{vb:raw row}-r.gif" border="0" alt="" width="3" height="10" />                               
        </td>
        <td class="{vb:raw bgclass}">
        <input type="text" name="option[{vb:raw outcome.option_id}]" size="6" value="0">
        </td>
</tr>


Thanks for this fix, was having the same issue, did have to add the s at the end of the title.

wilford brimley 09-03-2012 07:48 PM

i thought i mentioned this already but you forgot to edit vbookie.php to reflect the new version.

i just edited it.

in vbookie.php find
Code:

$vbookie_version = '4.0.9 - Updated for vBulletin 4 by <a href="http://twf.com.au">Coach</a>';
change to
Code:

$vbookie_version = '4.2.0 - Updated for vBulletin 4 by <a href="http://twf.com.au">Coach</a>';
also the "respawed! productions" link is dead. i dont know if i should just delete it or what but i edited it to direct just to his homepage and not /vbookie. it just goes to an image as it looks like his site is dead and just a placeholder.

on masterstyle>vbookie templates>vbookie

find
Code:

<div class="smallfont" style="text-align: center"><br /><i><b>vBookie</b></i> {vb:raw vbookie_version}<br />Copyright 2004 Daren "Rico" Chandisingh<br />A <a href="http://www.respawned.co.uk/vbookie/" target="_blank">Respawned!</a> production.
</div>

change to
Code:

<div class="smallfont" style="text-align: center"><br /><i><b>vBookie</b></i> {vb:raw vbookie_version}<br />Copyright 2004 Daren "Rico" Chandisingh<br />A <a href="http://www.respawned.co.uk" target="_blank">Respawned!</a> production.
</div>

if its cool with you to just erase that totally then I will. if you are the new owner then you "coach" control the copywright.

wilford brimley 09-03-2012 08:13 PM

Quote:

Originally Posted by LgsOfChampions (Post 2360008)
I'm building my site from scratch! So just added a fresh install, however, this didn't work for me.

he messed it up. you need to name the template
vbookie_outcomebits

1320Nation 09-04-2012 04:04 AM

I downloaded the last update for this mod and had planned to install it. But after reading the dozen or so post it appears this mod is currently screwed up?

I'd like to know if things are ok to proceed with updating, or does there need to be some revisions done to the mod 1st?

wilford brimley 09-04-2012 05:51 AM

it works for me but only after i created that template. i was using 4.0.9 before.

i havent settled a bet yet, im going to tomorrow and will check back to let you know if my event worked.

wilford brimley 09-04-2012 11:26 AM

it worked.

My Hattiesburg 09-07-2012 04:03 PM

It's working for us on 4.2 as long as you add that template that's been posted about above.

da prez 10-22-2012 05:32 PM

1 Attachment(s)
Added template and now I can see the box to bet and settle, but the math isn't right.

It appears to be adding 1 in the odds.

300/100 should be 3 right ?
100/360 should not have a 1 in front of the .28

Any ideas ?

pharlap 10-22-2012 06:31 PM

Quote:

Originally Posted by da prez (Post 2375107)
Added template and now I can see the box to bet and settle, but the math isn't right.

It appears to be adding 1 in the odds.

300/100 should be 3 right ?
100/360 should not have a 1 in front of the .28

Any ideas ?


Correct.

With traditional odds you get your stake back.

If you look thru this thread you will find how to change it to the way you want it

halkum 10-28-2012 09:12 AM

Dumb question, but is there a way to get this to work on the default vbulletin mobile skin?

I have:
- Manually added in the vbookie templates.
- Added the original new thread code to the newthread template.

I can MAKE new vBookie post from mobile, but the actual vBookie portions don't show in the post.

Anyone tried this?

dartho 10-29-2012 05:07 AM

Do Polls show in the mobile style? This hooks into them to get displayed ...

Hanany95 11-01-2012 12:27 AM

This may be the very noobiest question but how do you create a bet? Thanks.

ringnews24 11-08-2012 11:01 AM

I followed the installation guide but when I go to settings/options I cant find vbookie.

Help Please

dartho 11-08-2012 01:04 PM

Quote:

Originally Posted by Hanany95 (Post 2377406)
This may be the very noobiest question but how do you create a bet? Thanks.

Create a new thread. There should be a check box option to add a vbookie event near the option to add a poll...

ringnews24 11-08-2012 09:42 PM

I managed to get vbookie installed http://ringnews24.com/boxingforum/vbookie.php

And I created an event but how do you actually bet on an event?

da prez 11-08-2012 11:27 PM

Make sure the vBookie permissions are set properly.
And a couple of pages back there is a template addition you have to do.

Here's the post :

https://vborg.vbsupport.ru/showpost....&postcount=894


All times are GMT. The time now is 05:07 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.02349 seconds
  • Memory Usage 1,854KB
  • 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_code_printable
  • (17)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