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
  #1302  
Old 01-11-2007, 08:37 AM
whitestorm whitestorm is offline
 
Join Date: Jun 2006
Location: Northern Ireland
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Foxsake View Post
Hi does anyone know how to adjust the Number of outcomes in a new event? (its set at 2 originally)
I know you can add more as you wish then press the update button.
But wondered if i could have the default as 3 in place of 2?

Cheers for any help or advice
Look in vbookie.php, around line number 1360 for this code:

PHP Code:
    if ($vbulletin->GPC['vbookieeventoptions'] < 2)
    {
        
$vbulletin->GPC['vbookieeventoptions'] = 2;
    } 
Change the 2 to 3 in both lines and you'll have it default to 3 outcomes instead of two.
Reply With Quote
  #1303  
Old 01-11-2007, 09:35 AM
Foxsake Foxsake is offline
 
Join Date: Apr 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much whitestorm - i appreciate the quick response
Reply With Quote
  #1304  
Old 01-12-2007, 09:07 AM
punchbowl punchbowl is offline
 
Join Date: Nov 2006
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason all the mods on the forum seem to be able to settle bets despite "Can Post vBookie Events" = no. I have a seperate group for vbookies

What have I missed?!

ok I commented this out in product_vbookie.xml
Code:
// moderators can edit events
	//if (can_moderate($threadinfo['forumid']))
	//{
        //	$isbookmaker = true;
	//}
seems to be working
Reply With Quote
  #1305  
Old 01-13-2007, 11:43 AM
wilburshere wilburshere is offline
 
Join Date: May 2005
Location: Sydney
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would like to disable the private bet feature any ideas on how this can be done ?
Reply With Quote
  #1306  
Old 01-14-2007, 07:36 PM
TwinsForMe TwinsForMe is offline
 
Join Date: Oct 2004
Location: Canada
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TwinsForMe View Post
I'm running 3.6.4.
I did the plugin fix as per Paul's instructions.
I rebuilt the bitfields.
I did the template edit.

The only ones that can post an event are admins even though other usergroups are enabled. The event checkbox doesn't show up in the new thread for others.

Any suggestions?
Anyone?
Reply With Quote
  #1307  
Old 01-14-2007, 10:20 PM
cam2 - old cam2 - old is offline
 
Join Date: Jul 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by brvheart View Post
Login to admincp,

scroll down to "plugins and products" and expand it

the click "plugin mamager"

in the list find "Product: Vbookie"

in that list find:

"vBookie: Redirect to vbookie.php when posting new Event"

to the right is a edit button...click it

in the middle of the edit page you will see: "Plugin PHP Code Use this field to enter the PHP code that you would like to be run."

replace what is in there with the following:

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


save and you are done


hope this helps.


if you need more help pm

Thank you very much, works great! I appreciate your help.
Reply With Quote
  #1308  
Old 01-14-2007, 10:27 PM
CrossBones's Avatar
CrossBones CrossBones is offline
 
Join Date: Oct 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've looked to find the answer but can't seem to come up with it.

I am running vB 3.5.4 with vBookie installed. Will this work with 3.6.x when I upgrade?
Reply With Quote
  #1309  
Old 01-15-2007, 10:22 AM
Fr4gZ's Avatar
Fr4gZ Fr4gZ is offline
 
Join Date: Aug 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there I installed vbookie a week or so ago and everything was running smooth after I added the vb 3.6 patch. I'm currently using vb 3.6.4.

After a few days when anyone went to click the vbookie link it came up with a databse error. I wasn't sure if rebuilding the bit fields again wud work but I tried that too but that didnt help. Here's the error message:

http://www.fr4gz.co.uk/forum/vbookie.php?

I re-installed vbookie from scratch and it worked fine again until today. Please help.

P.S love the mod so I hope someone has some advice.
Reply With Quote
  #1310  
Old 01-15-2007, 02:54 PM
CrossBones's Avatar
CrossBones CrossBones is offline
 
Join Date: Oct 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed this. Apparently this is how to fix it!
Reply With Quote
  #1311  
Old 01-15-2007, 04:10 PM
JIZZLE23 JIZZLE23 is offline
 
Join Date: Aug 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
vBookie & 3.6

The posting of vbookie events in 3.6 is broken because the hook used has moved.

To fix this problem, the following plugin must be edited ;


vBookie: Redirect to vbookie.php when posting new Event

Replace the 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));

Note: I'm not actually using vbookie atm so I can't comment on any other problems.
Where exactly do I replace the code? Any help is appreciated Thank You

JIZZLE23
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:03 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.08817 seconds
  • Memory Usage 2,332KB
  • 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
  • (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