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)

iguano 01-22-2010 06:03 PM

Quote:

Originally Posted by dartho (Post 1963252)
hi iguano,
Did you disable the vBookie: Add Cash to Postbit Plugin - not a settings - I mean in Plugin Manager.

ops . ... sorry i'm a idiot :D

dlynx 01-23-2010 01:07 AM

Thanks so much for the conversion of this. It has been an integral part of my forum and one of the main things that has kept me from moving over to the new version.

:up:

Boots 01-23-2010 02:55 AM

In on this mod for sure.

merk_aus 01-23-2010 12:31 PM

Dartho,
we should talk I have spent the last three months working on a port for vBookie 3.5 to 3.8.4 then abandoned it when 4.0 came out to concentrate on porting it over to 4.0 we should talk as my version has a couple new features and is approved by andreas so could give you teh code for it or something to have added features.

COL NIL SATIS 01-23-2010 02:34 PM

brilliant addittion!!! installed

TimberFloorAu 01-23-2010 10:06 PM

Can we remove : vBookie installed! 19-01-2010

from the vbookie.php news and events cell ? If so How So !

dartho 01-23-2010 10:36 PM

Sure - running the query:

DELETE FROM vbookie_news WHERE news_id = 1;

should do it (add a table prefix to vbookie_news if you have one ...

You could also do this via phpmyadmin if you have it

TimberFloorAu 01-23-2010 10:49 PM

Quote:

Originally Posted by dartho (Post 1964826)
Sure - running the query:

DELETE FROM vbookie_news WHERE news_id = 1;

should do it (add a table prefix to vbookie_news if you have one ...

You could also do this via phpmyadmin if you have it

Tried that :

Get - An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'yobromof_forum.vbookie_news' doesn't exist

dartho 01-24-2010 12:31 AM

"yobromof_forum" is your forum prefix?

Then query should be :
Code:

DELETE FROM yobromof_forumvbookie_news WHERE news_id = 1;

Forum Lover 01-24-2010 01:38 AM

4. Edit "newthread" template as per readme.txt ionstructions

I did this, and usergroup permissions too.. but still not showing in newthread page. :(

dartho 01-24-2010 02:49 AM

Did the usergroup permissions 'stick' and have you tried "rebuild bitfields" (see post #2) if not?

merk_aus 01-24-2010 02:59 AM

Thanks for porting this - for some reason I click NO in the settings to not display vcash in the postbit however it still stays there how can i get rid of it?

dartho 01-24-2010 04:06 AM

This has been addressed in the next version which will be out very soon, but in the mean time you will need to disable the vBookie: Add Cash to Postbit plugin to stop teh display of vCash in postbit

Forum Lover 01-24-2010 04:26 AM

Its working now. Installed. Thanks. :)

dartho 01-24-2010 08:38 AM

New version, fixed a couple things and added a few AdminCP options (mostly for vCash users)

Can now
change default vCash figure
give vCash to all users
reset vCash balance for all users

TimberFloorAu 01-24-2010 08:54 AM

Quote:

Originally Posted by dartho (Post 1965058)
New version, fixed a couple things and added a few AdminCP options (mostly for vCash users)

Can now
change default vCash figure
give vCash to all users
reset vCash balance for all users

Thanks :up:

jonty 01-24-2010 09:51 AM

Quote:

Originally Posted by dartho (Post 1965058)
New version, fixed a couple things and added a few AdminCP options (mostly for vCash users)

Can now
change default vCash figure
give vCash to all users
reset vCash balance for all users


Excellent :cool:
:up:

GreigM 01-24-2010 11:48 AM

Thanks for update :) the bet statistics section in the bookie gives me a db error now, is it a problem at my end?

Quote:

Database error in vBulletin 4.0.1:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065

valendono 01-24-2010 01:06 PM

nice.. installed ! its handy.

Steelersfan 01-24-2010 01:58 PM

Any chance that when viewing an even to bet on it can show the amount you have to bet with?

wrestlepower 01-24-2010 02:47 PM

Getting a database error when i attempt to abandon an event.

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /home/forums/public_html/vbookie.php(999) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: vbookie_confirm_abandon_event in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /home/forums/public_html/vbookie.php(1002) : eval()'d code on line 2

Steelersfan 01-24-2010 02:55 PM

Also, since I upgraded I can't bet on events. All usergroups/forum persmissions seem ok.... Just no place to input bet.

https://vborg.vbsupport.ru/

wrestlepower 01-24-2010 03:03 PM

Yip, same here steelersfan, as well as the db error i posted earlier.

Steelersfan 01-24-2010 03:39 PM

Quote:

Originally Posted by wrestlepower (Post 1965292)
Yip, same here steelersfan, as well as the db error i posted earlier.

I got the same DB error as you also on the abandon event.

jonty 01-24-2010 03:59 PM

Small 'bug' :Changing the phrase for 'vcash' doesn't change the postbit (legacy).

iguano 01-24-2010 04:37 PM

Quote:

Originally Posted by dartho (Post 1965058)
New version, fixed a couple things and added a few AdminCP options (mostly for vCash users)

Can now
change default vCash figure
give vCash to all users
reset vCash balance for all users

great :)

TimberFloorAu 01-24-2010 06:42 PM

Ok few issues:

1. if we set the date as today 25. Jan 2010 12pm settle bets same as this date, when we view event it takes 24 hours off that set time ie. 24. Jan 2010 12pm

2. vcash has gone in postbit

3. global change of vbookie to other phrase doesnt change all instances.

4. still cannot figure out how to delete an event.

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

Plus when we edit event we get this on the page:

1:1:1:1:1

TimberFloorAu 01-24-2010 07:07 PM

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


dartho 01-24-2010 08:56 PM

OK - have just gone through and looked.
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?

Can do
Quote:

Originally Posted by wrestlepower (Post 1965277)
Getting a database error when i attempt to abandon an event.


Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /home/forums/public_html/vbookie.php(999) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: vbookie_confirm_abandon_event in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /home/forums/public_html/vbookie.php(1002) : eval()'d code on line 2

Fixed

Quote:

Originally Posted by Steelersfan (Post 1965284)
Also, since I upgraded I can't bet on events. All usergroups/forum persmissions seem ok.... Just no place to input bet.

http://img715.imageshack.us/img715/2876/24224209.jpg

Fixed
Quote:

Originally Posted by jonty (Post 1965346)
Small 'bug' :Changing the phrase for 'vcash' doesn't change the postbit (legacy).

Fixed
Quote:

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

1. if we set the date as today 25. Jan 2010 12pm settle bets same as this date, when we view event it takes 24 hours off that set time ie. 24. Jan 2010 12pm

I can;t reproduce this - is it actaully 24 hours? There is a time zone issue where it will disaply in GMT even if you have selected a diff TZ when making teh book.
Quote:

2. vcash has gone in postbit
Can't re-produce this one either?
Quote:

3. global change of vbookie to other phrase doesnt change all instances.
Correct - you'll need to search and replace on vBookie as the word 'vBookie' appears in other phrases (such as "Edit vBookie Event"). That change only changes teh phrase "vBookie"
Quote:

4. still cannot figure out how to delete an event.
You can;t as such. You can abandon an event. You can of course delete the thread containing a vBookie event
Quote:

Each time we return to edit event, this changes by one hour when we re-post. + GMT keeps resetting to London time
I'm still looking into the GMT issue, but can;t reproduce teh 1 hour one :confused:
Quote:

Plus when we edit event we get this on the page:
1:1:1:1:1
fixed this one...

I'll release a 4.0.3 version now which fixes as stated above and keep looking at the other issues.

TimberFloorAu 01-24-2010 08:58 PM

Thanks Mate.

I have rolled back to previous version until all is working fine.

Respect :up: Ste

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 01:03 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.02717 seconds
  • Memory Usage 1,844KB
  • 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
  • (25)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