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)

Lionel 10-02-2006 08:28 PM

I am using 3.60 and there was a fix somewhere.
Anyway, how would I go about posting an event after the thread has already been created (by the calendar hack in this case)?

Lionel 10-03-2006 01:19 AM

My problem is with permissions and those 2 codes

PHP Code:

/*lionel $can_post = (
   (
    ($editing AND (($forumperms & 
$vbulletin->bf_ugp_forumpermissions['caneditothersvbookieevents']) OR $threadinfo['postuserid'] == 
$vbulletin->userinfo['userid']) AND $threadinfo['vbookie_item_id'])
               OR
    (!$editing AND $vbulletin->userinfo['userid'] == 
$threadinfo['postuserid'] AND ($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostvbookieevent']))
   )
   AND
   ($forumperms & $vbulletin->bf_ugp_forumpermissions['canview'])
 );
 DEVDEBUG("can_post is $can_post");
 if ((!$editing AND !$threadinfo['visible']) OR $threadinfo['isdeleted'] OR !$can_post)
 {
  print_no_permission();
 }
*/ 

PHP Code:

/*lionel $forumperms = fetch_permissions($foruminfo['forumid']);
 if (
  $vbulletin->userinfo['userid'] != $threadinfo['postuserid'] OR 
  !($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR
  !($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostnew']) OR
  !($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostvbookieevent'])
 )
 {
  print_no_permission();
 }
*/ 

When I comment them out, the link posts. Problem is admin has permissions, but with that method, vbookie does not recognize them.

phpdevrus 10-03-2006 02:22 AM

Quote:

Originally Posted by cuphongle
vbookie doesnt work wit "vbux" on 3.61


vbookie does work with vbbux ;-)

phpdevrus 10-03-2006 02:23 AM

Quote:

Originally Posted by Eagle Creek
Where can I edit the NEWS & EVENTS part? Cause I want to delete the part that says vBookie installed and put news there.

at this point I dont believe that we can actually go in there to remove or edit any of the news. you can however remove it from the db.

phpdevrus 10-03-2006 02:25 AM

Quote:

Originally Posted by JamieLee2k
can anyone tell me why this might not let me make a bet or even how to use it

depends what money system you have it integrated with.

either way you need to make sure that your usergroup has vbookie permissions like creation, edit and post. then you also need to make sure that vbookie is allowed in that forum that you are posting to.

if you cant bet on vbookie events you create then make sure you are using the correct money system setting. for example for it to work with vbbux you need to set it to the custom / blank money system :-)

good luck.

phpdevrus 10-03-2006 02:28 AM

Hmmm how weird. I dont have that issue at all. someone else had a similar issue of winners being paid double/triple and we found out that he had not fully remove previous installs. after making sure that only 1 of each new hook/call was setup then it functioned properly.

so i would suggest re-installing but to make sure that only one of each call/hook is setup.

i have no problems with vbookies. however i have not come across the multi-page issue as i have that many different members place a bet.

Quote:

Originally Posted by Aclikyano
VBOOKIE 1.0.8 Needs to be released for 3.6.1 !!
with all compatible issues fixed... that would be great....
Because the problem I HAVE is when we settle bets.. people get 500 x more then what they bet (if they win).... and the odds arent that high or low...
So were puzzled... 3 people won.. yet 2 ppl got ALOT of money and the other person nothing....
"BUG FIX in 1.0.7" -> fixed events not being paid out correctly
^ Is not actually FULLY FIXED...... as alot of ppl are still not being payed, being payed WAY TOO MUCH.. or 1/3 of the ppl who WON that event get nothing while the other 66% get paid.
---------------
Cant wait for Vbookie 1.0.8 to be released for 3.6.1 (or 3.6.2) as its coming out shortly.
---------------


Eagle Creek 10-03-2006 05:24 PM

Can somebody reply?

1. Where can I edit the NEWS & EVENTS part? Cause I want to delete the part that says vBookie installed and put news there.

2. When the bet is done; how does the system now who won?

3. Can somebody explain the odd's to me? 1 - 1 ==> you get 1 dollar for every dollar you pay.
10 - 1 ==> you get 10 dollar for every dollar you pay
5 - 2 ==> hu?
The system says:
Quote:

2 to 5' means win 2 for every 5 bet
So I bet 5 dollars, and I win 2? Then I still lose; don't I?

EasyTarget 10-03-2006 05:35 PM

you get your original bet back, so if you bet 5 dollars and win 2 you'll get your original bet + the 2 you won.

Eagle Creek 10-03-2006 06:16 PM

Hmm... I don't know :D.

Can you give an example what to fill in at Winning and Losing. What would be normal?

bandare 10-03-2006 08:07 PM

Is there a latest vbookie bet addon for vbadvanced? There used to be on the old version I think...anyone help?

you know, like latest poll that works in the same way:)


All times are GMT. The time now is 09:40 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.03691 seconds
  • Memory Usage 1,751KB
  • 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
  • (2)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
  • (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