vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBookie - vBulletin Betting Hack (https://vborg.vbsupport.ru/showthread.php?t=65844)

Zeke 03-30-2005 04:23 AM

I have installed vBookie and have been using it.

Fantastic hack, probably the best hack actually! In fact, vBulletin should pay to license it for their next release.

My question.

I have been using it, but now it seems that in USERGROUPS the THREE options to enable vBookie voting etc for each group is not showing up. It shows up in MOST of my USERGROUPS radio button options/selections but does not in others. I have it selected correctly under the vBookie Area in my AdminCP so I have vBookie switched on, but cant see to see an area in the Registered Users group to make it active.

As I said, there was an area a week ago, now there is not... Any ideas? Would be very much appreciated. Alternatively, where in the dbase can I switch on vBookie betting for usergroup #2?

Thanks.

Zeke 03-30-2005 11:55 AM

can anyone tell me how i can manually change a usergroups axs to vbookie from the mysql db? thnx

I have the vbookie panel in the CUSTOM USERGROUPS so I can edit to make people able to create/bet on events, but it doesnt show the panel in the DEFAULT USERGROUPS. So ive no way at all to make my default users have access to bet. At present, only the mods can bet and that looks bad.

So any idea why it's doing that? :(

Lizard King 04-02-2005 12:52 PM

I have a question about uninstallation process. I uninstalled this modifications by applying all template and file edits to backwards. Now is it save to drop vbookie tables from database ? I have some closed bets.

Kru 04-03-2005 06:15 AM

I am getting the following error message: Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 3036

Any idea what I made wrong?

Ock 04-05-2005 08:25 PM

I've discovered a huge flaw in the way vBookie events work that allow someone to vote on any events at odds of his own choosing.

The way to do this, which i discovered by chance, is trivial: make a copy of the form - and edit it to change the odds, which are written in the webpage and not checked after submission.

I thought you should know, because someone wanting to exploit it could do so incredibly easily.

Is there any thoughts as to how to fix this??? Much thanks.

WhiteOx2 04-05-2005 08:34 PM

That's why I only let Mods add betting events. ;)

Ock 04-06-2005 12:53 PM

Yeah, me too.

But any USER do this, as long they can bet on the event...

djwins 04-07-2005 02:51 PM

How will this hack affect forum performance?

cashpath 04-07-2005 04:41 PM

Quote:

Originally Posted by nighteyes
Just so you know there's a HUGE FLAW in this hack. A user can just save a copy of the vbookie thread to their computer, point the form to the http:// address of the website and bet at whatever odds they choose.

The solution is not setting odds based on the hidden form variables:
<input type="hidden" name="odds2[1]" value="10">
<input type="hidden" name="odds2[1]" value="1">

But by taking the item id:
<input type="hidden" name="item_id" value="1680" />

And grabbing the current odds from the database itself.

Yes this flaw has already been pointed out the fix for it has already been pointed out also

The Realist 04-10-2005 03:50 PM

First time install and Im getting this database error with version 3.0.7 on install:

Database error in vBulletin 3.0.7:

Invalid SQL:
CREATE TABLE vbookie_groups (
group_id SMALLINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY,
group_title VARCHAR(255) NOT NULL
) TYPE=MyISAM

mysql error: Invalid default value for 'group_id'

mysql error number: 1067

Date: Sunday 10th of April 2005 12:48:51 PM
Script: http://www.xxxxxxxx.com/forums/admin...ie_install.php
Referer: http://www.xxxxxxxx.com/forums/admin...ie_install.php
Username:
IP Address:

Anyone?


All times are GMT. The time now is 06:30 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.04030 seconds
  • Memory Usage 1,740KB
  • 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_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
  • (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