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
  #2012  
Old 08-29-2008, 09:54 PM
Quads Quads is offline
 
Join Date: Jul 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
did you rebuild the bit fields so the permissions don't default back to no?

Append this to your forms URL..

/admincp/index.php?do=buildbitfields
:heart:
That was the trick.

Rebuilt bitfields, reset permissions for "Bookie" group, created even, bet.

Much thanks!
Reply With Quote
  #2013  
Old 08-30-2008, 12:05 PM
Gimmick Gimmick is offline
 
Join Date: Mar 2008
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im about to upgrade my 3.6.8 with working vbookie to 3.7.2

any known issues, or should it upgrade fine?
Reply With Quote
  #2014  
Old 09-01-2008, 06:58 PM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lombardo View Post
When i select "post a vbookie event" and click to post tthread, it just comes up a normal thread and not the options to do my vbookie event, any ideas? Doesn't matter, i've fixed that.

My next problem no matter what date or time i set on an event i can't place any bets, all my permissions are set correctly, i'm 100% sure of that. Any ideas?

The times are backwards, my board time is gmt and my bookie is gmt but i have to set it for 4am if i want it to end at 4pm how do i fix that
I'm having the same problem, my permissions stay at yes but when I go to post the event and check the box for it the event never shows up, it just shows up as a regular thread. Any help would be greatly appreciated.
Reply With Quote
  #2015  
Old 09-01-2008, 08:31 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leftwich86 View Post
I'm having the same problem, my permissions stay at yes but when I go to post the event and check the box for it the event never shows up, it just shows up as a regular thread. Any help would be greatly appreciated.
You didn't apply Paul M's "fix" There are a ton of references to this..
Reply With Quote
  #2016  
Old 09-02-2008, 01:37 AM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must be an idiot cause I have no idea what you're referring to...
Reply With Quote
  #2017  
Old 09-02-2008, 02:12 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leftwich86 View Post
I must be an idiot cause I have no idea what you're referring to...
That's because you didn't read back far enough.... Its the single most talked about subject besides the bitfields..

Step 1. Log into your Admin Control Panel.

Step 2. Scroll down the left hand nav menu until you get to the Plugins & Products Area.... expand it.. click on Plugin Manager. This will then bring up all the plugins that you have installed within vbulletin...

Step 3. Scroll down the list and look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....

Step 4. Find the specific plugin that needs to be modified (vBookie: Redirect to vbookie.php when posting new Event) and then click on [edit]. This will open the plugin so that you can replace the block of code with the block that Paul had in his post (which is located below)

Replace the current plugin code with this:

PHP Code:
if ($newpost['postvbookieevent']) 

    
$vbulletin->url 'vbookie.php?' $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent"
    eval(
print_standard_redirect('redirect_postthanks_moderate'truefalse));

Reply With Quote
  #2018  
Old 09-06-2008, 05:51 PM
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In case anyone wants to make it so only admins can settle bets (I know I needed that and I saw someone else post way back the same thing).

It's an ugly fix in that I didn't add any options to the actual mod. I just hardcoded in so that it would always be like that.

pretty easy.

plugin:

vBookie: Show Events in Showthread


find

PHP Code:
    if ( ($eventinfo['item_pay_after'] < TIMENOW) )
    {
        if (
$eventinfo['item_status'] ==  'CLOSED')
        {
            if (
$show['editevent'])
            {
                
$showsettlebutton 1// only show settlement button if it's someone that can edit this event
            
}
        }
        else if (
$eventinfo['item_status'] ==  'SETTLED')
        {
                    
$showresults 1;
        }
    } 

replace with

PHP Code:
    if ( ($eventinfo['item_pay_after'] < TIMENOW) )
    {
        if (
$eventinfo['item_status'] ==  'CLOSED')
        {
            
$userinfo fetch_userinfo($vbulletin->userinfo['userid']);
            if (
$show['editevent'] AND ($userinfo['usergroupid'] == "6"))
            {
                
$showsettlebutton 1// only show settlement button if it's someone that can edit this event
            
}
        }
        else if (
$eventinfo['item_status'] ==  'SETTLED')
        {
                    
$showresults 1;
        }
    } 
Reply With Quote
  #2019  
Old 09-07-2008, 03:50 PM
siriuxs siriuxs is offline
 
Join Date: Nov 2005
Location: Italia
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want install this mod on my vbulletin forum 3.7.3.. it is possible? It is functionally?
Reply With Quote
  #2020  
Old 09-09-2008, 10:12 AM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I click on Bet Statistics in 3.6.10pl2 I get
Code:
Database error in vBulletin 3.6.10:

Invalid SQL:
;

MySQL Error  : Query was empty
Error Number : 1065
Date         : Tuesday, September 9th 2008 @ 10:01:05 AM
Script       : http://www.xx.com/forums/vbookie.php?do=stats
Referrer     : http://www.xx.com/forums/vbookie.php
IP Address   : xx
Username     : xx
Classname    : vB_Database
Also, I did the templete add in "newthread" and have my forums permissions set that admin's can post a new vbookie event yet when I click New Thread, there is no option to add a vbookie event. What am I missing?
Reply With Quote
  #2021  
Old 09-12-2008, 01:50 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTCobraLTD View Post
Also, I did the templete add in "newthread" and have my forums permissions set that admin's can post a new vbookie event yet when I click New Thread, there is no option to add a vbookie event. What am I missing?
Anyone have any thoughts on this. I have confirmed that the admin has all the forum permissions checked yes in the forum I am trying to start a vbookie event. Also confirmed all the files are uploaded. Confirmed I did the template edit. But still no box to check to make it a vbookie event. Any advice would be good. Thanks
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 03:23 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.06682 seconds
  • Memory Usage 2,340KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (5)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
  • (4)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