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)

chimaira 01-04-2006 09:33 AM

<a href="http://yourforum/yourdir/admincp/index.php?do=buildbitfields" target="_blank">http://yourforum/yourdir/admincp/ind...buildbitfields</a>

Injektilo 01-04-2006 05:51 PM

i can see the settings chimaira. The only problem is that the changes wont be saved. it will always revert back to the default settings which is "no"

chimaira 01-04-2006 06:23 PM

Well i had the exact problem and it worked after do=buildbitfields

Synergy 01-04-2006 06:29 PM

Quote:

Originally Posted by Injektilo
i can see the settings chimaira. The only problem is that the changes wont be saved. it will always revert back to the default settings which is "no"

yes right , click save but not change permission...

Danny Diamond 01-05-2006 10:59 AM

This is so frustrating. I installed exactly as requested, but this is all I see.....

http://www.monks-diner.com/forum/vbookie.php?


Its all completely empty and I cant figure out where to add bets. I cant see it on that screen or in ACP.

Did I do something wrong? Well obviously...........but can you tell me how to fix it?

I really wanted to get VBookie working before the NFL playoffs started.

Thanks

chairman miaow 01-05-2006 12:16 PM

You add vBookie events through posting a message in your forum - it should come up as an option , in the same way as posting a poll does

Danny Diamond 01-05-2006 12:36 PM

Quote:

Originally Posted by chairman miaow
You add vBookie events through posting a message in your forum - it should come up as an option , in the same way as posting a poll does

I cant even get it to do that man.

Orcun 01-06-2006 09:42 AM

What does rebuilding bitfields mean ? I did it and It works NOW!

voleibolmurcia 01-06-2006 09:42 AM

Sorry for this stupid question, but i dont find the vBookie menu in the administrator control panel.

Danny Diamond 01-06-2006 10:07 AM

Quote:

Originally Posted by chairman miaow
You add vBookie events through posting a message in your forum - it should come up as an option , in the same way as posting a poll does


I rebuilt my tables and I see it now. Thanks. I appreciate it. I was looking in the wrong spot.

chairman miaow 01-06-2006 12:19 PM

Quote:

Originally Posted by voleibolmurcia
Sorry for this stupid question, but i dont find the vBookie menu in the administrator control panel.

It's in the "vBulletin options"

PurPulHaZe 01-06-2006 10:46 PM

umm this may sound dumb but i cant find where to post a new event can someone plz help???

Xplorer4x4 01-06-2006 10:49 PM

Quote:

Originally Posted by Orcun
What does rebuilding bitfields mean ? I did it and It works NOW!

I did this but when i save the vbookie permisions to yes on 3.5.3 it just resets them to no.

EDIT: I disbaled Andreas, merge template funtion and it worked now.

Xplorer4x4 01-06-2006 10:51 PM

Quote:

Originally Posted by PurPulHaZe
umm this may sound dumb but i cant find where to post a new event can someone plz help???

If you did the template edit, it should be towards the bottom of the page.

Danny Diamond 01-09-2006 02:12 PM

Is there a way to get some sort of leaderboard for UCash or Vbookie? And if there is where is it? :rolleyes:

MissKalunji 01-09-2006 02:22 PM

Quote:

Originally Posted by KYNSimon
Is there a way to get some sort of leaderboard for UCash or Vbookie? And if there is where is it? :rolleyes:

that would be great

barny11 01-12-2006 04:34 PM

Installed on our test forum v3.5.3 and followed the install instuctions to the letter but still had to do the rebuild bitfields to get it working right.

Is there a way to change from $ to ? ?

Thanks for a great hack Andreas

Install ticked :)

MissKalunji 01-13-2006 04:37 AM

i need an addon for that mod if someone got some time and wants to make a little $ plz pm me :)

DS MrSinister 01-13-2006 05:00 AM

Quote:

Originally Posted by barny11

Is there a way to change from $ to ? ?



Install ticked :)


My guess it would be a Phrases change not sure which one it would be..

Oddjob 01-13-2006 09:38 PM

Im having a problem.

I cannot get the administrator setting to stay "on" when i save. It just returns itself to the "off" setting for all 3.

chairman miaow 01-13-2006 10:11 PM

:speechless:

Quote:

you have to rebuild your bitfields.
Code:

http://www.path.to.your.forums/admincp/index.php?do=buildbitfields


Oddjob 01-13-2006 10:21 PM

Quote:

Originally Posted by chairman miaow
:speechless:


yea i found it a few pages back.

sry.

49er 01-14-2006 07:48 PM

When there is more than one page to view of SETTLED Bets I can not get past page one as it won’t let me view the other pages it just returns to the 1st page again, can this be rectified?

trackpads 01-19-2006 08:14 AM

Quote:

Originally Posted by Acido
contribution:

for those who wish to limit the maxi bet amount per item:

in vbookie.php search for:

