Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBookie for vBulletin 3.5 Details »»
vBookie for vBulletin 3.5
Version: 1.0.7, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-11-2005 Last Update: 02-17-2006 Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vBookie

Introduction

This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work

A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1372  
Old 02-23-2007, 02:30 PM
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys,

First of all, this is an awesome hack, many thanks Andreas for making this for us! I've got an error tho when I go to Bet Statistics. I got the following error:

Code:
Invalid SQL:
SELECT username, bankmoney+money AS cash FROM user ORDER BY cash DESC LIMIT 5;

MySQL Error  : Unknown column 'bankmoney' in 'field list'
Error Number : 1054
I have no clue what this means or how to fix this. Could anyone help me out with this problem?
Reply With Quote
  #1373  
Old 02-24-2007, 01:13 AM
sinisterpain's Avatar
sinisterpain sinisterpain is offline
 
Join Date: Feb 2006
Location: New Hampshire
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BozzaJos View Post
Hey guys,

First of all, this is an awesome hack, many thanks Andreas for making this for us! I've got an error tho when I go to Bet Statistics. I got the following error:

Code:
Invalid SQL:
SELECT username, bankmoney+money AS cash FROM user ORDER BY cash DESC LIMIT 5;

MySQL Error  : Unknown column 'bankmoney' in 'field list'
Error Number : 1054
I have no clue what this means or how to fix this. Could anyone help me out with this problem?
Do you have a cash system installed ? If so did you set the value in vbookie settings for it?
Reply With Quote
  #1374  
Old 02-24-2007, 09:37 AM
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used the file you posted a couple of pages back. The one with iCash automaticly build in. Got iCash installed and put the settings on use iCash.

The rest also works. I can bet on matches, it takes away the points from the user and when I win I get the points so vbookie recognizes the points system.
Reply With Quote
  #1375  
Old 02-24-2007, 11:06 AM
sinisterpain's Avatar
sinisterpain sinisterpain is offline
 
Join Date: Feb 2006
Location: New Hampshire
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BozzaJos View Post
I used the file you posted a couple of pages back. The one with iCash automaticly build in. Got iCash installed and put the settings on use iCash.

The rest also works. I can bet on matches, it takes away the points from the user and when I win I get the points so vbookie recognizes the points system.
Are you running Ibank with this? The error seems to point to bankmoney.
Reply With Quote
  #1376  
Old 02-24-2007, 11:33 AM
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, I don't have iBank installed. Really hope you (or someone else) can help me out with this problem. Don't like making it public to my members while there's a db error in it.
Reply With Quote
  #1377  
Old 02-24-2007, 12:39 PM
sinisterpain's Avatar
sinisterpain sinisterpain is offline
 
Join Date: Feb 2006
Location: New Hampshire
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BozzaJos View Post
Nope, I don't have iBank installed. Really hope you (or someone else) can help me out with this problem. Don't like making it public to my members while there's a db error in it.
I just fixed the problem you are having with my files. Please download my zip again, the only file you need to upload to your webserver is the includes->functions_vbookie.php file.
I had changed the functions file to include Ibank money table to show the richest user in vbookie. Let me know if this resolves the issue.
Reply With Quote
  #1378  
Old 02-24-2007, 01:39 PM
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! It's all good now.. many thanks for your help Sinister.

By the way, I tested this hack by creating a new event. When I made this event there were suddenly two items @ vbookie.php. When the event was over and I cashed out the winner, the first item stayed there. When I click on Thread or Info it says "No Thread specified. If you followed a valid link, please notify the administrator". Is there any way of removing this item (probably in mysql table??)? My knowledge about this all isn't so big so if anyone could help me out (with details), I would appreciate it a lot. Thanks in advance.

And thanks again Sinister for fixing my original problem.

P.S. Another small question. I make events for Football (Soccer) matches. I want to do that you can say which team wins or a draw. However, the odds for the outcomes are most of the times 2.7, 1.5, 3.6 etc. etc. When I did the test event I noticed that you can't do numbers with 1 decimal.. only full numbers. It automaticly made 3 of 2.7 and 1 of 1.3. Is there a way to work with decimals? Only thing I could think of is doing for example 27 to 10, this automaticly makes it 2.7 to 1. But I was wondering if there might be an easier/more logical way of doing this?
Reply With Quote
  #1379  
Old 02-24-2007, 02:00 PM
ShayOUU ShayOUU is offline
 
Join Date: Feb 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do you upload the contents of the upload folder too? forum root?
Reply With Quote
  #1380  
Old 02-24-2007, 02:07 PM
BozzaJos BozzaJos is offline
 
Join Date: Feb 2006
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShayOUU View Post
where do you upload the contents of the upload folder too? forum root?
Yes, just upload it all to the forum root.
Reply With Quote
  #1381  
Old 02-24-2007, 02:14 PM
ShayOUU ShayOUU is offline
 
Join Date: Feb 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and is this intergrateable with VbPlaza 1.5.8?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05807 seconds
  • Memory Usage 2,314KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete