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)

dartho 01-24-2010 09:19 PM

Quote:

Originally Posted by Steelersfan (Post 1965235)
Any chance that when viewing an even to bet on it can show the amount you have to bet with?

You can edit the vbookie_event_table and search for

Code:

<div class="blocksubhead" align="center"><b>
        {vb:rawphrase vbookie_this_event_will_pay_out_after} {vb:raw eventinfo.payafter_date} at {vb:raw eventinfo.payafter_time}
</b></div>

and add the fopllowing below it:
Code:

<div class="blocksubhead" align="center"><b>
        You have {vb:raw user_cash} vCash to spend.
</b></div>


stangger5 01-24-2010 10:03 PM

Quote:

Originally Posted by TimberFloorAu (Post 1965498)
Getting db error when clicking Bet Statistics.

Code:

Database error in vBulletin 4.0.1:

Invalid SQL:
;

MySQL Error  : Query was empty
Error Number  : 1065
Request Date  : Monday, January 25th 2010 @ 08:02:18 AM
Error Date    : Monday, January 25th 2010 @ 08:02:18 AM
Script        : http://www.yobromofo.com/forum/vbookie.php?do=stats
Referrer      : http://www.yobromofo.com/forum/vbookie.php
IP Address    : 124.186.98.206
Username      : TimberFloorAu
Classname    : vB_Database
MySQL Version : 5.0.87-community


This error is cause by the includes/functions_vbookie.php file..

dartho 01-24-2010 11:40 PM

Quote:

Originally Posted by TimberFloorAu (Post 1965477)
Ok few issues:

Example:
January 25 2010 05.00am

This is what displays in THREAD:

This event will accept bets until 25-01-2010 at 04:00 AM
This event will pay out after 25-01-2010 at 04:00 AM

Each time we return to edit event, this changes by one hour when we re-post. + GMT keeps resetting to London time

Long shot - but do you have daylight savings enabled on your site (AdminCP->Settings->Options->Date and Time Options)?

dartho 01-24-2010 11:57 PM

Quote:

Originally Posted by stangger5 (Post 1965637)
This error is cause by the includes/functions_vbookie.php file..

Ah - see teh issue now. This is also fixed in the latest version (4.0.3)

So only the time issue left? with VB4, they changed the way some time functions worked and what they returned. This may take a little longer to fix up - but should still make for an opertaional vBookie of you remember to fix up time zones etc when you create / edit books

dartho 01-24-2010 11:58 PM

Quote:

Originally Posted by TimberFloorAu (Post 1965477)
4. still cannot figure out how to delete an event.

Found bug and will be fixed in the next version release so you can delete vBookie events.

Magz 01-25-2010 12:01 AM

I, along with many others I'm sure, appreciate your support for this Mod.

Nominated.

Steelersfan 01-25-2010 12:35 AM

Quote:

Originally Posted by dartho (Post 1965601)
You can edit the vbookie_event_table and search for

Code:

<div class="blocksubhead" align="center"><b>
        {vb:rawphrase vbookie_this_event_will_pay_out_after} {vb:raw eventinfo.payafter_date} at {vb:raw eventinfo.payafter_time}
</b></div>

and add the fopllowing below it:
Code:

<div class="blocksubhead" align="center"><b>
        You have {vb:raw user_cash} vCash to spend.
</b></div>


Worked like a charm! Thanks for taking the time to fix these issues. Will install new version first chance I get.

dartho 01-25-2010 02:50 AM

OK Have fixed up all that I could, inlcuding the timezone not being saved right. The only outstanding issue is with YBMF losing an hour :confused: which I suspect is something to do with DLS ... Sorry about all the bugs and updates.

TimberFloorAu 01-25-2010 03:06 AM

Quote:

Originally Posted by dartho (Post 1965801)
OK Have fixed up all that I could, inlcuding the timezone not being saved right. The only outstanding issue is with YBMF losing an hour :confused: which I suspect is something to do with DLS ... Sorry about all the bugs and updates.

Mate dont ever be sorry for supporting your own mod. It shows you care. We place our trust in you, and so afford you the odd hiccup. Its the nature of the beast.

< Sincere thanks for bearing with "it" and "us"

Steelersfan 01-25-2010 03:28 AM

Quote:

Originally Posted by dartho (Post 1965801)
OK Have fixed up all that I could, inlcuding the timezone not being saved right. The only outstanding issue is with YBMF losing an hour :confused: which I suspect is something to do with DLS ... Sorry about all the bugs and updates.


Great work dartho! New version seems to be working fine.


All times are GMT. The time now is 07:38 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.01769 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
  • (8)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