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
  #982  
Old 08-13-2006, 11:22 AM
wilburshere wilburshere is offline
 
Join Date: May 2005
Location: Sydney
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it working on 3.6 only took all afternoon to work it out

thank christ thats over my members live for it
Reply With Quote
  #983  
Old 08-13-2006, 04:57 PM
henners henners is offline
 
Join Date: Feb 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers for the fix for 3.6....working great
Reply With Quote
  #984  
Old 08-13-2006, 07:00 PM
daticus daticus is offline
 
Join Date: Jul 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know this sounds really easy but how do I set it so people can bet? I'm the admin and i can't even place bets (even though I can edit them).

I set "Can place Bets" to "Yes" in the Forum Permission and "Usergroup Permission;" yet I still can't place bets as the admin or a regular user.
Reply With Quote
  #985  
Old 08-13-2006, 10:28 PM
Baudman Baudman is offline
 
Join Date: Jan 2006
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daticus
I know this sounds really easy but how do I set it so people can bet? I'm the admin and i can't even place bets (even though I can edit them).

I set "Can place Bets" to "Yes" in the Forum Permission and "Usergroup Permission;" yet I still can't place bets as the admin or a regular user.
I'm having the same problem after changing the code to make it work for 3.6.0
Reply With Quote
  #986  
Old 08-14-2006, 01:22 AM
Oddjob Oddjob is offline
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant get this working with vbbux because it only allows "ebux" (the former name of vbbux)..........
Reply With Quote
  #987  
Old 08-14-2006, 01:40 AM
daticus daticus is offline
 
Join Date: Jul 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oddjob
Cant get this working with vbbux because it only allows "ebux" (the former name of vbbux)..........

go to the functions_vbookie.php file, open it and edit all the SQL queries that say

PHP Code:
                case 'ebux':
            
$q "SELECT username, ebux AS cash FROM " TABLE_PREFIX "user ORDER BY cash DESC LIMIT 5";    
            break; 

replace the "ebux" part with "vbbux" like this:

PHP Code:
                case 'ebux':
            
$q "SELECT username, vbbux AS cash FROM " TABLE_PREFIX "user ORDER BY cash DESC LIMIT 5";    
            break; 
There's like 4 to 6 entries like that, don't replace "case 'ebux'" though, leave that alone.


But, i can't get it to work 100%, since it won't let anyone place a bet, even after you set your usergroup to be able to bet.

Also, don't expect much help around here, people only want $$$ for support (its a damn shame). I presonally think jelsoft should ban anyone wanting payment for support.
Reply With Quote
  #988  
Old 08-14-2006, 01:41 AM
Oddjob Oddjob is offline
 
Join Date: Jan 2006
Location: Long Island, NY
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by daticus
go to the functions_vbookie.php file, open it and edit all the SQL queries that say

PHP Code:
                case 'ebux':
            
$q "SELECT username, ebux AS cash FROM " TABLE_PREFIX "user ORDER BY cash DESC LIMIT 5";    
            break; 

replace the "ebux" part with "vbbux" like this:

PHP Code:
                case 'ebux':
            
$q "SELECT username, vbbux AS cash FROM " TABLE_PREFIX "user ORDER BY cash DESC LIMIT 5";    
            break; 
There's like 4 to 6 entries like that, don't replace "case 'ebux'" though, leave that alone.
Cool, thanks for the quick response. I try it tommorrow, too tired for that right now.
Reply With Quote
  #989  
Old 08-15-2006, 08:30 AM
movielist movielist is offline
 
Join Date: Jun 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI:

After making the vBookie & 3.6 by Paul M changes above, things seem to be working.
New vbookie event was placed and is accepting bets (from vbBux).
Haven't tried cashing out yet though.
Reply With Quote
  #990  
Old 08-15-2006, 08:47 AM
dxguru dxguru is offline
 
Join Date: May 2005
Location: England
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do we also need to change $vbulletin->userinfo['ebux']; to $vbulletin->userinfo['vbbux']; (in several places) ?
Reply With Quote
  #991  
Old 08-15-2006, 09:06 AM
dxguru dxguru is offline
 
Join Date: May 2005
Location: England
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even better ... the code should be changed to userinfo[$vbulletin->options['vbbux_pointsfield']] instead of hardcoding the word 'vbbux'
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 02:16 PM.


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.05787 seconds
  • Memory Usage 2,323KB
  • 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
  • (4)bbcode_php
  • (3)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
  • (5)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