PHP Code:

 foreach ($vbulletin->GPC['option'] AS $option_id => $stake)
{
if (
$stake 0)
{
$db->query_write("INSERT INTO " TABLE_PREFIX "vbookie_bets_placed (option_id, item_id, userid, bet_amount_placed, bet_odds_against, bet_odds_for, bet_private) VALUES ($option_id$item_id, " $vbulletin->userinfo['userid'] . ", $stake, " $odds_against["$option_id"] . ", " $odds_for["$option_id"] . ", '$private')");
$db->query_write("UPDATE " TABLE_PREFIX "vbookie_item_options SET option_n_bets_placed=option_n_bets_placed+1, option_amount_staked=option_amount_staked+$stake WHERE option_id=$option_id");
}


And change it for this code:

PHP Code:

 foreach ($vbulletin->GPC['option'] AS $option_id => $stake)
{
if (
$stake 0)
{
if (
$stake 10000)
{
$stake 10000;
}
$db->query_write("INSERT INTO " TABLE_PREFIX "vbookie_bets_placed (option_id, item_id, userid, bet_amount_placed, bet_odds_against, bet_odds_for, bet_private) VALUES ($option_id$item_id, " $vbulletin->userinfo['userid'] . ", $stake, " $odds_against["$option_id"] . ", " $odds_for["$option_id"] . ", '$private')");
$db->query_write("UPDATE " TABLE_PREFIX "vbookie_item_options SET option_n_bets_placed=option_n_bets_placed+1, option_amount_staked=option_amount_staked+$stake WHERE option_id=$option_id");
}


Where you can change 10000 for desired value for max bet amount :)


Thank you Tahnk you Thank you!!!!!!!!!

dubsyxxx 01-20-2006 12:54 AM

one of the best hacks ever

blue6995 01-20-2006 12:22 PM

I have installed and everythings appears to be running ok. One thing I have noticed is that 'Open Until' and 'Payouts After' dates are the same, despit having set the date for payouts for about 5 weeks after that date.

Is this an error and if it is, how can I resolve it

Thanks

N-0p3rz 01-20-2006 02:50 PM

I just installed it, the only problem i'm having is whenever i try to change the permissions settings from no to yes, it never saves it. It always stays on no.

Andreas 01-20-2006 02:55 PM

Install it correctly and it will work.

bashy 01-20-2006 04:02 PM

Does he/she not need to rebuild the bitfields?

Quote:

Originally Posted by N-0p3rz
I just installed it, the only problem i'm having is whenever i try to change the permissions settings from no to yes, it never saves it. It always stays on no.


Andreas 01-20-2006 04:26 PM

That is being done at the end of the product import process.

blue6995 01-20-2006 09:15 PM

Oops, I left the check mark in the Same as 'Accept Bets Until' date, sorry!

blue6995 01-20-2006 09:16 PM

Quote:

Originally Posted by blue6995
I have installed and everythings appears to be running ok. One thing I have noticed is that 'Open Until' and 'Payouts After' dates are the same, despit having set the date for payouts for about 5 weeks after that date.

Is this an error and if it is, how can I resolve it

Thanks

Oops, I left the check mark in the Same as 'Accept Bets Until' date, sorry!

hurricane_sh 01-20-2006 09:41 PM

Hello,

I installed the hack, everything seemed to go well, but I have a couple of silly questions:

1. After posted a betting event, I can't see anything in the thread, although I can find it via vBookie menu, is it normal? Also can't find where to bet.

2. Does it set limit on a member can bet? What will happen if someone bets more than the points he has?

Thanks!

majoreyeswater 01-21-2006 02:00 AM

I would really appreciate some help.

Am absolutely convinced I followed everything to the letter. I have checked each of my templates and they match the instructions.

I have switched eveyrthing on in admin CP (andthey stay on) have amended forum permissions AND user permissions to allow use of vbookie. BUT when i make a new thread/post - there is no option to create an event - I am assuming it should be in the drop down menu under 'add poll' - but I get nothing.

Help would be appreciated.

**** Ignore me - I'm a tosser, didn't see the check box at the bottom ******

thanks, al working well

EasyTarget 01-21-2006 02:36 AM

Quote:

Originally Posted by Andreas
Install it correctly and it will work.

no it won't. haven't you seen how many people have had to rebuild the bitfields manually?

majoreyeswater 01-21-2006 03:54 AM

Quote:

Originally Posted by majoreyeswater
I would really appreciate some help.

Am absolutely convinced I followed everything to the letter. I have checked each of my templates and they match the instructions.

I have switched eveyrthing on in admin CP (andthey stay on) have amended forum permissions AND user permissions to allow use of vbookie. BUT when i make a new thread/post - there is no option to create an event - I am assuming it should be in the drop down menu under 'add poll' - but I get nothing.

Help would be appreciated.

**** Ignore me - I'm a tosser, didn't see the check box at the bottom ******

thanks, al working well


OK, now I am lost.

This installed and worked.

I created a bet event as test, i abandoned it and now it won't give me the option to create a new event - the tick box isn't there. any chance of someone able to guide me. Have logged under different ids but no joy.

All usergroups are set up for us all forum permissions are set up for us and the mail switch is set to on.

looks like a great feature and would love to use it regualarly.

thanks in advance

shaynehammy 01-21-2006 06:40 AM

Please can someone give me some advice. Got 3.5.3 installed and trying to install this mod. However, the one template edit says

EDIT: Navigation / Breadcrumb Templates
* navbar
FIND
Code:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>

Is not there under nav??. I have searched all my templates for this code and nothing is being returned? Am i being stupid?

Therfore, my VBookie link doesnt work and i cant find the ADmin Vbookie permissions under Usergroups.

Thanks

hurricane_sh 01-21-2006 12:51 PM

shaynehammy: 3.5.3 is little bit different. Search "<td class="vbmenu_control"><a href="calendar.php?$session", then add the line in the same way.

shaynehammy 01-21-2006 11:37 PM

So this hack works on 3.5.3?

MissKalunji 01-21-2006 11:49 PM

yes it does


All times are GMT. The time now is 11:01 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.02855 seconds
  • Memory Usage 1,843KB
  • 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
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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