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)

psybernaut 05-07-2006 09:59 AM

Quote:

Originally Posted by cmbehan
It works well, and I made a cron job to run it, but we've decided to change our system to just give everyone an "allowance" of 500 vcash per month.

I know I've seen the SQL query to simply add (x) vcash to each user somewhere here, but I can't find it now.

Can anyone point me in the right direction?

Thanks!

I think something like this should work:
Code:

    $rs = mysql_query('UPDATE vb_user SET vbookie_cash = vbookie_cash + 500');
I haven't tried it, so I'd recommend you test it first before making a permanent change ;)

Quote:

Originally Posted by lowandloudinc
my vbookie stopped working now that we have moved out of ebux and into vbplaza. is there a fix for me to use my new vbplaza points with my vbookie? if so what do i do?

You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.

AM Guvnor 05-07-2006 10:58 AM

Hi Guys

Installed and displaying fine etc etc however when I go to switch on the permissions to yes for all (i.e for me to be bookmaker) when I save it defaults to no everytime and will not save as 'yes'

Any ideas? Ahhhh! LOL

AM Guvnor 05-07-2006 11:06 AM

Sorry bout that last post, read back and rebuilt bifields

What a cool addition this will be to the site. To the creator, thank you and you are a star :)

cmbehan 05-09-2006 09:11 PM

Quote:

Originally Posted by psybernaut
I think something like this should work:
Code:

    $rs = mysql_query('UPDATE vb_user SET vbookie_cash = vbookie_cash + 500');
I haven't tried it, so I'd recommend you test it first before making a permanent change ;)


You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.


PERFECT...that worked like a charm!

Thanks a ton and big props to the author also....vBookie is a ton of fun!

VBUsers 05-10-2006 05:19 AM

Quote:

Originally Posted by psybernaut
You need to install the vbookie hooks provided with vbplaza, then switch vbookie over to a custom cash type.


where would those be? thanks for your help by the way

psybernaut 05-10-2006 05:46 AM

Quote:

Originally Posted by lowandloudinc
where would those be? thanks for your help by the way

In the vbplaza zip file (not the vbookie download, the vbplaza one), there's a directory called 'vbookie integration'. That contains the hooks you need and a readme explaining how to install it.

Stubager 05-12-2006 10:06 AM

Hey!

On my site I made a betting competition. Now I am going to made another competition and I want to reset everybodys point to default (500 on my site).

How do I do this?

cmbehan 05-12-2006 12:35 PM

Quote:

Originally Posted by Stubager
Hey!

On my site I made a betting competition. Now I am going to made another competition and I want to reset everybodys point to default (500 on my site).

How do I do this?

Run the SQL statement
Code:

UPDATE vb_user SET vbookie_cash = (500)
That should set everyone back to 500.

Stubager 05-12-2006 03:27 PM

Quote:

Originally Posted by cmbehan
Run the SQL statement
Code:

UPDATE vb_user SET vbookie_cash = (500)
That should set everyone back to 500.

Okay, thanks. But I'm not very familar with doing SQL. How do I excactly do this? I use phpmyadmin.

cmbehan 05-12-2006 03:31 PM

Quote:

Originally Posted by Stubager
Okay, thanks. But I'm not very familar with doing SQL. How do I excactly do this? I use phpmyadmin.

-select your database
-select the SQL tab
-paste the code into the SQL statement box, press go.

rob30UK 05-15-2006 02:25 PM

Has anyone noticed there is a bug with timezone when DST is in effect?

I have to set all my events to the time MINUS AN HOUR or it shows the wrong time...

Any idea for a fix for this? Preferabally one that will take DST into account?

Stubager 05-15-2006 06:29 PM

Quote:

Originally Posted by cmbehan
-select your database
-select the SQL tab
-paste the code into the SQL statement box, press go.

Argh?!?!

Error

SQL-query :

UPDATE vb_user SET vbookie_cash = ( 500 )

MySQL said:
#1146 - Table 'fodboldforum_dk.vb_user' doesn't exist

cmbehan 05-15-2006 06:31 PM

Quote:

Originally Posted by Stubager
Argh?!?!

Error

SQL-query :

UPDATE vb_user SET vbookie_cash = ( 500 )

MySQL said:
#1146 - Table 'fodboldforum_dk.vb_user' doesn't exist

are you sure that "fodboldforum_dk" is your vBulletin database and not another database for your site?

Stubager 05-15-2006 06:42 PM

Quote:

Originally Posted by cmbehan
are you sure that "fodboldforum_dk" is your vBulletin database and not another database for your site?

Fodboldforum_dk is my login name. After clicking vb_user and the SQL tab I pasted the code you wrote and clicked "Go". The error appears after this.

gtsch 05-15-2006 10:42 PM

I have a problem, I set a usergroup that can do all the VBookie things, I save it, and it reverts to them not being able to do them.

I click yes in all the boxes, I save it, then when I check again they are all set to no again.

Anyone have any idea?

cmwg 05-16-2006 07:34 AM

vBookie installed and everything setup permissions etc.

I can create a new thread and setup a new bet.

BUT when going into the thread there is no display for actually betting!?!?

In the install instructions there is only the info to add in the newthreads template... is there something missing? to display in a normal runing thread?

vitnuce 05-16-2006 04:11 PM

Quote:

Originally Posted by gtsch
I have a problem, I set a usergroup that can do all the VBookie things, I save it, and it reverts to them not being able to do them.

I click yes in all the boxes, I save it, then when I check again they are all set to no again.

Anyone have any idea?

Try to build the bit fields :)
admincp/index.php?do=buildbitfields

gtsch 05-16-2006 07:30 PM

Quote:

Originally Posted by vitnuce
Try to build the bit fields :)
admincp/index.php?do=buildbitfields

