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)

Holidazed 07-10-2006 07:40 PM

OK, that seemed to have solved that problem. Thank you.

Question: How do you add an event? I goto the vBookie section of my site and do not see any option to add anything. I am admin and I set that usergroup to be able to do it all.

Do I add events only through posting of messages or can it be done through a seperate interface?

Rat1972 07-11-2006 04:07 PM

Quote:

Originally Posted by bitg
OK, that seemed to have solved that problem. Thank you.

Question: How do you add an event? I goto the vBookie section of my site and do not see any option to add anything. I am admin and I set that usergroup to be able to do it all.

Do I add events only through posting of messages or can it be done through a seperate interface?


Did you put the code in your template files?

And to set a event you must give the forum/section the good premissions.

Go to your admin menu --> Forum and moderators ---> Change premissions for the forum you want to play vbookie. And give the good premission to all the usergroups on your forum.

Hope this will solve your problem

Best regards

Holidazed 07-11-2006 05:21 PM

OK, it seems I can events through a post, but I see nothing at all in the individual forum properties that have anything to do with vBookie. I see plenty for vbPlaza and vBux but nothing at all for vBookie. Granted, I saw the options in the individual usergroups and have set them appropriately, but I would love to limit vBookie event to only one of my hundreds of forums.

Ideas?

Stanesq 07-12-2006 08:59 PM

Quote:

Originally Posted by sickstrings
I think I got it, but try at your own risk.

Part 1
AdminCP --> Languages & Phrases --> Phrase Manager --> Add New Phrase

Product: vBookie
Varname: vbookie_max_bet_exceeded
Text: Whoops! Looks like you bet more than 100 bucks. Try again but make sure you bet no more than 100 bucks.

Part 2
In vbookie.php

Find this
PHP Code:

    if ($total_stake vbookie_get_user_cash())
    {
        eval(
standard_error(fetch_error('vbookie_not_enough_cash')));
    } 

After the above, add the following
PHP Code:

    if ($total_stake 100)
    {
        eval(
standard_error(fetch_error('vbookie_max_bet_exceeded')));
    } 

Save vbookie.php

That should do it!

FOR SOME REASON, It cant find the phrase vbookie_max_bet_exceeded

any ideas why?

patrickstar 07-18-2006 11:59 PM

if you are using vcash, does the members betting, bet against the house or bet against the event creator?

Paul M 07-21-2006 08:45 PM

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.

ubblite 07-22-2006 12:54 AM

Thanks for the fix, Paul M.

Rat1972 07-22-2006 08:43 AM

Thanks Paul!

When there will be a nobelprice for coders, it will goes to you ;)

Maxman1544 07-24-2006 03:39 AM

I am on 3.6 Beta 4 and this didn't seem to work. Has anyone tried this? Should I upgrade to RC2?

Thanks.

ubblite 07-24-2006 07:26 AM

Quote:

Originally Posted by Maxman1544
I am on 3.6 Beta 4 and this didn't seem to work. Has anyone tried this? Should I upgrade to RC2?

Thanks.

I'm using it with 3.6.0 RC1 & it's working (with Paul M's fix).


All times are GMT. The time now is 05:16 AM.

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.02758 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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