vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBookie for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94128)

Quads 08-29-2008 09:54 PM

Quote:

Originally Posted by bobster65 (Post 1610180)
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!

Gimmick 08-30-2008 12:05 PM

Im about to upgrade my 3.6.8 with working vbookie to 3.7.2

any known issues, or should it upgrade fine?

leftwich86 09-01-2008 06:58 PM

Quote:

Originally Posted by Lombardo (Post 1604413)
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.

bobster65 09-01-2008 08:31 PM

Quote:

Originally Posted by leftwich86 (Post 1612246)
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..

leftwich86 09-02-2008 01:37 AM

I must be an idiot cause I have no idea what you're referring to...

bobster65 09-02-2008 02:12 PM

Quote:

Originally Posted by leftwich86 (Post 1612433)
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));



jesus likes pie 09-06-2008 05:51 PM

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;
        }
    } 


siriuxs 09-07-2008 03:50 PM

I want install this mod on my vbulletin forum 3.7.3.. it is possible? It is functionally?

SVTCobraLTD 09-09-2008 10:12 AM

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?

SVTCobraLTD 09-12-2008 01:50 PM

Quote:

Originally Posted by SVTCobraLTD (Post 1618129)
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


All times are GMT. The time now is 08:56 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.03205 seconds
  • Memory Usage 1,764KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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