Thanks, much appreciated.

cmwg 05-17-2006 01:37 PM

Quote:

Fatal error: Field vbookie_cash is not defined in $validfields in class vb_datamanager_user in /includes/class_dm.php on line 485
Getting this error in the ACP / User editor. :)

Ideas?

AM Guvnor 05-17-2006 10:15 PM

Hey

I have installed this and it works great

However my Vcash when members hit 0 drops in line with another icon I have for usergroups. How do I prevent this from happening

See here on username Lady Chatterlys post her Vcash has hit Zero (she isnt so good at betting) and the supporters logo has now moved from below the Vcash sign to beside it. This happened as soon as it dropped from three figures...

http://www.alphamen.co.uk/forum/showthread.php?t=315

Any ideas all??

Rabbitoh Warren 05-18-2006 03:30 AM

Try adding a <br /> in the postbit_legacy template right after where the vcash appears.

plateau 05-18-2006 03:51 AM

if the vbookie can enable a Banker to start a bet, and this banker win or lose money from the bet.(just like the real world), that will be GREAT!

Watson 05-19-2006 10:31 AM

Just a quick question (did search the thread)

How do I announce what the winner was on the events? and also, if I delete some of the options that are on it, will this still remove the people's cash from their vcash, cause the bet was placed?

I ask this because we are betting on big brother, and the odds will be changing alot, and we will be removing people from the betting as they are evicted (sad I know lol)

Watson 05-22-2006 08:26 AM

How do I declare 2 winners, because we had bets on the football, and some of them were winners on the game, but also the Half Time Full Time scores were bet on too, so even tho it was only 1 winner, there was more than 1 bet that won

rob30UK 05-22-2006 08:30 AM

cmwg, re-import the xml product.

sambah 05-22-2006 04:18 PM

This installs correctly, but when trying to set admin permissions for it, it refuses to save them.

It says "saved successfully" and then reverts to "no" for all 3 permissions

Does anybody have any idea what the settings in vbookie_settings in the "user" table should be to set admin permissions up manually?

Watson 05-23-2006 08:20 AM

It done that for me too sam, but then when I done it again, after setting the forum permissions, it seemed to be fine

Wayne2k1.com 05-26-2006 07:00 AM

Installed, works perfectly.
Thanks, man!

Zowners 05-27-2006 04:01 PM

This hack is pretty damn good :D

One question:

This hack works fine, but the members on my site are using "vcash" to bet with, not the "vbBux" points they already have accumulated on the site. When I change the "Cash/Points System" option to ebux, the whole betting system goes faulty.

So, is it possible to use the vbBux points to bet with? If it's not possible, could this be integrated into the next update?

Cheers

Foxsake 05-28-2006 04:05 PM

once my bets are settled it does not show result in the table or which bet has won (Win!) any idea how i can fix this?:confused:

GafferSports 05-30-2006 03:03 PM

Is there a way to modify a result if a user settled the bet incorrectly?

mdr666 06-03-2006 04:11 AM

Just installed...works great. I'll have to see what my users think :nervous:

Thanks!

bluesoul 06-04-2006 02:08 AM

Quote:

Originally Posted by vitnuce
Try to build the bit fields :)
admincp/index.php?do=buildbitfields

Thank you, solved my problem as well.

sully02 06-04-2006 03:28 AM

Quote:

Originally Posted by Detomah
I have to say, I would also be really interested in seeing other options added.

I love this hack to bits, but it is a bit stiff in what you can do regarding betting on stuff.

I'd love to see it so that the odds are dynamic and actually change depending on how many people bet on certain options.

Agreed. This in addition to point spreads would be a great option.

Also, the ability to set a maximum bet amount (Either by bet or global) would be a nice addition.

Footy 06-04-2006 11:09 PM

Nice, it works good and correctly.
But now the season of bets is over and i wanne reset all the bets so that all users begins the new bet season with 500. Is it possible and a way to do this?

[email protected] vbmenu_register("postmenu_1000049", true); 06-06-2006 11:38 AM

im getting this error - anyone help ?

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT item.item_id, item.item_title, item.threadid, grp.group_title, item.item_status, item.item_created, item.item_open_until, item.item_pay_after, item.item_n_bets_placed, item.item_amount_staked, item.item_allow_multiple_bets FROM vbookie_items AS item
LEFT JOIN vbookie_groups AS grp ON grp.group_id = item.group_id
WHERE item_id=4;

MySQL Error : Unknown column 'item.item_pay_after' in 'field list'
Error Number : 1054
Date : Tuesday, June 6th 2006 @ 01:34:46 PM
Script : http://www.**********.co.uk/forums/showthread.php?t=946
Referrer : http://www.**********.co.uk/forums/f...splay.php?f=73
IP Address : ********
Username :*********
Classname : vb_database

[email protected] vbmenu_register("postmenu_1000050", true); 06-06-2006 11:40 AM

Quote:

Originally Posted by Footy
Nice, it works good and correctly.
But now the season of bets is over and i wanne reset all the bets so that all users begins the new bet season with 500. Is it possible and a way to do this?

i think you can award any amount to users with 0 once you start a new bet - i think !!!!!

Zowners 06-07-2006 07:29 AM

I have the vbPlaza & vbBux store/points system on my site, is it possible to use those points to bet with? If so how?

Cheers :P

[email protected] vbmenu_register("postmenu_1000904", true); 06-07-2006 11:15 AM

I Have installed and edited all the templates including the newthread edit, but im getting no post vbookie event

Any Ideas?

[email protected] vbmenu_register("postmenu_1001059", true); 06-07-2006 02:47 PM

bump anyone willing to help


All times are GMT. The time now is 11:02 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.04879 seconds
  • Memory Usage 1,834KB
  • 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
  • (4)bbcode_code_printable
  • (18)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