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)

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.


All times are GMT. The time now is 03:40 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.02398 seconds
  • Memory Usage 1,750KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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