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)

cavin420 02-27-2007 06:21 PM

hi folks,

sorry for sounding like an absolute amateur (that's cause i am one) i have intalled this hack, what to do next , i mean how to use it i have the vbookie on my v bulletin but how to put it to use, where to give it options e.t.c

a step by step guide would be rather nice,
much appreciated.

Chief108 02-27-2007 06:26 PM

any clues on where to look when *some* members of a certain group that's allowed to place bets get a "you cannot place bets" message while all other can???

lostgirl815 03-02-2007 08:25 PM

Posting to keep track of where I left off; hoping for a 3.6 that doesn't require modifying php code. (Because that frightens me.)

:)

sinisterpain 03-03-2007 12:02 AM

Quote:

Originally Posted by Chief108 (Post 1192075)
any clues on where to look when *some* members of a certain group that's allowed to place bets get a "you cannot place bets" message while all other can???

If you set this to use a specific forum make sure that the forum permisions are set for the usergroups you wish to post or make bets

nautiqeman 03-07-2007 06:21 PM

any idea on what needs to be done for this to work with 3.6.5

velleybolcu 03-08-2007 06:03 AM

there is a problem i think. i write odds as decimals. for exapmle if i my odd is 1,50 then i am writing 15/10 for this. then i bet 10 stake for this odd. when i win it must be 15 total. but it paids the main stake with winned stake. and it paids 25 stake total. do you have any idea for this? what must i do? thanx

tspepper 03-09-2007 01:06 AM

Anyone know of a way to "hide" bets until the even is closed?

basically i dont want people being able to see who bet on what until the event is closed. and i dont want using the private bet feature cause its a pain for mods to see who bet on what after the fact.

nautiqeman 03-09-2007 01:24 AM

Quote:

Originally Posted by Paul M (Post 1035092)
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.


Maybe I'm having a brain fart but what exactly am I suppose to edit with this code?

Mys 03-09-2007 04:11 AM

Applies to 3.6 only

1) Go into CP;

2) Plugins & Products->Plugin Manager

3) Edit: vBookie: Redirect to vbookie.php when posting new Event

4) Now, copy that code into the Plugin PHP Code text box. Save.

Assuming you followed the instrucitons in readme.txt; have set your permissions in the User Group Manager and Forum Manager and rebuilt your bitfields, you should be able to post a new event to vBookie from a forum thread.

That's as far as I got tonight.

:o

nautiqeman 03-09-2007 04:14 AM

Here is what's odd.. when I set the permissions and try to save them, they don't take.


All times are GMT. The time now is 06:17 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.02456 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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